Ledger balances
Create new balance
Create a new ledger balance with the TypeScript SDK.
POST
Create new balance
Use
blnk.LedgerBalances.create to create a balance on an existing ledger.
blnk.LedgerBalances.create
| Field | Description |
|---|---|
ledger_id | Ledger the balance belongs to. |
currency | Currency or asset class for the balance. |
identity_id | Identity to link to the balance. Required when track_fund_lineage is true. |
track_fund_lineage | Enable fund lineage tracking on this balance. |
allocation_strategy | How tagged provider funds are allocated on spend: FIFO, LIFO, or PROPORTIONAL. |
meta_data | Optional metadata for extra context. |
Response shape
201 Created
| Field | Description |
|---|---|
balance_id | Unique ID for the balance. Use as source or destination on transactions. |
ledger_id | Ledger ID you passed in the request. |
currency | Currency you passed in the request. |
balance | Current net amount in the balance. |
created_at | Date and time the balance was created. |
Related docs
View balance docs
Balance concepts and setup.
Create new balance
HTTP request and response schema.