Ledger balances
Balance snapshots
Capture a balance snapshot with the Go SDK.
POST
/balances-snapshotsUse client.LedgerBalance.CreateSnapshot to trigger balance snapshot processing on demand.
Call the method
result, _, _ := client.LedgerBalance.CreateSnapshot(
blnkgo.CreateBalanceSnapshotRequest{
BatchSize: 500,
},
)
| Field | Type | Description |
|---|---|---|
BatchSize | int | Optional. Server default is 1000. Omit or set to 0 to use the default. |
Response
{
"message": "Snapshotting in progress. should be completed shortly"
}Go response (*blnkgo.CreateBalanceSnapshotResponse)
| Field | Type | Description |
|---|---|---|
Message | string | Status message when the snapshot job starts. |