cURL
curl --request GET \ --url https://api.ledger.so/v1/virtual-accounts/{virtualAccountId}/balance \ --header 'Authorization: Bearer <token>'
{ "ok": true, "data": { "virtualAccountId": "<string>", "balance": "<string>", "currency": "<string>", "exchangeRate": "<string>" } }
Returns the current balance of a virtual account, including exchange rate information when applicable.
Pass your API key as a Bearer token: Authorization: Bearer ld_live_...
Authorization: Bearer ld_live_...
The virtual account ID
Virtual account balance
true
Show child attributes