List collections
GET
/business/collectionsGet recent collections across all countries for reconciliation, history, support or dashboards. For one collection, use Collection status.
Query parameters
limitnumberoptionalMaximum 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:
| Field | Meaning |
|---|---|
id | Collection ID. Use it with Collection status. |
amount, currency | What the customer was asked to pay. |
mobile | Customer’s number. |
provider | Customer’s mobile network. |
reference | Your reference from the create request. |
status, statusMessage | Current status and a short reason. |
mnoPaymentReference | Network receipt number. Missing or null until the customer pays. |
createdAt, updatedAt | When the collection was created and last changed (UTC). |