Skip to contentSkip to Content
API ReferenceCollectionsGETList collections

List collections

GET/business/collections

Get recent collections across all countries for reconciliation, history, support or dashboards. For one collection, use Collection status.

Query parameters

limitnumberoptional

Maximum number of items to return, e.g. 20.

cURL
curl "https://api.test.wakapay.io/business/collections?limit=20" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
200OK
{ "items": [ { "id": "019abc...", "amount": 1000, "currency": "TZS", "mobile": "+2557XXXXXXXX", "provider": "airtel", "reference": "INV-1001", "status": "collection_success", "statusMessage": "Success", "mnoPaymentReference": "AIRTEL123456", "createdAt": "2024-08-08T07:53:06Z", "updatedAt": "2024-08-08T07:54:12Z" }, { "id": "019def...", "amount": 5000, "currency": "TZS", "mobile": "+2557XXXXXXXX", "provider": "mno_provider", "reference": "INV-1002", "status": "cancelled", "statusMessage": "Collection expired", "createdAt": "2024-08-08T08:10:22Z", "updatedAt": "2024-08-08T08:15:30Z" } ] }

Response fields

items is a list of collections. Each item has these fields:

FieldMeaning
idCollection ID. Use it with Collection status.
amount, currencyWhat the customer was asked to pay.
mobileCustomer’s number.
providerCustomer’s mobile network.
referenceYour reference from the create request.
status, statusMessageCurrent status and a short reason.
mnoPaymentReferenceNetwork receipt number. Missing or null until the customer pays.
createdAt, updatedAtWhen the collection was created and last changed (UTC).