Bank Collections

List all bank collections

GET
/api/sandbox/v1/bank/collection/all

Fetch every payment received into your organisation's bank account.

Note: the sample response in the previous documentation showed a single object rather than an array for this endpoint, which contradicts the endpoint's own name. It is modelled here as an array; confirm against your environment.

Authorization

bearerAuth
AuthorizationBearer <token>

The access_token returned by POST /api/v1/get-token.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/api/sandbox/v1/bank/collection/all"
{  "status": 200,  "message": "OK",  "data": [    {      "id": 2,      "uuid": "e66790a6-779c-4f00-97f3-d4e27be1ded5",      "customerid": "69183",      "transactionref": "SQ98L42422B",      "paymentmode": "PESALINK",      "transactiondate": "2025-05-08",      "accountnumber": "00304636976350",      "amount": "10000",      "description": "Payment narration",      "organisation": {        "uuid": "71b22afc-4d17-4d8b-8c6a-0534aa537aba",        "name": "Staging",        "phoneNumber": "254709036217",        "environment": "sandbox",        "collectionCallbackUrl": null,        "parentOrganisation": null,        "parent": false      },      "createdAt": "2025-05-08T00:07:40.894988",      "updatedAt": "2025-05-08T00:07:40.894988"    }  ]}