VantPay API Documentation
API Docs
API Docs
  1. Virtual Account
  • 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. Virtual Account

Create dynamic virtual account

POST
/api/v1/virtual-accounts/create/dynamic
Creates a temporary account for a single payment. It accepts credits until expiryDate, set by validityMinutes (10 to 30, default 10). Pass your own paymentReference; it comes back as paymentRef on the collection notification so you can match the payment to your order.
Auth: Bearer token
Errors
codeHTTPmessagewhen
26400Required fields are missingfirstName or lastName blank.
26400Invalid amountamount below 0.
26400Validity must be between 10 and 30 minutes.validityMinutes out of range.
26400Invalid prefixMerchant has no ACTIVE register.
21400Unable to provision virtual account with the provider, please try againProvider returned no number.
409Idempotency conflictIdempotency-Key reused with a different body.

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
🟠409Conflict
🟠429TooManyRequests
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://merchantapi-dev.vantpay.io/api/v1/virtual-accounts/create/dynamic' \
--header 'Idempotency-Key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "firstName": "Chidi",
    "lastName": "Okafor",
    "phoneNumber": "08031234567",
    "paymentReference": "INV-2026-000912",
    "amount": 15000,
    "validityMinutes": 20
}'
Response Response Example
200 - Success
{
    "isSuccessful": true,
    "code": "00",
    "message": "Operation successful",
    "data": {
        "accountNumber": "9901234567",
        "accountName": "ACME/CHIDI OKAFOR",
        "bank": "Digitvant MFB",
        "expiryDate": "2026-11-22T12:35:12"
    }
}
Modified at 2026-11-22 22:44:35
Previous
Create static virtual account
Next
List static virtual accounts
Built with