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

Query access code

GET
/api/v1/checkout/query/{accessCode}
Loads the session behind an access code so the hosted page can show the amount, email and channels.
This is a payer facing endpoint used by the hosted checkout page. It needs no token.
Auth: Bearer token
Errors
codeHTTPmessagewhen
26400No record foundUnknown access code, or replaced by a newer initiate.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

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/query/' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "isSuccessful": true,
    "code": "00",
    "message": "Operation successful",
    "data": {
        "id": 4812,
        "partnerId": "ACME",
        "prefix": "9901",
        "email": "jane@example.com",
        "amount": 2500,
        "channels": [
            "CARD",
            "BANK",
            "USSD"
        ],
        "clientReference": "ORDER-2026-1122-0001",
        "accessCode": "K7Q2ZP9X4M",
        "createdDate": "2026-11-22T11:05:12.4"
    }
}
Modified at 2026-11-22 22:40:18
Previous
Initiate checkout
Next
Create checkout account
Built with