Check the status of a transaction

Transaction status

Using the external reference of a transaction(alias account_no in the trigger api) the status of a transaction can be retrieved)

Method Endpoint


Header Description Value
Accept The Accept request HTTP header advertises which content types, expressed as MIME types, the client can understand. application/json
Apikey Unique API key obtained from your admin link Dfw3sdfx234F


Sample validation error response. HTTP:404

    "message": "Transaction with given reference not found"

Sample success response.

    "id": "025df6f0-5bdb---=-98c2-a139214e71c7",
    "amount": 1900,
    "msisdn": "254712345678",
    "sync_count": 0,
    "is_complete": 1,
    "sync_status": "failed",
    "link_id": "95458e10-==-11eb-885d-e7ab41fd03d8",
    "created_at": "2021-12-13T09:07:53.000000Z",
    "supporter_id": "f3105cb0-==-11eb-89d2-8b22bb5979e2",
    "external_reference": "61b6e33e4==c8",
    "mpesa_receipt": null