STK Push Collections

Get a single STK collection

GET
/api/sandbox/v1/stk/single

Fetch the full record for one STK collection, including the operator correlation IDs you need when raising a support ticket.

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/single?requestId=cd3e5b37-8f23-465e-a720-b2a78f2b62c1"
{  "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"  }}