STK Push Collections

List all STK collections

GET
/api/sandbox/v1/stk/all

Fetch every STK collection belonging to your organisation.

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/stk/all"
{  "status": 200,  "message": "Success",  "data": [    {      "id": 1,      "uuid": "43d23a1d-0476-4d49-a6eb-0a402c50d968",      "merchantRequestId": "29115-34620561-1",      "checkoutRequestId": "ws_CO_191220191020363925",      "phoneNumber": "0745362174",      "description": "Here is the description",      "organisation": {        "id": 2,        "uuid": "4d6e1ea9-5ab8-496a-978f-7e9b2bce80c4",        "name": "Maina Properties Limited Ke",        "phoneNumber": "254745362174",        "email": "maina@gmail.com",        "uniqueReference": "4780606",        "createdAt": "2025-01-24T13:35:12.151225",        "updatedAt": "2025-01-24T13:35:12.151225"      },      "amount": 10,      "status": "PENDING",      "accountReference": "Here is the reference",      "responseCode": 0,      "responseDescription": "Success. Request accepted for processing",      "customerMessage": "Success. Request accepted for processing",      "callbackUrl": "https://kiotapay.co.ke",      "createdAt": "2025-01-27T11:05:17.867373",      "updatedAt": "2025-01-30T11:00:00.633493"    }  ]}