HubtelDevelopers
Callbacks & errors

Callback reference

The payload Hubtel POSTs to your callback URL for each product, the field that holds the final status, and the address each callback comes from.

Updated 26 Nov 2026

The examples below show each product’s payload independently; their IDs and amounts are not a single transaction. A dash in the address column means the source address is not published—confirm it with Hubtel before launch.

Hubtel POSTs a JSON body to the callback URL you set in the request. The table shows where the final status is and which address sends it. For how to handle callbacks safely, see Webhooks and callbacks.

ProductCallback URL fieldFinal statusComes from
Receive Money, Direct Debit chargesPrimaryCallbackUrlResponseCode: 0000 paid, 2001 failed18.202.122.131
Online CheckoutcallbackUrlResponseCode and Status108.129.40.25
Checkout SDKcallbackUrlResponseCode: 0000 paid, 2001 failed (Receive Money format)108.129.40.25
Send Money, Send to BankPrimaryCallbackURL (Send Money), PrimaryCallbackUrl (Send to Bank)ResponseCode: 0000 paid out18.202.122.131
Balance transferPrimaryCallbackUrlResponseCode: 0000 transferred—
RefundcallbackUrlresponseCode: 0000 refunded—
Direct Debit pre-approvalcallbackUrlPreapprovalStatus: APPROVED or FAILED18.202.122.131
InvoicingcallbackUrlStatus: Successful or Failed18.202.122.131
Recurring InvoicecallbackUrlResponseCode: 0000 paid, 2001 failed34.241.57.109
Commission servicesCallbackUrlResponseCode: 0000 delivered18.202.122.131
Programmable ServicesService Fulfilment URLOrderInfo.Status: Paid52.50.116.54, 18.202.122.131, 52.31.15.68

Receive Money

{
  "ResponseCode": "0000",
  "Message": "success",
  "Data": {
    "Amount": 0.8,
    "Charges": 0.05,
    "AmountAfterCharges": 0.8,
    "Description": "The Vodafone Cash payment has been approved and processed successfully",
    "ClientReference": "3jL2KlUy3vt21",
    "TransactionId": "09f84e20a283942e807128e8c21d08d6",
    "ExternalTransactionId": "2116938399",
    "AmountCharged": 0.85,
    "OrderId": "09f84e20a283942e807128e8c21d08d6",
    "PaymentDate": "2024-05-14T00:44:57.5142719Z"
  }
}

A failed payment has "ResponseCode": "2001" and "Message": "failed". Keep OrderId (or TransactionId): a refund needs it.

Online Checkout

{
  "ResponseCode": "0000",
  "Status": "Success",
  "Data": {
    "CheckoutId": "59e2fbbff4e443b98e09346881ac7e9a",
    "SalesInvoiceId": "e96ccfb4746045bba13f425bd573a31c",
    "ClientReference": "Kaks545253",
    "Status": "Success",
    "Amount": 0.5,
    "CustomerPhoneNumber": "233242825109",
    "PaymentDetails": { "MobileMoneyNumber": "233242825109", "PaymentType": "mobilemoney", "Channel": "mtn-gh" },
    "Description": "The MTN Mobile Money payment has been approved and processed successfully."
  }
}

Send Money and Send to Bank

{
  "ResponseCode": "0000",
  "Data": {
    "AmountDebited": 10.1,
    "TransactionId": "8a545e5c7357714b80b65f76",
    "ClientReference": "25335r45pch53544044",
    "Description": "The MTN Mobile Money payment has been approved and processed successfully.",
    "ExternalTransactionId": "6654233478",
    "Amount": 10,
    "Charges": 0.1,
    "Meta": null,
    "RecipientName": "John Doe"
  }
}

A payout your disbursement balance can't cover has "ResponseCode": "4075" and "Description": "Insufficient prepaid balance.".

Balance transfer

{
  "ResponseCode": "0000",
  "Message": "Success",
  "Data": { "ClientReference": "b03202ef49", "Description": "Hubtel Transfer Test", "Amount": 0.8, "Charges": null, "Meta": null, "RecipientName": "gershon" }
}

Refund

{
  "responseCode": "0000",
  "message": "Successful",
  "data": { "amount": 0.5, "charges": 0.01, "orderId": "a4e406711db74687bbd307ead23bd015", "externalTransactionId": "0000002673867446" }
}

Direct Debit pre-approval

{
  "CustomerMsisdn": "233200000000",
  "VerificationType": "USSD",
  "PreapprovalStatus": "APPROVED",
  "HubtelPreapprovalId": "5f20092321d54eefb974dbfea6de5c34",
  "ClientReferenceId": "3jL2KlUy3vt21debitC",
  "CreatedAt": "2022-11-14T21:08:16.7533466Z"
}

Invoicing

{
  "Status": "Successful",
  "ResponseCode": "0000",
  "Data": {
    "AmountPaid": 1,
    "InvoiceId": "pY3HfCTXZb",
    "ReceiptNumber": "748f4a9f0d664369899a74c820d95c21",
    "Description": "The MTN Mobile Money payment has been approved and processed successfully.",
    "PaymentMethod": "mobilemoney",
    "PaymentChannel": "mtn-gh",
    "PayeePhoneNumber": "233555654321",
    "PaymentDetailId": "f41ce50e-a966-4bf6-87b6-869065736f01"
  }
}

A failed invoice payment has "Status": "Failed".

Recurring Invoice

{
  "ResponseCode": "0000",
  "Message": "Success",
  "Data": {
    "OrderId": "1d0e06bc689c4de2bb87a54829a89640",
    "Description": "My recurring service",
    "RecurringInvoiceId": "8ae267e31af748d4934b0420be6f47f0",
    "TransactionId": "5814152092296267804084",
    "ClientReference": "8ae267e31af748d4934b0420be6f47f0",
    "ExternalTransactionId": "5814152092296267804084",
    "CustomerMobileNumber": "233246912184",
    "Amount": 0.2,
    "Charges": 0.01,
    "AmountAfterCharges": 0.19,
    "AmountCharged": 0.2,
    "InitialAmount": 0.2,
    "RecurringAmount": 0.1
  }
}

Each instalment sends its own callback. A failed instalment has "ResponseCode": "2001".

Commission services

{
  "ResponseCode": "0000",
  "Data": {
    "AmountDebited": 0.5,
    "TransactionId": "5b40e2e40fd4441d80b69b352f3103c7",
    "ClientReference": "TestDATA01013",
    "Description": "GHC 0.50 (data_bundle_1) has been sent to 233242825109 on January 24, 2024.",
    "ExternalTransactionId": "2024012416592042208544402",
    "Amount": 0.5,
    "Charges": 0,
    "Meta": { "Commission": "0.0198" },
    "RecipientName": null
  }
}

On this page