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 checkout

POST
/api/v1/checkout/initiate
Creates a checkout session for one payment and returns the accessCode and the hosted authorizationUrl. Redirect the payer there or embed it. It also registers the payer as your customer, keyed on email.
Access codes work for about one hour. A new initiate for the same email replaces the previous access code. You learn the outcome from the collection notification webhook, where paymentRef is this paymentReference.
Auth: Bearer token
Errors
codeHTTPmessagewhen
26400Email is requiredemail blank.
26400Amount must be greater than zeroamount zero or negative.
26400Invalid credentialsNo merchant credential for the token.
26400Partner not foundNo merchant register.

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
🟠401Unauthorized
🟠429TooManyRequests
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://merchantapi-dev.vantpay.io/api/v1/checkout/initiate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "jane@example.com",
    "phoneNumber": "08012345678",
    "firstName": "Jane",
    "lastName": "Doe",
    "amount": 2500,
    "paymentReference": "ORDER-2026-1122-0001",
    "channels": [
        "CARD",
        "BANK",
        "USSD"
    ]
}'
Response Response Example
200 - Success
{
    "isSuccessful": true,
    "code": "00",
    "message": "Operation successful",
    "data": {
        "paymentReference": "ORDER-2026-1122-0001",
        "authorizationUrl": "https://merchantportal-dev.vantpay.io/checkout/K7Q2ZP9X4M",
        "accessCode": "K7Q2ZP9X4M",
        "stage": "Initiated",
        "channels": [
            "CARD",
            "BANK",
            "USSD"
        ]
    }
}
Modified at 2026-11-22 22:40:05
Previous
Resend the OTP
Next
Query access code
Built with