> ## Documentation Index
> Fetch the complete documentation index at: https://docs.business.blaaiz.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve all virtual bank accounts

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



## OpenAPI

````yaml /api-reference/virtual-bank-account/list-openapi.json get /api/external/virtual-bank-account
openapi: 3.1.0
info:
  title: Blaaiz Platform API - Virtual Bank Accounts
  version: 1.0.0
  description: Retrieve all virtual bank accounts (VBAs) for a wallet
servers:
  - url: https://api-prod.blaaiz.com
  - url: https://api-dev.blaaiz.com
security: []
tags:
  - name: Virtual Bank Accounts
paths:
  /api/external/virtual-bank-account:
    get:
      summary: Retrieve all virtual bank accounts
      description: >-
        Fetches all virtual bank accounts (VBAs) for the specified wallet.
        Required scope: `virtual-account:read`.
      parameters:
        - name: wallet_id
          in: query
          required: true
          description: Unique identifier of the wallet
          schema:
            type: string
        - name: customer_id
          in: query
          required: false
          description: Unique identifier of the customer (optional)
          schema:
            type: string
      responses:
        '200':
          description: Virtual bank accounts retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualBankAccountResponse'
              example:
                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
        '401':
          description: Invalid or missing access token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: Invalid or missing access token
      security:
        - oauth2ClientCredentials:
            - virtual-account:read
components:
  schemas:
    VirtualBankAccountResponse:
      type: object
      properties:
        message:
          type: string
        data:
          $ref: '#/components/schemas/VirtualBankAccount'
      required:
        - message
        - data
    Error:
      type: object
      properties:
        message:
          type: string
      required:
        - message
    VirtualBankAccount:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the virtual bank account
        business_wallet_id:
          type: string
          description: Business wallet ID associated with this virtual account
        currency_id:
          type: integer
          format: int32
          description: Currency identifier
        currency:
          type: string
          description: Currency code (e.g., NGN, USD)
        account_number:
          type: string
          description: Virtual account number
        iban:
          type:
            - string
            - 'null'
          description: IBAN if applicable
        account_name:
          type: string
          description: Name on the virtual account
        bank_name:
          type: string
          description: Bank name
        bank_code:
          type: string
          description: Bank code
        account_reference:
          type: string
          description: Reference associated with the virtual account
        reservation_reference:
          type:
            - string
            - 'null'
          description: Reservation reference if present
        sort_code:
          type:
            - string
            - 'null'
          description: Sort code if applicable
        bank_address:
          type:
            - string
            - 'null'
          description: Bank address if applicable
        rejection_reason:
          type:
            - string
            - 'null'
          description: Reason for rejection or failure, if applicable
        status:
          type: string
          description: >-
            Status of the virtual account (e.g., SUCCESSFUL, PENDING, REJECTED,
            FAILED)
      required:
        - id
        - business_wallet_id
        - currency_id
        - currency
        - account_number
        - account_name
        - bank_name
        - status
  securitySchemes:
    oauth2ClientCredentials:
      type: oauth2
      description: >-
        Use your OAuth client credentials to obtain a short-lived Bearer token
        from POST /oauth/token.
      flows:
        clientCredentials:
          tokenUrl: /oauth/token
          scopes:
            virtual-account:read: Read virtual accounts.

````