Skip to content

List a settlement's payments​

GET
/v2/payments/collect/settlements/{id}/payments

Requires COLLECTIONS_READ, granted by PAYMENTS_READ or COLLECTIONS_WRITE (bundles)

Returns the payments a settlement paid out, newest first. The settlement must belong to your business.

Parameters​

Path Parameters

id*

Settlement ID.

Type
string
Required
Example"c4e8a2f6-7b1d-4e3a-8c5f-9d0b1a2c3e4f"
Pattern
"^[A-Za-z0-9._-]{1,64}$"

Query Parameters

limit

Maximum number of payments to return.

Type
integer
Example50
Default
50
offset

Number of payments to skip, for paging.

Type
integer
Example0
Default
0

Responses​

OK

application/json
JSON
{
"items": [
{
"id": "8d2f4b6a-1c3e-4f5a-9b7d-2e4c6a8b0d1f",
"depositId": "3f1c2a9e-8b4d-4c1e-9f2a-6d7e8b9c0a1b",
"status": "COMPLETED",
"mode": "SCHEDULED",
"type": "COLLECTION",
"inflowCurrency": "ZAR",
"inflowAmount": "1500.00",
"convertedCurrency": "USDC",
"convertedAmount": "82.45",
"outflowCurrency": "USDC",
"outflowAmount": "82.45",
"receivedAt": 1792660500000,
"settlementAt": 1792684950000,
"settlementStatus": "SETTLED",
"settlementRef": null,
"settlementId": "c4e8a2f6-7b1d-4e3a-8c5f-9d0b1a2c3e4f",
"linked": true,
"payerName": "Thandi Nkosi",
"reference": "VLR4F7K2Q9",
"timeline": null,
"payouts": null
}
],
"total": 23,
"limit": 1,
"offset": 0
}

Samples​

Errors

HTTPErrorWhen
400BAD_REQUESTA query parameter or field is invalid.
400-11INVALID_REQUESTThe settlement ID is longer than 64 characters, contains characters other than letters, digits, ., _ and -, or is only dots.
403-16098PAYMENTS_USER_ACCESS_NOT_CONFIGUREDPayments haven't been set up for your business yet.
404NOT_FOUNDNo settlement with this ID exists in your business.
500INTERNAL_ERRORUnexpected error in the payments service.
502-16097EXCHANGE_API_ERRORThe payments service failed to process the request.
502EXCHANGE_API_ERRORThe payments service couldn't complete the request. Try again later.
503-16099PAYMENTS_BACKEND_PROXY_DISABLEDPayments endpoints are temporarily unavailable.

Plus the errors common to all signed endpoints.