curl --request POST \
--url https://api.platnova.com/v1/virtual-accounts/create \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"customer_id": "CUST-10293",
"reference": "LOAN-2026-0042",
"currency": "NGN",
"id_number": "22212345678",
"customer_first_name": "Ada",
"customer_last_name": "Obi",
"customer_email": "[email protected]",
"customer_phone": "08030000000",
"customer_country_code": "NG",
"customer_gender": "female"
}
'{
"status": true,
"data": {
"customer_id": "6f1c2b9e-4a7d-4c3e-9b1a-2d5e8f7a6c01",
"reference": "",
"currency": "NGN",
"email": "[email protected]",
"first_name": "Ada",
"last_name": "Obi",
"created_on": "2026-11-03T10:15:00Z",
"amount_debited": 0,
"accounts": [
{
"id": "9b2f6a10-3c4d-4e5f-8a7b-1c2d3e4f5a6b",
"account_number": "0123456789",
"account_name": "Ada Obi",
"bank_name": "Example Bank",
"bank_code": "100033",
"reference": "LOAN-2026-0042"
}
],
"customer_reference": "CUST-10293"
},
"error": [],
"message": "operation was successful"
}Create Virtual Account
Open a virtual bank account for one of your customers.
Name the customer with customer_id or customer_reference (one of the two, not both). customer_id may be our customer id or your own id for the customer; customer_reference is your own id by its explicit name. If none of your customers has your id yet, send the customer’s details (customer_* fields) and the customer is created with your id as their reference. A customer that already exists needs no details.
Required for a new customer: customer_name (or customer_first_name + customer_last_name), customer_email, customer_phone, customer_country_code (defaults to NG for NGN) and customer_date_of_birth. The date of birth is not needed for NGN when you send id_number (BVN): it is taken from the BVN record. customer_gender is optional.
NGN: in live, id_number (BVN) is required unless the customer already has a BVN on file, and it is verified before the account is opened.
USD: set a default USD settlement wallet in your dashboard; any account fee is charged to it. The customer needs an address and identity documents on file, so create USD customers with Create Customer first: a customer created from customer_* fields has neither.
reference (optional) opens an account for one loan or order. A customer can hold one account per reference, and repeating the request returns the same account. Without reference, a customer has one account per bank.
Your customer id is the customer. Within your business a customer is identified by your customer_id, not by email, phone or BVN: a customer_id we don’t know yet creates a new customer even when another of your customers has the same email. Our customer id keeps working as before. reference is the idempotency key: the same reference answers the same account; a new one opens another account for the same customer.
curl --request POST \
--url https://api.platnova.com/v1/virtual-accounts/create \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"customer_id": "CUST-10293",
"reference": "LOAN-2026-0042",
"currency": "NGN",
"id_number": "22212345678",
"customer_first_name": "Ada",
"customer_last_name": "Obi",
"customer_email": "[email protected]",
"customer_phone": "08030000000",
"customer_country_code": "NG",
"customer_gender": "female"
}
'{
"status": true,
"data": {
"customer_id": "6f1c2b9e-4a7d-4c3e-9b1a-2d5e8f7a6c01",
"reference": "",
"currency": "NGN",
"email": "[email protected]",
"first_name": "Ada",
"last_name": "Obi",
"created_on": "2026-11-03T10:15:00Z",
"amount_debited": 0,
"accounts": [
{
"id": "9b2f6a10-3c4d-4e5f-8a7b-1c2d3e4f5a6b",
"account_number": "0123456789",
"account_name": "Ada Obi",
"bank_name": "Example Bank",
"bank_code": "100033",
"reference": "LOAN-2026-0042"
}
],
"customer_reference": "CUST-10293"
},
"error": [],
"message": "operation was successful"
}Overview
Open a bank account your customer can be paid into. Payments into it are credited to the customer and reported on theaccount.funded webhook.
You don’t have to create the customer first. Name them with your own customer id, send their details, and the customer and the account are opened in one request.
Naming the customer
Send one of these. Sending both answers400.
| Field | What it takes |
|---|---|
customer_id | Our customer id, or your own id for the customer |
customer_reference | Your own id for the customer |
reference is that value.
- Existing customer: no details are needed.
- New customer (no customer has your id yet): send the details below, and the customer is created with your id as their
reference. Repeating the request finds the same customer; it never creates a second one. - Unknown id and no details:
400customer was not found. An id in our customer-id format that isn’t one of your customers is never taken as your own id.
_ . : -, unique within your business.
Your customer id is the customer
Within your business, a customer is yourcustomer_id, not their email, phone or BVN. One person may be several of your customers (for example one per loan), and they may share an email, phone and BVN. A customer_id we don’t know yet always creates a new customer under it, even when another of your customers has the same email.
- Sending our customer id keeps working as before.
- One
customer_idis one person: if the customer’s BVN was verified and the request sends a differentid_number, the answer is409customer_id_conflictand nothing is opened. Use a newcustomer_idfor a different person. - For limits and monitoring we still count your customers who share a BVN as one person. That link is never shown in the API.
New customer details
| Field | Required |
|---|---|
customer_name, or customer_first_name + customer_last_name | Yes. customer_name is split at the first space |
customer_email | Yes |
customer_phone | Yes |
customer_country_code | Defaults to NG for NGN; required otherwise |
customer_date_of_birth | YYYY-MM-DD. Required, except for NGN when you send id_number (BVN): the date of birth is then taken from the BVN record |
customer_gender | No. male or female |
422 listing each missing field.
Currency
- NGN: in live,
id_number(the customer’s BVN) is required unless the customer already has a BVN on file. It is verified before the account is opened. See The bank. - USD: set a default USD settlement wallet in your dashboard settings; any account fee is charged to it and returned as
amount_debited. The customer needs an address and identity documents on file, so create USD customers with Create Customer first.
The bank (NGN)
NGN customer accounts open at Nombank MFB (bank_code 090645) or Rex Microfinance Bank (bank_code 090449), each a 10-digit NUBAN.
- Leave
bankout (recommended). The account opens at Nombank. Nombank opens it against the customer’s BVN or NIN, and holds at most two accounts per BVN or NIN, counted across every business we serve. When a customer is already at that limit, the account opens at the next bank we offer your business, in the same request: Rex Microfinance Bank, then Paga (bank_code100002). The response looks the same either way: readbank_nameandbank_code. - Send
"bank": "rex"to open the account at Rex Microfinance Bank only. If Rex can’t open the account, the answer is503bank_unavailableand nothing is opened. - Send
"bank": "nombank"to allow Nombank only. At the limit the answer is then422nomba_identity_limitand nothing is opened. - Nothing else moves an account to another bank. If Nombank can’t be reached, or we can’t confirm whether it opened the account, the answer is
503issuing_unavailablewithdata.retryabletrue. No account is given to you then, though one the bank opened may still be confirmed later: retry with the samereference, and contact support if it persists. - At Rex, a retry is safe: repeating the request after a timeout returns the account Rex already opened, never a second one.
- Accounts your customers already hold at PalmPay or Paga keep receiving payments. Each is being given a Nombank replacement (see Replaced accounts).
- Without
reference, a customer has one account per bank, and a second request answers400bank account is already added. A customer may hold one account at Nombank and one at Rex. - Dynamic accounts are not offered at Rex:
"bank": "rex"there answers400invalid_bank.
One account per loan or order
Addreference to open an account for one loan, order or contract. A customer can hold several accounts, one per reference, and every payment into an account carries its reference on account.funded.
referenceis the idempotency key: repeating the request with the samereference, customer and currency returns the same account. Nothing new is opened, and nothing is checked against the limit below.- A new
referenceopens a new account for the same customer. - A person can hold at most 20 open accounts with your business by default, counted across every
customer_idthat shares their BVN. One more answers409account_limit_reachedwithdata.limitanddata.active. Contact support to change your limit. - Look an account up with Get Virtual Account by Reference.
- Without
reference, a customer has one account per bank, and a second request for the same bank answers400bank account is already added. - For repayments, a dynamic account per order (with
amountandreference) is often the better fit: it expires, so it never adds to the customer’s open accounts, andaccount.fundedcarries the orderreferenceandexpected_amount.
Errors
| Status | data.code | When |
|---|---|---|
400 | duplicate_reference | The reference belongs to another account of your business (another customer or currency) |
400 | invalid_reference | The reference breaks the format |
400 | invalid_bank | bank is not nombank, rex or paga, or disagrees with codes |
400 | bank_not_offered | Your business doesn’t open accounts at that bank. Leave bank out, or contact support |
400 | — | customer was not found; both customer_id and customer_reference sent; BVN missing, not found or not verified; USD settlement wallet missing or short |
409 | reference_in_progress | The first request with this reference is still opening the account. Retry shortly |
409 | account_limit_reached | Nothing was opened. Either the bank can’t open another account for this customer (data.accounts lists their accounts there), or the person already holds your business’s limit of open accounts (data.limit, data.active) |
409 | account_in_progress | Another request is opening this customer’s account right now. Retry shortly |
409 | customer_id_conflict | The customer’s BVN was verified and id_number is a different one. data.customer_id is the customer. Use a new customer_id for a different person |
422 | — | New customer: a detail is missing or in the wrong format. errors lists each field |
422 | invalid_customer_details | The bank rejected the customer’s details (data.field when it named one). Fix them before retrying |
422 | nomba_identity_limit | You sent "bank": "nombank" and Nombank already holds two accounts for this customer’s BVN or NIN. Leave bank out to open at Paga, or reuse one |
422 | identity_required | No BVN or NIN for the customer. Send id_number |
503 | issuing_unavailable | Nombank can’t be reached or didn’t confirm the account, or we couldn’t start opening it. No account was given to you; one the bank opened may still be confirmed later. Retry with the same reference (data.retryable is true); contact support if it persists |
Body
Name the customer with customer_id or customer_reference (exactly one is required). The customer_* fields are read only when the customer does not exist yet.
Required unless you send customer_reference. Our customer id, or your own id for the customer. We look it up within your business: our id first, then a customer whose reference is this value. If neither matches and the request carries the customer's details (customer_* fields), the customer is created with this value as their reference (1 to 64 characters: letters, digits, and _ . : -). Without details, an unknown id answers 400 customer was not found.
"CUST-10293"
Optional. Your own reference for this account (a loan, an order). 1 to 64 characters: letters, digits, and _ . : -. Unique among your business's accounts. A customer can hold one account per reference; repeating the request with the same reference, customer and currency returns the same account. Reusing it for another customer or currency answers 400 duplicate_reference.
"LOAN-2026-0042"
NGN. Leave out (recommended): the account opens at Nombank MFB, or at the next bank we offer your business (Rex Microfinance Bank, then Paga) when Nombank already holds two accounts for the customer's BVN or NIN. nombank allows Nombank only (nomba_identity_limit at the limit). rex opens at Rex Microfinance Bank (090449) only.
nombank, rex, paga "nombank"
New customer: required. A valid email address, unique among your customers.

