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.
blnk.Ledgers.create
| Field | Type | Description |
|---|---|---|
name | string | Display name for the ledger. |
meta_data | object | Optional metadata for extra context. |
Response shape
201 Created
| Field | Description |
|---|---|
ledger_id | Unique ID for the ledger. Use this when creating balances and transactions. |
name | Name you passed in the request. |
created_at | Date and time the ledger was created. |
meta_data | Metadata object, if you sent one. |
Related docs
View ledger docs
Ledger concepts and setup.
Create new ledger
HTTP request and response schema.