Skip to main content

Overview

A virtual account is a real Nigerian bank account number (NUBAN format) assigned to one of your customers or use cases. Funds deposited into this account appear in your platform’s ledger immediately. You can create as many virtual accounts as you need: one per customer, one per transaction, or one per product. Virtual accounts created in sandbox use test NUBANs that do not process real money. Production accounts are fully live.

Base URL


Authentication

All Accounts endpoints require an API key in the request header:

Endpoints

Create Virtual Account

POST /v1/accounts Creates a new virtual account. The platform generates a unique NUBAN (10-digit Nigerian bank account number) and links it to your business. What you send: What you get back: Example request:
Example response:

Get Account Details

GET /v1/accounts/{account_id} Retrieve the current balance and details for a single virtual account. Path parameter: What you get back:
Balances are returned in kobo, not Naira. A balance of 500000 means ₦5,000.00. This avoids floating-point precision issues in financial calculations.

List Accounts

GET /v1/accounts Returns a paginated list of all virtual accounts under your business. Query parameters:

List Account Transactions

GET /v1/accounts/{account_id}/transactions Returns all credits and debits for a specific virtual account, newest first. Query parameters: Transaction object fields:

Freeze / Unfreeze Account

PATCH /v1/accounts/{account_id} Temporarily prevent an account from sending or receiving funds. Useful for fraud holds or compliance reviews. What you send:

Close Account

DELETE /v1/accounts/{account_id} Permanently closes a virtual account. This action cannot be undone. Any remaining balance must be swept out before closing.
Closing an account is permanent. The NUBAN number is decommissioned and cannot be reactivated. Ensure the balance is zero before calling this endpoint.

Error Codes


Full API Reference

Open API Playground

Try Accounts endpoints live in the browser