# Documentation - [Hubtel developer documentation](/docs): Guides, API reference and tools for integrating Hubtel payments, payouts, messaging and verification. - **Get started** - [Authentication and accounts](/docs/get-started/keys): Authenticate with HTTP Basic authentication, and find the credentials, account numbers and base URL each Hubtel API uses. - [Requests and responses](/docs/conventions): Client references, amounts and fees, phone numbers, channel codes, field casing, asynchronous results and rate limits across the Hubtel APIs. - [Build a complete payment integration](/docs/get-started/first-payment): Collect a mobile money payment with Direct Receive Money, handle the callback, deal with failed payments and reconcile payments whose callback doesn't arrive. - [IP allowlisting and networking](/docs/networking): Get your server IPs allowlisted (whitelisted) for Hubtel services that require it, and give serverless apps a static outbound IP address. - [Go live](/docs/get-started/go-live): What to complete before your first live request: your business on Hubtel, protection against unsolicited prompts, a sender ID, allowlisted server IPs and production credentials. - **Payment APIs** - [Payment APIs](/docs/api-documentation/payment-apis): Accept payments, send money, invoice customers and more. - [Online Checkout](/docs/api-documentation/payment-apis/online-checkout): Accept online payments with Hubtel Online Checkout. - [Checkout SDK](/docs/api-documentation/payment-apis/checkout-sdk): Integrate the Hubtel Checkout SDK in mobile apps. - [Direct Receive Money](/docs/api-documentation/payment-apis/direct-receive-money): Receive mobile money into your Hubtel merchant account. - [Direct Send Money](/docs/api-documentation/payment-apis/direct-send-money): Send money to mobile money wallets. - [Direct Send-To-Bank](/docs/api-documentation/payment-apis/direct-send-to-bank): Transfer money to banks on the GhIPSS network. - [Direct Debit Money](/docs/api-documentation/payment-apis/direct-debit-money): Debit a customer mobile money wallet with consent. - [Recurring Invoice](/docs/api-documentation/payment-apis/recurring-invoice): Set up recurring mobile money and card payments. - [Commission Services](/docs/api-documentation/payment-apis/commission-services): Sell airtime, data and bill payment services. - [Invoicing](/docs/api-documentation/payment-apis/invoicing): Create invoices for one-time and installment payments. - **Complementary APIs** - [Complementary APIs](/docs/api-documentation/complementary-apis): Verification, refunds, and balance transfers. - [Verification](/docs/api-documentation/complementary-apis/verification): Verify customer identity and KYC details. - [Refund API](/docs/api-documentation/complementary-apis/refund-api): Issue refunds for prior purchases. - [Balance Query & Transfers](/docs/api-documentation/complementary-apis/balance-query-transfers): Query balances and transfer between accounts. - **Notification APIs** - [Notification APIs](/docs/api-documentation/notification-apis): Send SMS from your business applications. - [SMS](/docs/api-documentation/notification-apis/sms): Send SMS from your Hubtel business account. - **Lending APIs** - [Lending APIs](/docs/api-documentation/lending-apis): Credit reports and lending payment flows. - [Consumer Credit Score Check](/docs/api-documentation/lending-apis/credit-score-check): Check a consumer credit score. - [Consumer Identity Report](/docs/api-documentation/lending-apis/consumer-identity-report): Retrieve a consumer identity report. - [Consumer Profile Detail](/docs/api-documentation/lending-apis/consumer-profile-detail): Fetch consumer profile details. - [Consumer Compact Report](/docs/api-documentation/lending-apis/consumer-compact-report): Fetch a compact consumer report. - [Repayment History](/docs/api-documentation/lending-apis/repayment-history): Look up consumer repayment history. - [Direct Debit Money](/docs/api-documentation/lending-apis/direct-debit-money): Lending Direct Debit Money — same contract as Payment APIs. - [Direct Receive Money](/docs/api-documentation/lending-apis/direct-receive-money): Lending Direct Receive Money — same contract as Payment APIs. - [Direct Send Money](/docs/api-documentation/lending-apis/direct-send-money): Lending Direct Send Money — same contract as Payment APIs. - [Recurring Invoice](/docs/api-documentation/lending-apis/recurring-invoice): Lending Recurring Invoice — same contract as Payment APIs. - [SMS](/docs/api-documentation/lending-apis/sms): Lending SMS — same contract as Notification APIs. - **Programmable Services** - [Programmable Services](/docs/api-documentation/programmable-services): USSD and manage programmable services. - [API Documentation](/docs/api-documentation/programmable-services/ussd-documentation): Programmable services and USSD integration. - [Manage Services](/docs/api-documentation/programmable-services/manage-services): Add, view and edit programmable services. - **Callbacks & errors** - [Webhooks and callbacks](/docs/webhooks): Receive the final result of payments, payouts and other asynchronous requests, secure your callback endpoint, and handle late, repeated or missing callbacks. - [Callback reference](/docs/callbacks): 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. - [Errors](/docs/errors): HTTP status codes and Hubtel response codes, with fixes for a wrong account number, a reused client reference, too many requests and a server IP that isn't allowlisted. - **Developer tools** - [Sandbox](/dashboard/keys) - [Use Postman and other API clients](/docs/tools/postman): Import the Hubtel sandbox collection, set credentials and account numbers, and send a test request. - [OpenAPI specs](/docs/tools/openapi): Download the OpenAPI definitions behind this reference, for code generation, contract testing or your AI tools. - [Build with AI](/docs/ai): Give your AI coding agent Hubtel's docs, API schemas and sandbox tools, with guidance on callbacks, reconciliation and avoiding duplicate fulfilment. - API reference - [API reference](/docs/api): Hubtel v1 APIs grouped by purpose, with each operation's host, request and response. - v1 API - **Collections** - Direct Debit - [Direct Debit](/docs/api/v1/direct-debit): Get a customer's approval for direct debits on their wallet, check it, and cancel or reactivate it. Charges go through Receive Money. - [Cancel a pre-approval](/docs/api/v1/direct-debit/cancel-preapproval): Stops future debits for a customer's wallet. Do this when a loan is repaid or a subscription ends, so the customer isn't charged again. - [Get a pre-approval's status](/docs/api/v1/direct-debit/get-preapproval-status): Returns whether a customer's direct debit pre-approval is pending, approved, failed or expired. Use it when a preapproval callback hasn't arrived, before retrying with a new reference. - [Start a direct debit pre-approval](/docs/api/v1/direct-debit/initiate-preapproval): Asks a customer to approve future debits from their wallet by USSD. The response is pending (`2000`); the final result is POSTed to `callbackUrl` after the customer responds on the Virtual Phone or the request expires. Use the same test numbers as Receive Money. After approval you can charge them with Receive Money using a direct-debit channel. - [Reactivate a pre-approval](/docs/api/v1/direct-debit/reactivate-preapproval): Restores a cancelled or expired pre-approval, asking the customer to confirm again. Use it when a customer resumes a subscription or takes a new loan. - [Confirm a pre-approval with an OTP](/docs/api/v1/direct-debit/verify-preapproval-otp): Completes a pre-approval started with the OTP flow, using the code the customer received. On success the customer's wallet can be debited without further prompts. - Direct Receive Money - [Direct Receive Money](/docs/api/v1/receive-money): Charge a customer's mobile money wallet from your server. The customer approves on their phone. - [Charge a mobile money wallet](/docs/api/v1/receive-money/receive-mobile-money): Sends a payment prompt to the customer's phone. The response is `0001` (pending) while the customer decides. The final result is POSTed to `PrimaryCallbackUrl`, after the customer responds or the request expires. If no callback arrives within 5 minutes, call **Check a collection's status**. Prevent unsolicited prompts by charging only registered customers whose number cannot change at payment time, or verify unregistered numbers with an OTP first. - Invoicing - [Invoicing](/docs/api/v1/invoicing): Send itemised invoices by SMS and email with a payment link, and check an invoice's status. - [Send an invoice](/docs/api/v1/invoicing/create-invoice): Creates an itemised invoice with optional discounts, fees and taxes and sends it by SMS and email with a payment link. Hubtel sends a callback when the invoice is paid. - [Send a repeating invoice](/docs/api/v1/invoicing/create-repeat-invoice): Creates an invoice that is re-issued on a schedule, optionally debited automatically. Use it for rent, fees or memberships billed the same way each period. - [Get an invoice's status](/docs/api/v1/invoicing/get-invoice-status): Returns whether an invoice is paid or unpaid and the payment details. Use it to reconcile if the invoice callback didn't arrive. - Online Checkout - [Online Checkout](/docs/api/v1/online-checkout): Create a Hubtel-hosted checkout page where your customer pays by mobile money, card or Hubtel wallet. - [Create a checkout](/docs/api/v1/online-checkout/initiate-checkout): Creates a hosted checkout and returns a `checkoutUrl` to redirect your customer to, plus a `checkoutDirectUrl` for embedding. The customer chooses mobile money, card or Hubtel wallet on Hubtel's page. The final result arrives at `callbackUrl`; never fulfil an order from the `returnUrl` redirect alone. - Recurring Invoice - [Recurring Invoice](/docs/api/v1/recurring-invoice): Create, verify and cancel invoices that debit a customer's mobile money wallet on a schedule. - [Cancel a recurring invoice](/docs/api/v1/recurring-invoice/cancel-recurring-invoice): Stops a recurring invoice so no further instalments are collected. A cancellation callback (`0005`) is POSTed to the invoice's `callbackUrl`. Instalments already collected are not refunded; use Refunds for that. - [Create a recurring invoice](/docs/api/v1/recurring-invoice/create-recurring-invoice): Starts a recurring mobile-money invoice. The response is pending (`0001`) with a `requestId` and `otpPrefix`; the OTP lands on the Virtual Phone. After **Verify a recurring invoice** and the customer approves the prompt, the initial debit result is POSTed to `callbackUrl`. Use the same test numbers as Receive Money. - [Verify a recurring invoice](/docs/api/v1/recurring-invoice/verify-recurring-invoice): Completes setup with the OTP from create (`otpPrefix-0000` in the sandbox). Hubtel then prompts the customer; the initial debit callback arrives at the `callbackUrl` from create after they respond or the request expires. - **Status & refunds** - Refunds - [Refunds](/docs/api/v1/refunds): Refund a completed mobile money payment within 45 days. - [Refund a payment](/docs/api/v1/refunds/refund-transaction): Refunds a completed mobile money payment in full, within 45 days. The refund is processed asynchronously and the result is POSTed to `callbackUrl`. - Transaction Status - [Transaction Status](/docs/api/v1/transaction-status): Check the current status of a collection and reconcile payments with missing callbacks. - [Check a collection's status](/docs/api/v1/transaction-status/get-transaction-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`. - **Payouts** - Balance & Transfers - [Balance & Transfers](/docs/api/v1/balance-transfers): Check your collection and disbursement balances and move money between them. - [Get your collection balance](/docs/api/v1/balance-transfers/get-collection-balance): Returns the available balance of your collection (POS sales) account, which holds customer payments before settlement or transfer to your disbursement account. - [Get your disbursement balance](/docs/api/v1/balance-transfers/get-disbursement-balance): Returns the available balance of your disbursement (prepaid) account, which funds payouts. - [Get a transfer's status](/docs/api/v1/balance-transfers/get-transfer-status): Returns the status of a balance transfer by `clientReference`. Use it when a transfer callback hasn't arrived, before retrying with a new reference. - [Move money between your accounts](/docs/api/v1/balance-transfers/transfer-balance): Transfers funds from your collection account to your disbursement account so you can pay out. The result arrives at your callback URL. If the callback does not arrive, use **Get a transfer's status**. - Direct Send Money - [Direct Send Money](/docs/api/v1/send-money): Pay out from your disbursement account to a mobile money wallet, and check a payout's status. - [Check a payout's status](/docs/api/v1/send-money/get-payout-status): Returns the current status of a mobile money or bank payout by `clientReference`. Use it when no final callback has arrived within 5 minutes. - [Pay out to a mobile money wallet](/docs/api/v1/send-money/send-mobile-money): Sends money from your disbursement account to a mobile money wallet. The response is pending; the final result is POSTed to `PrimaryCallbackUrl`. Your disbursement balance must cover the amount plus fees. If no callback arrives within 5 minutes, call **Check a payout's status**. - Send to Bank - [Send to Bank](/docs/api/v1/send-to-bank): Pay out from your disbursement account to a Ghanaian bank account. - [Pay out to a bank account](/docs/api/v1/send-to-bank/send-to-bank): Sends money from your disbursement account to a Ghanaian bank account identified by `bankCode` in the path. Verify the account name first with **Look up a bank account name**. The final result is POSTed to `PrimaryCallbackUrl`. - **Verification** - Verification - [Verification](/docs/api/v1/verification): Look up the registered name on a phone number, wallet or bank account, and validate Ghana Card and Voter ID numbers. - [Look up a phone number's registered name](/docs/api/v1/verification/look-up-msisdn-name): Returns the name a Ghanaian phone number is registered to, through the commission services host. Use the returned name to confirm the recipient before submitting a top-up. - [Look up a bank account name](/docs/api/v1/verification/verify-bank-account): Returns the account holder's name for a bank code and account number. Compare it with the name your customer gave you before paying out. - [Validate a Ghana Card](/docs/api/v1/verification/verify-ghana-card): Checks a Ghana Card number with the National Identification Authority and returns the holder's details when it matches. Use it to onboard customers for regulated products such as loans. - [Verify an ID with customer consent](/docs/api/v1/verification/verify-id-with-consent): Verifies a Ghana Card or Voter ID through the mobile network (MTN) with the customer's consent by USSD. The customer approves sharing their details on their phone before the result is returned. - [Look up a wallet's registered name](/docs/api/v1/verification/verify-mobile-money-wallet): Returns whether a number is a registered mobile money wallet and the name it is registered to. Use it to confirm a recipient before a payout, or to reduce payment prompts to wrong numbers. - [Validate a Voter ID](/docs/api/v1/verification/verify-voter-id): Checks a Voter ID card number and returns the holder's details when it matches. Use it when your verification process requires Voter ID details. - **Messaging** - SMS - [SMS](/docs/api/v1/sms): Send individual, batch and personalised SMS messages, and track delivery. - [Get a batch](/docs/api/v1/sms/get-message-batch): Returns the delivery status of every message in a batch. Use callback delivery updates to reduce repeated status requests. - [Get a message](/docs/api/v1/sms/get-message): Returns a message's delivery status: `delivered`, `undelivered`, `rejected` or `expired`. - [Send the same SMS to many recipients](/docs/api/v1/sms/send-sms-batch): Sends one message to a list of recipients and returns a `batchId` plus a `messageId` per recipient. - [Send a different SMS to each recipient](/docs/api/v1/sms/send-sms-personalized): Sends a different message to each recipient in one request, for example with each customer's name or balance. Returns a `batchId` and a `messageId` per recipient for delivery tracking. - [Send an SMS with a GET request](/docs/api/v1/sms/send-sms-quick): Sends one SMS with credentials and content in the query string. Prefer **Send an SMS** (POST): query strings may be recorded in server logs and expose your client secret. - [Send an SMS](/docs/api/v1/sms/send-sms): Sends one SMS from an approved sender ID. The response includes a `messageId`; delivery is reported to your callback and via **Get a message**. Sender IDs are approved per business; in test mode any sender ID works. - **Commission services** - Commission Services - [Commission Services](/docs/api/v1/commission-services): Sell airtime, data bundles, TV subscriptions and utility top-ups, and earn commission. - [Top up AirtelTigo airtime](/docs/api/v1/commission-services/airtel-tigo-airtime-top-up): Tops up AirtelTigo airtime from your disbursement (prepaid) balance. The response is pending (`0001`); the final result is POSTed to `CallbackUrl`. Destination test numbers follow Send Money payout scenarios (e.g. `233240000101` succeeds). Maximum amount is 100 cedis. - [Buy AirtelTigo data bundle](/docs/api/v1/commission-services/buy-airtel-tigo-data-bundle): Pays for AirtelTigo data bundles from your prepaid balance; look up a phone number first with the matching query. The response is pending and the final result arrives at your callback URL. Use a unique ClientReference to identify the transaction. Check its status before retrying an uncertain payment. You earn commission on each successful sale. - [Buy MTN data bundle](/docs/api/v1/commission-services/buy-mtn-data-bundle): Pays for MTN data bundles from your prepaid balance; look up a phone number first with the matching query. The response is pending and the final result arrives at your callback URL. Use a unique ClientReference to identify the transaction. Check its status before retrying an uncertain payment. You earn commission on each successful sale. - [Buy Telecel broadband](/docs/api/v1/commission-services/buy-telecel-broadband-bundle): Pays for Telecel broadband from your prepaid balance; look up a phone number first with the matching query. The response is pending and the final result arrives at your callback URL. Use a unique ClientReference to identify the transaction. Check its status before retrying an uncertain payment. You earn commission on each successful sale. - [Buy Telecel data bundle](/docs/api/v1/commission-services/buy-telecel-data-bundle): Pays for Telecel data bundles from your prepaid balance; look up a phone number first with the matching query. The response is pending and the final result arrives at your callback URL. Use a unique ClientReference to identify the transaction. Check its status before retrying an uncertain payment. You earn commission on each successful sale. - [List AirtelTigo data bundles](/docs/api/v1/commission-services/list-airtel-tigo-data-bundles): Returns the available AirtelTigo data bundles for a phone number, supplied in the destination field. Use the returned bundle values when submitting a payment. - [List MTN data bundles](/docs/api/v1/commission-services/list-mtn-data-bundles): Returns the available MTN data bundles for a phone number, supplied in the destination field. Use the returned bundle values when submitting a payment. - [List Telecel broadband](/docs/api/v1/commission-services/list-telecel-broadband-bundles): Returns the available Telecel broadband for a phone number, supplied in the destination field. Use the returned bundle values when submitting a payment. - [List Telecel data bundles](/docs/api/v1/commission-services/list-telecel-data-bundles): Returns the available Telecel data bundles for a phone number, supplied in the destination field. Use the returned bundle values when submitting a payment. - [Look up a DStv account](/docs/api/v1/commission-services/look-up-dstv-account): Confirms a smartcard or customer number exists for DStv and returns the account holder's name and details. Show the returned name so the customer can confirm the account before paying. - [Look up a ECG prepaid meter](/docs/api/v1/commission-services/look-up-ecg-meter): Confirms a meter number exists for ECG prepaid and returns the account holder's name and details. Show the returned name so the customer can confirm the account before paying. - [Look up a Ghana Water meter](/docs/api/v1/commission-services/look-up-ghana-water-meter): Confirms a meter number exists for Ghana Water and returns the account holder's name and details. Show the returned name so the customer can confirm the account before paying. - [Look up a GOtv account](/docs/api/v1/commission-services/look-up-gotv-account): Confirms a smartcard or customer number exists for GOtv and returns the account holder's name and details. Show the returned name so the customer can confirm the account before paying. - [Look up a StarTimes account](/docs/api/v1/commission-services/look-up-startimes-account): Confirms a smartcard or customer number exists for StarTimes and returns the account holder's name and details. Show the returned name so the customer can confirm the account before paying. - [Top up MTN airtime](/docs/api/v1/commission-services/mtn-airtime-top-up): Tops up MTN airtime from your disbursement (prepaid) balance. The response is pending (`0001`); the final result is POSTed to `CallbackUrl`. Destination test numbers follow Send Money payout scenarios (e.g. `233240000101` succeeds). Maximum amount is 100 cedis. - [Pay DStv](/docs/api/v1/commission-services/pay-dstv-bill): Pays for DStv from your prepaid balance; look up a smartcard or customer number first with the matching query. The response is pending and the final result arrives at your callback URL. Use a unique ClientReference to identify the transaction. Check its status before retrying an uncertain payment. You earn commission on each successful sale. - [Pay Ghana Water](/docs/api/v1/commission-services/pay-ghana-water-bill): Pays for Ghana Water from your prepaid balance; look up a meter number first with the matching query. The response is pending and the final result arrives at your callback URL. Use a unique ClientReference to identify the transaction. Check its status before retrying an uncertain payment. You earn commission on each successful sale. - [Pay GOtv](/docs/api/v1/commission-services/pay-gotv-bill): Pays for GOtv from your prepaid balance; look up a smartcard or customer number first with the matching query. The response is pending and the final result arrives at your callback URL. Use a unique ClientReference to identify the transaction. Check its status before retrying an uncertain payment. You earn commission on each successful sale. - [Pay StarTimes](/docs/api/v1/commission-services/pay-startimes-bill): Pays for StarTimes from your prepaid balance; look up a smartcard or customer number first with the matching query. The response is pending and the final result arrives at your callback URL. Use a unique ClientReference to identify the transaction. Check its status before retrying an uncertain payment. You earn commission on each successful sale. - [Top up Telecel airtime](/docs/api/v1/commission-services/telecel-airtime-top-up): Tops up Telecel airtime from your disbursement (prepaid) balance. The response is pending (`0001`); the final result is POSTed to `CallbackUrl`. Destination test numbers follow Send Money payout scenarios (e.g. `233240000101` succeeds). Maximum amount is 100 cedis. - [Pay ECG prepaid](/docs/api/v1/commission-services/top-up-ecg-meter): Pays for ECG prepaid from your prepaid balance; look up a meter number first with the matching query. The response is pending and the final result arrives at your callback URL. Use a unique ClientReference to identify the transaction. Check its status before retrying an uncertain payment. You earn commission on each successful sale. - **Programmable services** - Programmable Services - [Programmable Services](/docs/api/v1/programmable-services): Tell Hubtel you've delivered a paid Programmable Services order. - [Report service fulfilment](/docs/api/v1/programmable-services/report-service-fulfilment): 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. - **Lending** - Lending: credit data - [Lending: credit data](/docs/api/v1/lending): Retrieve credit scores, identity details, credit profiles and repayment history. - [Check a credit score](/docs/api/v1/lending/check-credit-score): Returns a consumer's credit score and a basic debt summary from the credit bureau. Requires a lending agreement and the customer's consent; operated by mycreditscore.com.gh. - [Get a consumer identity report](/docs/api/v1/lending/get-consumer-identity-report): Returns the identity details the credit bureau holds for a consumer, to support identity verification. Requires the customer's consent; operated by mycreditscore.com.gh. - [Get a consumer credit profile](/docs/api/v1/lending/get-consumer-profile): Returns a detailed credit profile: accounts, balances and payment behaviour. Requires customer consent; operated by mycreditscore.com.gh. - [Get a compact credit report](/docs/api/v1/lending/get-credit-profile-summary): Returns a summary of a consumer's credit profile. Requires consent; operated by mycreditscore.com.gh. - [Get repayment history](/docs/api/v1/lending/get-repayment-history): Returns a consumer's history of repaying credit, month by month. Requires customer consent; operated by mycreditscore.com.gh.