Ledger balances
Create new balance
How to create a new ledger balance in Blnk.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.blnkfinance.com/llms.txt
Use this file to discover all available pages before exploring further.
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
Body
Unique id of the ledger the balance is created in.
The currency/asset class of this balance. See the following: Currencies
Unique id of identity (if any) to be linked to the balance. Can be left out from the request body if there’s no identity to be linked.
Enables fund lineage tracking on this balance.
Controls how Blnk allocates tagged provider funds when spending from this balance.Supported values:
FIFO, LIFO, PROPORTIONAL.Additional metadata for the request body.
Response
The net amount being stored in the balance.
The net amount waiting to be moved into or out of the balance.
Total amount moved into the balance
Total amount waiting to be moved into the balance.
Total amount moved out of the balance.
Total amount waiting to be moved out of the balance.
Unique id of the ledger the balance is created in.
Unique id of the identity (if any) linked to this balance.
Unique id of the created balance.
The currency/asset class of the tbalance.
Indicates the date & time of creation.
Additional metadata of the balance.
Indicates whether fund lineage tracking is enabled for this balance.
The allocation strategy used for fund lineage spending when
track_fund_lineage is enabled.