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

Register a customer

POST
/api/v1/cards/customers
Registers a customer for stored card payments. The email is the customer’s identity within your merchant: the same email returns the same customerId with created: false.
Add a card block to register the customer and store a first card in one call (same fields as Store a card). The card is validated first, so a bad card creates no customer.
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.

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/customers' \
--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-raw '{
    "email": "jane@example.com",
    "firstName": "Jane",
    "lastName": "Doe",
    "phoneNumber": "08012345678"
}'
Response Response Example
200 - Success
{
    "isSuccessful": true,
    "code": "00",
    "message": "Operation successful",
    "data": {
        "customerId": "CUSdaa52de",
        "email": "jane@example.com",
        "firstName": "Jane",
        "lastName": "Doe",
        "phoneNumber": "08012345678",
        "createdAt": "2026-11-08T10:12:05",
        "created": true
    }
}
Modified at 2026-11-22 22:38:06
Previous
Get customer wallet balance
Next
Store a card
Built with