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

Store a card

POST
/api/v1/cards
Saves a card against a registered customer and returns a cardToken. Adding the same PAN again for the same customer returns the existing card (created: false) and reactivates it if removed.
A card stored without verify is not tokenized, so its first charge needs the cardholder’s cvv and pin. To allow future debits without the cardholder, send verify while they are present: a verification charge runs (default 50 naira) and tokenized becomes true. Follow verification.status exactly as for a charge.
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 (machine token from client credentials) | request signature required | rate limit: default | Idempotency-Key: recommended on writes
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.

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' \
--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 '{
    "customerId": "CUSdaa52de",
    "pan": "5399 8300 0000 1238",
    "expiryDate": "12/29",
    "cardholderName": "Jane Doe"
}'
Response Response Example
200 - Success
{
    "isSuccessful": true,
    "code": "00",
    "message": "Operation successful",
    "data": {
        "cardToken": "3f9a1c2e7b4d4e8f9a0b1c2d3e4f5a6b",
        "customerId": "CUSdaa52de",
        "maskedPan": "539983******1238",
        "bin": "539983",
        "last4": "1238",
        "brand": "Mastercard",
        "expiryMonth": 12,
        "expiryYear": 2029,
        "cardholderName": "Jane Doe",
        "status": "Active",
        "createdAt": "2026-11-08T10:15:42",
        "lastUsedAt": null,
        "tokenized": false,
        "tokenizedAt": null,
        "created": true
    }
}
Modified at 2026-11-22 22:28:10
Previous
Register a customer
Next
List a customer’s cards
Built with