Ledger balances
View balance lineage
See a balance’s provider breakdown when fund lineage is enabled with the TypeScript SDK.
GET
View balance lineage
Use
blnk.LedgerBalances.getLineage to inspect a balance’s fund breakdown.
blnk.LedgerBalances.getLineage
| Field | Description |
|---|---|
balanceId | Balance ID with fund lineage enabled. |
Response shape
200 OK
| Field | Description |
|---|---|
balance_id | Balance you queried. |
aggregate_balance_id | Internal aggregate balance ID for combined provider funds. |
total_with_lineage | Total available funds tracked by lineage (minor units, string). |
providers | Provider-by-provider breakdown of received and spent funds. |
Related docs
Fund lineage
Tagged funds and allocation strategies.
View balance lineage
HTTP request and response schema.