List Customer Virtual Accounts
curl --request GET \
--url https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers', 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.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Customer virtual accounts retrieved successfully",
"data": {
"virtualAccounts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_identifier": "user-12345",
"first_name": "Tosin",
"last_name": "Kalejaiye",
"email": "tosin@example.com",
"phone": "08012345678",
"bvn_last4": "2222",
"currency": "NGN",
"bank_name": "GTBank",
"bank_code": "058",
"account_number": "4382272943",
"account_name": "Tosin Kalejaiye",
"status": "active",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}{
"success": false,
"message": "<string>"
}Wallet
List Customer Virtual Accounts
Lists the permanent per-end-user virtual accounts for your business. Optionally filter by customer_identifier.
GET
/
wallet
/
virtual-accounts
/
customers
List Customer Virtual Accounts
curl --request GET \
--url https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers', 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.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Customer virtual accounts retrieved successfully",
"data": {
"virtualAccounts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_identifier": "user-12345",
"first_name": "Tosin",
"last_name": "Kalejaiye",
"email": "tosin@example.com",
"phone": "08012345678",
"bvn_last4": "2222",
"currency": "NGN",
"bank_name": "GTBank",
"bank_code": "058",
"account_number": "4382272943",
"account_name": "Tosin Kalejaiye",
"status": "active",
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}{
"success": false,
"message": "<string>"
}List the permanent per-end-user virtual accounts you’ve created for your business. Optionally filter to a single user with
customer_identifier.
Example Request
curl -X GET "https://api.rolla.xyz/api/v1/external/wallet/virtual-accounts/customers?customer_identifier=user-12345" \
-H "X-API-Key: your_api_key_here"
Query Parameters
| Parameter | Type | Description |
|---|---|---|
customer_identifier | string | Filter to a single end-user’s account. Omit to list all. |
Example Response
{
"status": 200,
"success": true,
"message": "Customer virtual accounts retrieved successfully",
"data": {
"virtualAccounts": [
{
"id": "9632c120-3c98-4a1c-baf2-47c17a079802",
"customer_identifier": "user-12345",
"first_name": "Tosin",
"last_name": "Kalejaiye",
"email": "tosin@example.com",
"phone": "08012345678",
"bvn_last4": "2222",
"currency": "NGN",
"bank_name": "GTBank",
"bank_code": "058",
"account_number": "4382272943",
"account_name": "Tosin Kalejaiye",
"status": "active",
"created_at": "2026-07-10T10:02:11.942Z"
}
]
}
}
This endpoint returns end-user PII. The raw BVN is never included — only
bvn_last4. If your API key has an IP allowlist configured, it applies here as it does to every endpoint.Authorizations
Your Rolla API key
Query Parameters
Filter to a single end-user's account.
⌘I