Creating a Virtual Account
Create a virtual account for a customer you already have, by our customer id or your own:Account Creation Parameters
Required Fields
- Customer -
customer_id: our customer id or your own (see Use your own customer ids). Or send your id ascustomer_reference. - Currency - The currency for the account:
NGNorUSD. USD customers need an address and identity documents on file, so create them with Create Customer first
Optional Fields
- Reference - Your own reference for this account (see One account per loan or order)
- ID number - For NGN accounts, the customer’s BVN in
id_number. In live it is required unless the customer already has a BVN on file, and it is verified before the account is opened - Bank - For NGN accounts,
nombankor leave it out (see The Bank below) - Codes - The older way to choose: an array of bank codes
The Bank (NGN Accounts)
NGN accounts open at Nombank MFB (bank_code 090645). Leave bank out: Nombank opens at most two accounts per BVN or NIN, and a customer already at that limit gets a Paga account (100002) in the same request. Send "bank": "nombank" to allow Nombank only (422 nomba_identity_limit at the limit). If Nombank can’t be reached the answer is 503 issuing_unavailable and nothing is recorded; retry.
Always show your customer the bank_name, account_number and account_name from the response.
PalmPay (100033) no longer issues new accounts, and Paga only for customers at Nombank’s limit. Accounts already opened there keep receiving payments; each is being given a Nombank replacement (see Replaced accounts).
Account Response
customer_id is our id for the customer; customer_reference is yours, when set. Each entry in accounts carries its id and, when you opened it with one, your reference. USD accounts also carry ach_routing_number, rtp_routing_number, wire_routing_number, swift_code and bank_address.
Use your own customer ids
You don’t have to create the customer first and store our id. Pass your own customer id ascustomer_id (or as customer_reference; send one of the two, not both). We look it up in your business: our id first, then a customer whose reference is that value.
If none of your customers has it yet, include the customer’s details and we create the customer, with your id as their reference:
- The customer is created exactly as Create Customer would create them. Repeating the request finds the same customer; it never makes a second one.
- A missing detail answers
422listing each missing field. - Without details, an id none of your customers has answers
400customer was not found, as before. - Your id is the customer, not their email, phone or BVN: a new id creates a new customer even when another of your customers has the same email. One person may be several of your customers (for example one per loan); keep one id per person where you can.
- If the customer’s BVN was verified and a later request sends a different
id_number, the answer is409customer_id_conflict: one id is one person. - Your ids are 1–64 characters of letters, digits and
_ . : -, unique within your business.
One account per loan or order
Addreference to open an account for one loan, order or contract. A customer can then hold several accounts, one per reference, and every payment into an account names its reference.
referenceis 1–64 characters of letters, digits and_ . : -, unique among your business’s accounts.- Repeating the request with the same reference, customer and currency returns the same account. Nothing new is opened.
- The same reference with a different customer or currency answers
400duplicate_reference. - While the first request for a reference is still opening the account, a repeat answers
409reference_in_progress. Retry shortly. - Some banks can open only one account per customer. If the customer already has an account at such a bank, the answer is
409account_limit_reached, anddata.accountslists the customer’s existing accounts there (id,account_number,account_name,bank_name,bank_code, andreferencewhen set). Nothing is opened. Use an existing account, or choose another bank withcodes. - Look an account up by your reference with
GET /v1/virtual-accounts/by-reference/{reference}.
reference nothing changes: a customer has one account per bank, and a second request for the same bank answers bank account is already added.
To collect one payment per order rather than keep an account open, see Collecting payments per order.
Account Details
Each virtual account includes complete bank account information:Account Information
- Account Number - The bank account number for receiving payments
- Account Name - Name associated with the account
- Bank Name - Name of the bank
- Bank Code - Bank identification code
Routing Information (USD Accounts)
- ACH Routing Number - For ACH transfers
- RTP Routing Number - For real-time payments
- Wire Routing Number - For wire transfers
International Transfers
- SWIFT Code - For international wire transfers
Account Types
Virtual accounts support different account types depending on the currency:- Current Account - Standard checking account
- Savings Account - Interest-bearing account
Multiple Accounts
Customers can have multiple virtual accounts in different currencies, and several in one currency when each has its ownreference (see One account per loan or order). Each account operates independently with its own account number and routing information.
Listing Accounts
View all virtual accounts:currency, and by customer with customer_id (our id or yours) or customer_reference.
Best Practices
- Create accounts in the currencies your customers need
- Store account details securely
- Share account information with customers securely
- Monitor account activity regularly
Next Steps
- Learn about Receiving Payments for payment collection
- Explore the Virtual Accounts API Reference for detailed documentation

