Skip to main content
GET
/
v1
/
virtual-accounts
/
{virtualAccountId}
Get a virtual account
curl --request GET \
  --url https://api.ledger.so/v1/virtual-accounts/{virtualAccountId} \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "id": "<string>",
    "customerId": "<string>",
    "sourceCurrency": "<string>",
    "status": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "depositInstructions": {}
  }
}

Authorizations

Authorization
string
header
required

Pass your API key as a Bearer token: Authorization: Bearer ld_live_...

Path Parameters

virtualAccountId
string
required

The virtual account ID

Response

Virtual account details

ok
enum<boolean>
required
Available options:
true
data
object
required