HubtelDevelopers

Report service fulfilment

POST
/callback

Tells Hubtel whether your programmable service delivered what the customer paid for in a USSD session. Report whether fulfilment succeeded or failed so the payment can be settled or reversed.

Authorization

basicAuth
AuthorizationBasic <token>

Base64 of API ID:API Key.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/callback" \  -H "Content-Type: application/json" \  -d '{    "SessionId": "3c796dac28174f739de4262d08409c51",    "OrderId": "ac3307bcca7445618071e6b0e41b50b5",    "ServiceStatus": "success",    "MetaData": null  }'
{}