Ledger balances

Balance snapshots

Capture a balance snapshot with the Python SDK.

POST/balances-snapshots

Use blnk.ledger_balances.create_snapshot to trigger balance snapshot processing on demand.

Call the method

response = blnk.ledger_balances.create_snapshot({
  "batch_size": 500,
})
FieldTypeDescription
batch_sizenumberOptional. 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"
}
FieldTypeDescription
messagestrStatus message when the snapshot job starts.