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

# Get Virtual Account Transaction

> Retrieves the details of a specific transaction associated with a virtual account using its unique ID.

## Error responses

These are the standard failures for `GET /v1/virtual-account/{virtualAccountId}`.

| **Status** | **Message**                       | **What it means**                                      | **How to fix**                                                       |
| ---------- | --------------------------------- | ------------------------------------------------------ | -------------------------------------------------------------------- |
| 401        | `API key missing or incorrect`    | Authentication header is missing, invalid, or expired. | Send the right `x-api-key` for your workspace/environment.           |
| 404        | `Virtual account ID not found`    | The ID does not exist or is outside your workspace.    | Double-check you are using an ID returned by the creation endpoints. |
| 500        | `Service temporarily unavailable` | Backend system/dataset failure prevented the lookup.   | Retry with backoff and contact support if it persists.               |


## OpenAPI

````yaml get /v1/virtual-account/transaction/{transactionId}
openapi: 3.0.3
info:
  title: meCash API
  version: 3.0.3
  description: >-
    API for meCash services, including FIAT and Ramp operations. This is the
    OpenAPI specification for the meCash API, covering all available endpoints
    for wallet management, currency quotes, and payouts.


    It follows a design-first approach based on OpenAPI 3.0.


    Authentication is handled via an API key passed in the `x-api-key` header.
    Replace `YOUR_API_KEY` with your actual key when making requests.


    Some useful links:

    - [meCash Documentation](https://docs.me-cash.com/)

    - [Authentication Guide](https://docs.me-cash.com/authentication)
servers:
  - url: https://sandboxapi.me-cash.com
    description: Sandbox Server for Testing
security:
  - ApiKeyAuth: []
tags:
  - name: Wallet
    description: Wallet management operations
  - name: Quote
    description: Currency quote operations
  - name: Payout
    description: Payout operations
  - name: Transaction
    description: Transaction management
  - name: Virtual Account
    description: Virtual account operations for static and dynamic accounts
  - name: Bank
    description: Bank account and list operations
  - name: Ramp
    description: Ramp operations for crypto
  - name: Miscellaneous
    description: Utility and miscellaneous operations
  - name: Collection
    description: Mobile money and wallet funding operations
  - name: Bulk Payout
    description: >-
      Bulk transfer operations for sending to multiple beneficiaries in a single
      request
paths:
  /v1/virtual-account/transaction/{transactionId}:
    get:
      tags:
        - Virtual Account
      summary: Get Virtual Account Transaction
      description: >-
        Retrieves the details of a specific transaction associated with a
        virtual account using its unique ID.
      operationId: getVirtualAccountTransactionById
      parameters:
        - name: transactionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: >-
            The unique identifier of the transaction (e.g.
            557d936e-e904-4d0d-8d61-f6f1a6abbc03)
      responses:
        '200':
          description: Transaction details retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  message:
                    type: string
                    example: Transaction fetched successfully
                  data:
                    $ref: '#/components/schemas/GetTransactionSuccessData'
        '401':
          $ref: '#/components/responses/PayoutUnauthorized'
        '403':
          $ref: '#/components/responses/PayoutForbidden'
        '404':
          $ref: '#/components/responses/TransactionNotFoundOrInvalid'
components:
  schemas:
    GetTransactionSuccessData:
      type: object
      properties:
        id:
          type: string
          format: uuid
        remark:
          type: string
        reason:
          type: string
        referenceNumber:
          type: string
        type:
          type: string
        state:
          type: string
        quote:
          type: object
          properties:
            id:
              type: string
              format: uuid
            source:
              type: object
              properties:
                currency:
                  type: string
                country:
                  type: string
                amount:
                  type: number
            target:
              type: object
              properties:
                currency:
                  type: string
                country:
                  type: string
                amount:
                  type: number
            rate:
              type: number
            fee:
              type: object
              properties:
                amount:
                  type: number
        recipient:
          type: object
          properties:
            name:
              type: string
            firstName:
              type: string
            lastName:
              type: string
            relationship:
              type: string
            type:
              type: string
            account:
              type: object
              properties:
                sortCode:
                  type: string
                accountNumber:
                  type: string
            paymentChannel:
              type: string
            currency:
              type: string
            country:
              type: string
        created:
          type: string
          format: date-time
        processed:
          type: string
          format: date-time
    PayoutFailedResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable error message.
        status:
          type: string
          example: failed
      required:
        - message
        - status
  responses:
    PayoutUnauthorized:
      description: Unauthorized. The provided API key is invalid or missing.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PayoutFailedResponse'
          example:
            message: Invalid API key
            status: failed
    PayoutForbidden:
      description: >-
        Forbidden. The request is not allowed because the source IP is not
        whitelisted.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PayoutFailedResponse'
          example:
            message: 'Access denied: IP address not whitelisted'
            status: failed
    TransactionNotFoundOrInvalid:
      description: >-
        Not Found. The transaction ID could not be found or the parameter is
        invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PayoutFailedResponse'
          example:
            message: Invalid parameter
            status: failed
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````