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

Create checkout account

POST
/api/v1/checkout/create-account

Creates a temporary virtual account for the checkout, named - CHECKOUT. The payer transfers the amount to it. The checkout must have been initiated within the last 30 minutes.

This is a payer facing endpoint used by the hosted checkout page. It needs no token.

Auth: Bearer token

Errors

codeHTTPmessagewhen
26400Invalid payment referenceNo checkout with that reference in the last 30 minutes.
21400Validity must be between 10 and 30 minutes.validity out of range.
21400Unable to provision virtual account with the provider, please try againTemporary provider 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/create-account' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "paymentReference": "ORDER-2026-1122-0001",
    "amount": 2500,
    "validity": 30
}'
Response Response Example
200 - Success
{
    "isSuccessful": true,
    "code": "00",
    "message": "Operation successful",
    "data": {
        "accountNumber": "9901234567",
        "accountName": "ACME LTD - CHECKOUT",
        "bank": "Digitvant MFB",
        "expiryDate": "2026-11-22T12:35:12.4"
    }
}
Modified at 2026-11-22 22:40:36
Previous
Query access code
Next
Complete checkout
Built with