STK Push Collections

Get STK collection status

GET
/api/sandbox/v1/stk/status

Retrieve just the current status of an STK collection. Useful when you cannot receive callbacks; prefer the callback for production reconciliation.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Query Parameters

requestId*string

The unique ID of the transaction, returned when it was created.

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/sandbox/v1/stk/status?requestId=cd3e5b37-8f23-465e-a720-b2a78f2b62c1"
{  "status": 200,  "message": "Success",  "data": {    "requestId": "43d23a1d-0476-4d49-a6eb-0a402c50d968",    "status": "PENDING",    "amount": 10,    "phoneNumber": "0745362174"  }}