Ledgers
Create ledger
Create a new ledger with the TypeScript SDK.
POST
Create ledger
Use
blnk.Ledgers.create to create a new ledger for your system.
Call the method
blnk.Ledgers.create
| Field | Type | Description |
|---|---|---|
name | string | Display name for the ledger. |
meta_data | object | Optional metadata for extra context. |
Save the ledger ID
Use
response.data.ledger_id when creating balances or transactions in this ledger.Related docs
View ledger docs
Ledger concepts and setup.
Create new ledger
HTTP request and response schema.