Fetches all virtual bank accounts (VBAs) for the specified wallet. Required scope: virtual-account:read.

GETapi-prod.blaaiz.com/api/external/virtual-bank-account

Authorization

oauth2ClientCredentials virtual-account:read
AuthorizationBearer <token>

Use your OAuth client credentials to obtain a short-lived Bearer token from POST /oauth/token.

In: header

Scope: virtual-account:read

Query Parameters

wallet_id*string

Unique identifier of the wallet

customer_id?string

Unique identifier of the customer (optional)

Response Body

application/json

application/json

Retrieve all virtual bank accounts
curl --request GET \  --url 'https://example.com/api/external/virtual-bank-account?wallet_id=string'
{  "message": "Virtual bank accounts retrieved successfully.",  "data": {    "id": "33580c65-d063-4138-a875-82ff09dfaeb5",    "business_wallet_id": "b18ed308-5ac5-4e9e-bb16-8c03ec2d3c01",    "currency_id": 1,    "currency": "NGN",    "account_number": "7880000024",    "account_name": "John Doe",    "bank_name": "78 Finance Company Limited",    "bank_code": "123456",    "account_reference": "2327323232",    "reservation_reference": null,    "rejection_reason": null  }}