Ledger balances
Balance Snapshots
How to capture a balance snapshot.
POST
/balances-snapshotsThis call starts a snapshot of your balances. Blnk writes one snapshot per balance for the current day, using the amounts at the time of the call, and returns while that work continues.
A later call the same day snapshots only balances that still have none for that day.
See Balance snapshots for when to run it and how historical balances use the stored snapshots.
Authorization
If set, the API uses an API key for authentication. Include the following header in your requests: X-blnk-key: <api-key>.
Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.
See also: Core API key.