Account
GET/v1/account/ledger
Your prepaid balance
Settlement mode A only. availableCents is what a booking may draw on right now: balance plus credit limit. Money held for a booking in flight is already out of the balance — holds are stored as negative entries — so do not subtract heldCents again. It is shown so you can explain the number, not so you can compute with it.
- Auth
- API key
- Scope
- ledger:read
- Rate limit
- READ
- Search quota
- Free
- Idempotency
- Not required
Responses
200 · LedgerBalanceDto
Errors
Every one of these carries the same envelope. What each error.type means, and whether a retry can succeed, is on the error index — once, for all operations.
Response headers
Set on every response of this operation, successful or not.
Example
curl -sS "$VACABEE_API_URL/v1/account/ledger" \
-H "Authorization: Bearer $VACABEE_API_KEY"Set VACABEE_API_URL to https://api.vacabee.com with a live key, or to https://sandbox-api.vacabee.com with a vcb_test_ key. Binding a host to one kind of key is planned and is not enforced by the host yet, so nothing stops a key from being answered at the wrong base URL — assert the prefix against your configured URL yourself. What the sandbox answers
TypeScript SDK
await vacabee.request('GET', '/v1/account/ledger');This page does not name a typed method for this route yet. request reaches every route of the API, and there you set the idempotency key yourself. Installing and using the SDK

