Ledger balances
Historical balances
Retrieve accurate historical balance information with the TypeScript SDK.
GET
Historical balances
Use
blnk.LedgerBalances.getAt to retrieve a balance at a specific point in time.
blnk.LedgerBalances.getAt
| Field | Description |
|---|---|
balanceId | Balance ID to query. |
timestamp | Specifies the exact date and time for which a historical balance is requested. Use ISO 8601 format (for example 2025-02-24T08:55:26Z). |
from_source | When true, reconstruct from transactions instead of snapshots. |
Response shape
200 OK
| Field | Description |
|---|---|
timestamp | Point in time you queried (ISO 8601). |
from_source | Whether the balance was reconstructed from transactions. |
balance.balance_id | Balance you queried. |
balance.balance | Net amount at that timestamp. |
balance.credit_balance | Total credits at that timestamp. |
balance.debit_balance | Total debits at that timestamp. |
balance.currency | Currency of the balance. |
Related docs
Retrieving historical balances
How point-in-time balance queries work.
Historical balances
HTTP request and response schema.