Sentra
Payments

Get payments by recipient ID

Retrieves all payments for a specific recipient

GET
/payments/recipient/{recipientId}
X-API-KEY<token>

API key for authentication (prefix: sk_dev_ for development, sk_live_ for production)

In: header

Path Parameters

recipientIdstring

Recipient ID

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.sentra.xyz/api/v1/payments/recipient/497f6eca-6276-4993-bfeb-53cbbbba6f08"
[
  {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "idempotencyKey": "string",
    "type": "ON_RAMP",
    "status": "AWAITING_FUNDS",
    "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
    "bankAccountId": "5b26b598-a880-4e32-8c41-126aa0206857",
    "walletId": "0ecad4a2-3549-43fb-807e-9ff033247480",
    "transactionHash": "string",
    "fee": 0,
    "reason": "string",
    "documentReference": "string",
    "files": [
      "string"
    ],
    "sourceAccount": "string",
    "metadata": {},
    "createdAt": "2019-08-24T14:15:22Z",
    "sentAt": "2019-08-24T14:15:22Z",
    "completedAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "expiresAt": "2019-08-24T14:15:22Z"
  }
]
{
  "message": "Unauthorized",
  "statusCode": 401
}
{
  "message": "Resource not found",
  "statusCode": 404
}
{
  "message": "Internal server error",
  "statusCode": 500
}