---
title: "Get a virtual bank account"
method: GET
path: "/payment_methods/virtual_bank_accounts/{virtual_account_id}"
---

# Get a virtual bank account

`GET /payment_methods/virtual_bank_accounts/{virtual_account_id}`

## Request

- Base URL: `https://api-sandbox.straitsx.com/v1`
- URL: `https://api-sandbox.straitsx.com/v1/payment_methods/virtual_bank_accounts/{virtual_account_id}`
- Auth: API key in header `X-XFERS-APP-API-KEY`

[Available in Production/Sandbox environment] Retrieve virtual bank account details

## Path parameters

- `virtual_account_id` string, required

## Headers

- `X-XFERS-APP-API-KEY` string, required
- `X-PUBLIC-KEY-ID` string
- `X-TIMESTAMP` string
- `X-NONCE` string
- `X-SIGNATURE` string

## Response `200`

200

- union
  - object
    - `data` object
      - `id` string: Virtual bank account ID.
      - `type` string: Request type.
      - `attributes` object
        - `referenceId` string: Your internal reference ID, e.g. customer ID or invoice ID.
        - `instructions` object
          - `bankShortCode` string: The bank that the end-customer will be making a transfer to.
          - `accountNo` string: Virtual bank account number.
          - `recipient_name` string: Recipient name for bank transfers.
          - `bank_payee_name` string: Bank-registered payee name.
  - object
    - `data` object
      - `id` string: Virtual bank account ID.
      - `type` string: Request type.
      - `attributes` object
        - `referenceId` string: Your internal reference ID, e.g. customer ID or invoice ID.
        - `currency` string: Virtual bank account's currency.
        - `status` string: Virtual bank account's status.
        - `instructions` object
          - `recipientName` string: Recipient name.
          - `bankName` string: Name of the receiving bank.
          - `bankAddress` string: Address of the receiving bank.
          - `bankCountry` string: Country of the receiving bank.
          - `swiftBic` string: SWIFT/BIC code of the receiving bank.
          - `accountNo` string: Virtual bank account number.

## Changes

- **2026-11-03** `d17239d67150`: 1 info
  - api operation id `get-virtual-bank-account` removed and replaced with `retrieve-virtual-bank-account`

[Operation history](https://skmtc.dev/straitsx/apis/straitsx-sandbox-base-url/changes/payment_methods/virtual_bank_accounts/:virtual_account_id/get.md)

---

[API](https://skmtc.dev/straitsx/apis/straitsx-sandbox-base-url.md) - [All operations](https://skmtc.dev/straitsx/apis/straitsx-sandbox-base-url/llms.txt) - [OpenAPI document](https://skmtc.dev/straitsx/apis/straitsx-sandbox-base-url/revisions/d17239d67150?raw)
