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 card payment

POST
/api/v1/checkout/card/initiate
Sends the card to the processor for the checkout amount. The response tells the page what to do next: OTP, 3D Secure redirect, or already approved.
This is a payer facing endpoint used by the hosted checkout page. It needs no token.
Auth: Bearer token
Errors
codeHTTPmessagewhen
26400Invalid access codeUnknown or expired access code.
26400Invalid payment referenceCheckout not found or out of time.
26400Unable to initiate card paymentProcessor declined or failed.

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/card/initiate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "accessCode": "K7Q2ZP9X4M",
    "paymentReference": "ORDER-2026-1122-0001",
    "pan": "5399830000001238",
    "expiryDate": "12/29",
    "cvv": "000",
    "pin": "0000",
    "amount": 2500,
    "description": "Order 0001"
}'
Response Response Example
200 - Success
{
    "isSuccessful": true,
    "code": "00",
    "message": "Operation successful",
    "data": {
        "amount": 2500,
        "invoiceRequestReference": "ORDER-2026-1122-0001",
        "action": "OTP",
        "status": "PENDING",
        "message": "Enter the OTP sent to your phone",
        "reference": "CLNX-7F3A9B",
        "threeDSecure": {
            "required": false,
            "type": null,
            "authUrl": null
        }
    }
}
Modified at 2026-11-22 22:41:06
Previous
Complete checkout
Next
Verify card OTP
Built with