Skip to main content
POST
/
v1
/
wallets
/
{walletId}
/
addresses
/
{addressId}
/
virtual-accounts
Child Address Create
curl --request POST \
  --url https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/virtual-accounts \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "bvn": "22345678901",
  "dateOfBirth": "1992-08-14",
  "email": "[email protected]",
  "firstname": "Luthfulah",
  "lastname": "Osen",
  "phone": "+2348161846125"
}
'
import requests

url = "https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/virtual-accounts"

payload = {
"bvn": "22345678901",
"dateOfBirth": "1992-08-14",
"email": "[email protected]",
"firstname": "Luthfulah",
"lastname": "Osen",
"phone": "+2348161846125"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
bvn: '22345678901',
dateOfBirth: '1992-08-14',
email: '[email protected]',
firstname: 'Luthfulah',
lastname: 'Osen',
phone: '+2348161846125'
})
};

fetch('https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/virtual-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/virtual-accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'bvn' => '22345678901',
'dateOfBirth' => '1992-08-14',
'email' => '[email protected]',
'firstname' => 'Luthfulah',
'lastname' => 'Osen',
'phone' => '+2348161846125'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/virtual-accounts"

payload := strings.NewReader("{\n \"bvn\": \"22345678901\",\n \"dateOfBirth\": \"1992-08-14\",\n \"email\": \"[email protected]\",\n \"firstname\": \"Luthfulah\",\n \"lastname\": \"Osen\",\n \"phone\": \"+2348161846125\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/virtual-accounts")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"bvn\": \"22345678901\",\n \"dateOfBirth\": \"1992-08-14\",\n \"email\": \"[email protected]\",\n \"firstname\": \"Luthfulah\",\n \"lastname\": \"Osen\",\n \"phone\": \"+2348161846125\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.blockradar.co/v1/wallets/{walletId}/addresses/{addressId}/virtual-accounts")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"bvn\": \"22345678901\",\n \"dateOfBirth\": \"1992-08-14\",\n \"email\": \"[email protected]\",\n \"firstname\": \"Luthfulah\",\n \"lastname\": \"Osen\",\n \"phone\": \"+2348161846125\"\n}"

response = http.request(request)
puts response.read_body
{
  "data": {
    "accountName": "gidin nnalu",
    "accountNumber": "9019769186",
    "address": {
      "address": "0x622B01976019d04aA2958b3DF7494A59B28459ac",
      "configurations": {
        "aml": {
          "message": "Address is not sanctioned",
          "provider": "ofac, fbi, tether, circle",
          "status": "success"
        },
        "autoSettlement": {
          "isActive": false,
          "rules": []
        },
        "disableAutoSweep": true,
        "enableGaslessWithdraw": true,
        "showPrivateKey": false
      },
      "createdAt": "2025-11-06T18:52:46.558Z",
      "derivationPath": "m/44'/60'/0'/0/52",
      "id": "bc6549bc-c500-4372-84f2-4571d4e2caeb",
      "isActive": true,
      "metadata": null,
      "name": "Gideon nnalue",
      "network": "mainnet",
      "type": "INTERNAL",
      "updatedAt": "2025-11-06T18:52:46.558Z"
    },
    "bankCode": "076",
    "bankName": "Polaris Bank",
    "createdAt": "2025-11-06T19:09:01.146Z",
    "currency": "NGN",
    "customer": {
      "createdAt": "2025-11-06T19:09:01.146Z",
      "email": "[email protected]",
      "id": "7c72ba3c-0596-4a36-a57b-9a9327e5f75e",
      "name": "gidin nnalu",
      "network": "mainnet",
      "phone": "+2347011064991",
      "status": "ACTIVE",
      "updatedAt": "2025-11-06T19:09:01.146Z"
    },
    "id": "35245f0d-f9dd-4bed-8de7-8d5ea4d53768",
    "isActive": true,
    "reference": "21",
    "status": "ACTIVE",
    "type": "AUTO_FUNDING",
    "updatedAt": "2025-11-06T19:09:01.146Z",
    "wallet": {
      "address": "0xD8582C57E56Ef45f9fe82870aDF63d9baB89e1F7",
      "configurations": null,
      "createdAt": "2024-05-27T19:33:42.377Z",
      "derivationPath": "m/44'/60'/0'/0/11",
      "description": "This is Base wallet",
      "id": "35e964a6-436a-424f-bf3a-618cc060feea",
      "isActive": true,
      "name": "Base Wallet",
      "network": "mainnet",
      "status": "ACTIVE",
      "updatedAt": "2024-05-27T19:33:42.377Z"
    }
  },
  "message": "Virtual account created successfully",
  "statusCode": 201
}

Authorizations

x-api-key
string
header
required

Path Parameters

walletId
string
required
Example:

"YOUR_WALLET_ID"

addressId
string
required
Example:

"ADDRESS_ID"

Body

application/json
bvn
string
required
Example:

"22345678901"

dateOfBirth
string
required
Example:

"1992-08-14"

email
string
required
firstname
string
required
Example:

"Luthfulah"

lastname
string
required
Example:

"Osen"

phone
string
Example:

"+2348161846125"

Response

201 - application/json

200

data
object
message
string
Example:

"Virtual account created successfully"

statusCode
number
Example:

201