Create a virtual account
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A unique identifier to track this operation. It must be between 12 and 255 characters in length.
12 - 255A unique identifier to prevent duplicate requests. It must be between 12 and 255 characters in length.
12 - 255An optional scenario key that can be used to simulate specific behaviors or test different scenarios within the API. Providing this header allows you to trigger predefined responses or alter data based on the key's value, which can be useful for testing, development, or demonstrating specific functionalities. The key should be a string of 1 to 1000 characters.
A custom identifier to track the transaction, This must be unique across all your transactions.
6 - 42^[a-zA-Z0-9\-]+$The customer id
"cus_J0PvwvJB2n"
The amount to be collected. Specify 0 for static accounts.
1000
ISO 4217 currency code.
NGN, GHS, EGP, KES "NGN"
The type of virtual account.
static, dynamic "static"
The expiry time of the virtual account.
60 <= x <= 31536000360
This allows you specify the name shown when the account is resolved.
"James Burgers"
This is the customer's Bank Verification Number.
^[1-9][0-9]{10}$"12345678912"
This is the customer's National Identity Number.
^[1-9][0-9]{10}$"12345678912"
This is the bank account the transfer will originate from. required for EGP and KES
"123456789"