Ledger balances
View balance lineage
See a balance’s provider breakdown (received, spent, available) when fund lineage is enabled.
GET
If you’re using the auto-provisioned
Enterprise Core instance included with your Production License deployment, set the base URL to: https://ENTERPRISE_PUBLIC_URL/core.If you’re connecting to a different Core instance, use the publicly accessible base URL for that instance instead.Authorization
If set, the API uses an API key for authentication. Include the following header in your requests:X-blnk-key: <api-key>.
Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.
See also: Secure your Blnk server
Path
Specifies the unique ID of the balance whose lineage you want to retrieve.
Response
The ID of the balance being queried.
The internal aggregate balance ID used to track combined provider funds.
Total available funds tracked by lineage (in minor units, like
precise_amount).Provider-by-provider breakdown of received and spent funds.
All amounts are returned as strings in minor units.