Ledger balances
Balance snapshots
Capture a balance snapshot with the Python SDK.
POST
/balances-snapshotsUse blnk.ledger_balances.create_snapshot to trigger balance snapshot processing on demand.
Call the method
response = blnk.ledger_balances.create_snapshot({
"batch_size": 500,
})
| Field | Type | Description |
|---|---|---|
batch_size | number | Optional. Server default is 1000. |
Wait for completion
Snapshot jobs run asynchronously. Core returns immediately with a status message while processing continues in the background.
Response
{
"message": "Snapshotting in progress. should be completed shortly"
}
| Field | Type | Description |
|---|---|---|
message | str | Status message when the snapshot job starts. |