HubtelDevelopers
API referenceTransaction Status

Check a collection's status

GET
/transactions/{accountNumber}/status

Returns the current status (Paid, Unpaid or Refunded) of a collection made through Checkout or Direct Receive Money. Use it when you have not received a final callback within 5 minutes, or to reconcile before fulfilling. Look up by clientReference, hubtelTransactionId or networkTransactionId.

Authorization

basicAuth
AuthorizationBasic <token>

Base64 of API ID:API Key.

In: header

Path Parameters

accountNumber*string

Your collection account number (POS sales), where customer payments land. Find it in your Hubtel merchant account under Programmable keys → Account ID. In the sandbox, use the collection account in Workbench.

Query Parameters

clientReference*string

The client reference of the transaction specified in the request payload.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/transactions/string/status?clientReference=inv0012"

{  "message": "Successful",  "responseCode": "0000",  "data": {    "date": "2024-04-25T21:45:48.4740964Z",    "status": "Paid",    "transactionId": "7fd01221faeb41469daec7b3561bddc5",    "externalTransactionId": "0000006824852622",    "paymentMethod": "mobilemoney",    "clientReference": "inv0012",    "currencyCode": null,    "amount": 0.1,    "charges": 0.02,    "amountAfterCharges": 0.08,    "isFulfilled": null  }}