VantPay API Documentation
API Docs
API Docs
  1. Checkout
  • Authentication
    • Authenticate
      POST
  • Virtual Account
    • Create static virtual account
      POST
    • Create dynamic virtual account
      POST
    • List static virtual accounts
      GET
    • List dynamic virtual accounts
      GET
    • Get account balance
      GET
  • Inward Transfers
    • Inward transaction query (TSQ)
      GET
    • List inward transactions
      GET
    • Collection notifications
      GET
  • Transactions
    • List transactions
      GET
  • Wallet
    • Get wallet balance
      GET
    • Account history
      GET
  • Customer Wallets
    • Withdraw to a bank account
      POST
    • Transfer between wallets
      POST
    • List customer wallets
      GET
    • List wallet transactions
      GET
    • Get customer wallet balance
      GET
  • Cards
    • Register a customer
    • Store a card
    • List a customer’s cards
    • Look up a card
    • Search cards
    • Remove a card
    • Charge a stored card
    • List charges
    • Submit the OTP
    • Resend the OTP
  • Checkout
    • Initiate checkout
      POST
    • Query access code
      GET
    • Create checkout account
      POST
    • Complete checkout
      POST
    • Initiate card payment
      POST
    • Verify card OTP
      POST
    • Resend card OTP
      POST
    • Card payment status
      GET
    • Initiate USSD payment
      POST
    • Complete USSD payment
      POST
  • Payouts
    • List banks
    • Name enquiry
    • Initiate a payout
    • Payout status
    • List payouts
  • Webhooks
    • Set notification URL
    • Collection notification
  • Schemas
    • AuthData
    • ApiResponseEnvelope
    • Envelope
    • ErrorEnvelope
    • StaticAccountData
    • AuthenticateResponse
    • CollectionNotification
    • DynamicAccountData
    • VirtualAccountStatic
    • StaticAccountListItem
    • Transaction
    • CreateStaticVirtualAccountResponse
    • VirtualAccountDynamic
    • PagedStaticAccounts
    • CreateDynamicVirtualAccountResponse
    • PagedTransactions
    • WalletBalanceData
    • VirtualAccountListItem
    • PagedVirtualAccountList
    • ListStaticVirtualAccountsResponse
    • PagedTransactionList
    • ListTransactionsResponse
    • WalletBalance
    • WalletBalanceResponse
    • SetNotificationUrlResponse
    • WebhookCollectionPayload
  1. Checkout

Initiate USSD payment

POST
/api/v1/checkout/ussd/initiate
Creates a USSD payment with the provider and returns the code the payer dials.
On success the checkout’s payment reference is replaced by the provider’s transactionId. Use data.transactionId as the paymentReference for Complete USSD payment, and expect that id, not your original reference, in the webhook.
This is a payer facing endpoint used by the hosted checkout page. It needs no token.
Auth: Bearer token
Errors
codeHTTPmessagewhen
26400Invalid BankCodebankCode longer than 10 characters.
26400Unable to initiate ussd paymentProvider failure.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Success
Bodyapplication/json

🟠400BusinessError
🟠429TooManyRequests
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://merchantapi-dev.vantpay.io/api/v1/checkout/ussd/initiate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "accessCode": "K7Q2ZP9X4M",
    "paymentReference": "ORDER-2026-1122-0001",
    "bankCode": "058",
    "amount": 2500
}'
Response Response Example
200 - Success
{
    "isSuccessful": true,
    "code": "00",
    "message": "Operation successful",
    "data": {
        "responseCode": "00",
        "responseMessage": "Successful",
        "reference": "CP-REF-001",
        "ussdString": "*737*000*1234#",
        "transactionId": "CP20261122110512345"
    }
}
Modified at 2026-11-22 22:42:08
Previous
Card payment status
Next
Complete USSD payment
Built with