Virtual Accounts
Create virtual account for a sub account
Changed onYou can use this endpoint to create a virtual account to receive payments for a sub account. Funds sent to the virtual account is collected in the sub account specified
post/v1/accounts/virtual/{subAccountId}
Request
- Base URLhttps://api.nomba.com
- URLhttps://api.nomba.com/v1/accounts/virtual/{subAccountId}
- AuthHTTP bearer
Path parameters
subAccountIdstring required
The sub accountId of the business.
Headers
accountIdstring uuid required
Example:890022ce-bae0-45c1-9b9d-ee7872e6ca27
The parent accountId of the business.
Request body
Example request
{
"accountRef": "1oWbJQQHLyQqqf1SwxjSpudeA21",
"accountName": "Daniel Scorsese",
"bvn": "12345678",
"nin": "12345678901",
"expiryDate": "2026-01-30 12:15:00",
"restrictInflowToAccountName": true,
"callbackUrl": "https://merchant.example.com/webhooks/nomba"
}Response
Virtual account creation successful.
Example response
{
"code": "00",
"description": "Success",
"data": {
"createdAt": "2023-09-04T07:09:06.900Z",
"accountHolderId": "01a10aeb-d989-460a-bbde-9842f2b4320f",
"accountRef": "1oWbJQQHLyQqqf1SwxjSpudeA21",
"bvn": "12234412345",
"identifierType": "BVN",
"accountName": "Daniel Scorsese",
"bankName": "Nombank MFB",
"bankAccountNumber": "9391076543",
"bankAccountName": "Nomba/Ifeoluwa Adeboye",
"currency": "NGN",
"callbackUrl": "https://webhook.site/98ef100f-5adc-4434-800a-0808h60bd8d7",
"expired": true,
"restrictInflowToAccountName": true
}
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info