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

# Fetch virtual account transactions

> You can use this endpoint to fetch transactions on a virtual account under the parent account.

> [!TIP]
>
> For a complete guide on response codes and transaction statuses, see [Response Codes](https://developer.nomba.com/docs/api-basics/response-codes.md).


## OpenAPI

````yaml get /v1/transactions/virtual
openapi: 3.0.1
info:
  description: ''
  title: Vendor API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.nomba.com
  - description: Sandbox
    url: https://sandbox.nomba.com
security: []
tags:
  - name: Authenticate
  - name: Accounts
  - name: Virtual Accounts
  - name: Online Checkout
  - name: Charge
  - name: Transfers
  - name: Direct Debits
  - name: Terminals
  - name: Transactions
  - name: Airtime and Data Vending
  - name: Electricity Vending
  - name: CableTV Subscription
  - name: Betting Vending
paths:
  /v1/transactions/virtual:
    get:
      tags:
        - Transactions
      summary: Fetch virtual account transactions
      description: >-
        You can use this endpoint to fetch transactions on a virtual account
        under the parent account.
      operationId: Fetch virtual account transactions
      parameters:
        - description: The parent accountId of the business.
          in: header
          name: accountId
          schema:
            type: string
            format: uuid
            example: 890022ce-bae0-45c1-9b9d-ee7872e6ca27
          required: true
        - description: The virtual account number to fetch transactions for.
          in: query
          name: virtual_account
          schema:
            type: string
          required: true
          example: '8578228675'
        - description: Filter by the transaction reference (the transaction `id`).
          in: query
          name: transactionRef
          schema:
            type: string
          required: false
        - description: Filter by transaction status, e.g. `SUCCESS`.
          in: query
          name: status
          schema:
            type: string
          required: false
        - description: Filter by transaction type, e.g. `vact_transfer`.
          in: query
          name: type
          schema:
            type: string
          required: false
        - description: >-
            This endpoint is paginated. `limit` describes the size of the page
            you are querying. Defaults to 50.
          example: 10
          in: query
          name: limit
          schema:
            type: integer
            format: int32
          required: false
        - description: >-
            The `cursor` is used to scroll to the next page. When making the
            first call to list all accounts, there is no need to pass in any
            cursor since the API has not returned any cursor back to you. Only
            use cursor when the API provides it
          example: xchbaVFsjdsbaADddd
          in: query
          name: cursor
          schema:
            type: string
          required: false
        - description: >-
            This starting date (UTC). Sample date: `2023-01-01T00:00:00`. If
            `dateFrom` or `dateTo` is omitted, the last 7 days are returned.
          in: query
          name: dateFrom
          example: '2023-09-08T00:00:00.007Z'
          schema:
            type: string
          required: false
        - description: >-
            This ending date (UTC). Sample date: `2024-09-30T23:59:59`. If
            `dateFrom` or `dateTo` is omitted, the last 7 days are returned.
          in: query
          name: dateTo
          example: '2023-08-08T23:59:59.007Z'
          schema:
            type: string
          required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: '00'
                    description: Response Code
                  description:
                    type: string
                    example: Success
                    description: Response description
                  data:
                    $ref: '#/components/schemas/VirtualAccountTransactionListResults'
                required:
                  - code
                  - description
                  - data
          description: OK - your request was successful.
          headers:
            X-Rate-Limit-Limit:
              description: The number of allowed requests in the current period
              schema:
                type: string
                example: '40'
            X-Rate-Limit-Remaining:
              description: The number of remaining requests in the current period
              schema:
                type: string
                example: '39'
            X-Rate-Limit-Window:
              description: The specified rate limit window
              schema:
                type: string
                example: 1s
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestError'
          description: The request body sent by merchant did not pass the validation checks
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
          description: >-
            The access_token provided to access the resource is missing or
            invalid.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationError'
          description: The client does not have the permissions to access this resource
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordNotFoundError'
          description: The record that the client is trying to access does not exist.
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitError'
          description: >-
            The client has maxed out the number of calls within a time period on
            this resource.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerError'
          description: Downstream system error.
      security:
        - BearerAuth: []
components:
  schemas:
    VirtualAccountTransactionListResults:
      type: object
      properties:
        results:
          type: array
          description: Contains list of virtual account transactions
          items:
            $ref: '#/components/schemas/VirtualAccountTransactionResult'
        cursor:
          type: string
          description: >-
            Cursor for pagination. It will be empty if there is no more page to
            scroll to
          example: xchbaVFsjdsbaADddd
    RequestError:
      type: object
      description: Request Error response.
      properties:
        code:
          type: string
          description: API error code.
          example: '400'
        description:
          type: string
          description: Additional details about the error.
          example: Request failed.
    AuthenticationError:
      type: object
      description: Authentication Error response.
      properties:
        code:
          type: string
          description: API error code.
          example: '401'
        description:
          type: string
          description: Additional details about the error.
          example: Unauthorized
    AuthorizationError:
      type: object
      description: Permissions error response.
      properties:
        code:
          type: string
          description: API error code.
          example: '403'
        description:
          type: string
          description: Additional details about the error.
          example: Forbidden
    RecordNotFoundError:
      type: object
      description: Record-Not-Found error response.
      properties:
        code:
          type: string
          description: API error code.
          example: '404'
        description:
          type: string
          description: Additional details about the error.
          example: Record not found
    RateLimitError:
      type: object
      description: Rate-limit error response.
      properties:
        code:
          type: string
          description: API error code.
          example: '429'
        description:
          type: string
          description: Additional details about the error.
          example: Too many requests
    ServerError:
      type: object
      description: Server error response.
      properties:
        code:
          type: string
          description: API error code.
          example: '500'
        description:
          type: string
          description: Additional details about the error.
          example: Server error
    VirtualAccountTransactionResult:
      type: object
      properties:
        id:
          type: string
          description: Unique transaction identifier
          example: API-VACT_TRA-FFCBE-9eb634eb-4dc5-46a9-bb65-7d03d6b88c1c
        status:
          type: string
          description: >-
            Transaction status.


            - `SUCCESS`: the service was delivered to the destination. Don't
            refund your customer.

            - `REFUND`: the funds were returned to your Nomba wallet. Refund
            your customer.

            - `CANCELLED`: the transaction will not proceed. Contact support.

            - `PAYMENT_FAILED`: the debit failed and may be retried. Wait for
            the webhook.

            - `REVERSED_BY_VENDOR`: the transaction may be retried via another
            vendor. Wait for the webhook.

            - `PENDING_BILLING`: the transaction is still processing. Wait for
            the webhook.
          enum:
            - SUCCESS
            - PENDING_BILLING
            - REFUND
            - CANCELLED
            - PAYMENT_FAILED
            - REVERSED_BY_VENDOR
          example: SUCCESS
        amount:
          type: string
          description: Transaction amount
          example: '100.0'
        fixedCharge:
          type: string
          description: Fee charged on the transaction
          example: '0.5'
        source:
          type: string
          description: Channel the transaction came through
          example: api
        type:
          type: string
          description: Transaction type. Inflows into a virtual account are `vact_transfer`
          example: vact_transfer
        customerBillerId:
          type: string
          description: Customer or biller identifier attached to the transaction
          example: '8065219824'
        timeCreated:
          type: string
          description: Time the transaction was created (UTC)
          format: date-time
          example: '2025-06-24T11:31:35.017Z'
        timeUpdated:
          type: string
          description: Time the transaction was last updated (UTC)
          format: date-time
          example: '2025-06-24T11:31:35.107Z'
        walletCurrency:
          type: string
          description: Currency of the wallet
          example: NGN
        walletBalance:
          type: string
          description: Wallet balance after the transaction
          example: '457.0'
        senderName:
          type: string
          description: Name of the sender
          example: John Doe
        recipientAccountNumber:
          type: string
          description: The virtual account number that received the funds
          example: '8578228675'
        recipientAccountType:
          type: string
          description: Type of the receiving account
          example: VIRTUAL
        recipientAccountName:
          type: string
          description: Name on the receiving virtual account
          example: Clean/Agboola Oyenike
        sessionId:
          type: string
          description: NIP session ID of the transfer
          example: '100004250624113131135397696024'
        bankName:
          type: string
          description: Name of the sender's bank
          example: Paycom (Opay)
        entryType:
          type: string
          description: Whether the transaction credited or debited the account
          example: CREDIT
        transactionCategory:
          type: string
          description: Category of the transaction
          example: Income
        narration:
          type: string
          description: Transaction narration
          example: Transfer from John Doe
  securitySchemes:
    BearerAuth:
      description: >-
        Nomba authenticates API calls with [OAuth2 HTTP bearer
        tokens](http://tools.ietf.org/html/rfc6750). There are two methods of
        authentication; [Client-Credentials
        method](https://www.rfc-editor.org/rfc/rfc6749) and [PKCE (Proof Key for
        Code Exchange)](https://www.rfc-editor.org/rfc/rfc7636) method. Both
        methods return an access token. Send it in the `Authorization` header:
        `Authorization: Bearer <access_token>`.
      scheme: bearer
      type: http
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.