VantPay API Documentation
API Docs
API Docs
  1. Cards
  • 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
      POST
    • Store a card
      POST
    • List a customer’s cards
      GET
    • Look up a card
      POST
    • Search cards
      GET
    • Remove a card
      DELETE
    • Charge a stored card
      POST
    • List charges
      GET
    • Submit the OTP
      POST
    • Resend the OTP
      POST
  • Checkout
    • Initiate checkout
    • Query access code
    • Create checkout account
    • Complete checkout
    • Initiate card payment
    • Verify card OTP
    • Resend card OTP
    • Card payment status
    • Initiate USSD payment
    • Complete USSD payment
  • 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. Cards

Charge a stored card

POST
/api/v1/cards/transactions
Charges a stored card by its token or full number. transactionReference is your idempotency key.
What to do with status: Successful (200) nothing more, the collection is booked with channel CARD. OtpRequired (200) collect the OTP and call Submit the OTP. Pending (200) send the cardholder to authUrl if present, then poll Get a charge. Failed (400, code 70) declined and final; a new attempt needs a new reference.
Once a card is tokenized, cvv and pin can be omitted. Until then they are required (code 26 without them). Limits (code 65): ₦5,000,000 per charge; per card per day ₦10,000,000 and 50 charges.
Card number and expiry are encrypted; responses only carry the masked number. CVV, PIN and OTP are used once and never stored.
Auth: Bearer token
Errors
codeHTTPmessagewhen
26400Field messages, for example pan must be a valid card number of 12 to 19 digitsFix the request.
66404Card not foundUnknown token or PAN, or not yours.
67400Card is Removed / Card is Blocked / Card has expiredCard cannot be used.
68400This card is already linked to another customerPAN stored for another of your customers.
21400Card could not be stored, please try againTemporary issue. Retry.
65400Daily charge count for this card has been reached / amount exceeds the per transaction limitLimit reached.
70400The processor’s decline messageDeclined. Final.

Request

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

Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Success
Bodyapplication/json

🟠400BusinessError
🟠401Unauthorized
🟠403Forbidden
🟠409Conflict
🟠429TooManyRequests
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://merchantapi-dev.vantpay.io/api/v1/cards/transactions' \
--header 'X-Timestamp: {{timestamp}}' \
--header 'X-Signature-Version: 2' \
--header 'X-Signature: {{signature}}' \
--header 'Idempotency-Key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "cardToken": "3f9a1c2e7b4d4e8f9a0b1c2d3e4f5a6b",
    "amount": 2500,
    "cvv": "123",
    "pin": "1234",
    "transactionReference": "ORDER-2026-11-08-0001",
    "narration": "Monthly subscription"
}'
Response Response Example
200 - Success
{
    "isSuccessful": true,
    "code": "00",
    "message": "Operation successful",
    "data": {
        "transactionReference": "ORDER-2026-11-08-0001",
        "reference": "CT5A3B9C1D2E4F60718293",
        "cardToken": "3f9a1c2e7b4d4e8f9a0b1c2d3e4f5a6b",
        "maskedPan": "539983******1238",
        "customerId": "CUSdaa52de",
        "amount": 2500,
        "fee": 37.5,
        "status": "Successful",
        "requiresOtp": false,
        "message": "Approved",
        "providerStatusCode": "00",
        "narration": "Monthly subscription",
        "createdAt": "2026-11-08T10:20:01",
        "completedAt": "2026-11-08T10:20:03"
    }
}
Modified at 2026-11-22 22:39:08
Previous
Remove a card
Next
List charges
Built with