Create Virtual Account

Create a dedicated virtual bank account for receiving fiat deposits.

Creates a permanent virtual bank account that can receive fiat deposits. Deposits are automatically settled into crypto.

Endpoint

POST /v1/virtual-accounts

Authentication

Header
Value

x-api-key

Your API key

Request body

Field
Type
Required
Description

email

string

Yes

Customer's email address

identityType

string

Yes

Identity verification type: bvn, nin, or cac

identityNumber

string

Yes

Identity number corresponding to the identity type

currency

string

Yes

Fiat currency for the account. See Supported Currencies

Example request

curl -X POST https://ramp-api.ivorypay.io/api/v1/virtual-accounts \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "merchant-user@example.com",
    "identityType": "bvn",
    "identityNumber": "22222222222",
    "currency": "NGN"
  }'

Example response

Response fields

Field
Type
Description

bankCode

string

Bank code of the virtual account provider

bankName

string

Bank name

virtualAccountNumber

string

The virtual account number — share this with your user

virtualAccountName

string

Account name displayed to senders

customerIdentifier

string

Email used to create the account

currency

string

Fiat currency

createdDate

string

ISO 8601 creation timestamp

Identity types

Type
Description
Example

bvn

Bank Verification Number (Nigeria)

11-digit number

nin

National Identification Number (Nigeria)

11-digit number

cac

Corporate Affairs Commission (Nigeria, businesses)

Registration number

Last updated