Ledger balances
View balance lineage
See a balance’s provider breakdown when fund lineage is enabled with the Python SDK.
GET
View balance lineage
Use
blnk.ledger_balances.get_lineage to inspect a balance’s fund breakdown.
Fund lineage must be enabled on the balance when it was created. See Fund lineage.
1
Call the method
blnk.ledger_balances.get_lineage
2
Use the provider breakdown
Read
response.data["providers"] to see how much each provider contributed, spent, and has available. Use total_with_lineage for the aggregate tracked amount.3
Response
200 OK