---
title: "Get Virtual Account by External Reference"
method: GET
path: "/v3/api/VirtualAccount/externalreference/{externalReference}"
tags: ["VirtualAccount"]
---

# Get Virtual Account by External Reference

`GET /v3/api/VirtualAccount/externalreference/{externalReference}`

## Request

- Base URL: `https://api.bamboopayment.com`
- URL: `https://api.bamboopayment.com/v3/api/VirtualAccount/externalreference/{externalReference}`
- Auth: API key in header `Authorization`

Retrieve the details of a previously created Virtual Account by its external reference.

## Path parameters

- `externalReference` string, required

## Response `200`

Success

- VirtualAccountResponse
  - `VirtualAccountId` string, nullable
  - `ErrorCode` string, nullable
  - `ErrorDescription` string, nullable
  - `Status` string, nullable
  - `Created` string, date-time
  - `OwnershipModel` string, nullable
  - `PaymentInstrument` VirtualAccountPaymentInstrument
    - `Type` string, nullable
    - `BankAccount` string, nullable
    - `BankName` string, nullable
    - `BankAccountHolder` string, nullable
  - `MetadataOut` object, nullable

## Other responses

- `204`: Success

---

[API](https://skmtc.dev/bamboopayment/apis/gateway-servicefacade-api.md) - [All operations](https://skmtc.dev/bamboopayment/apis/gateway-servicefacade-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bamboopayment/apis/gateway-servicefacade-api/revisions/ddfffdaa1e3a?raw)
