Learn how to manage balances with the CLI.
blnk balances
command to create and manage balances in your Blnk server.
Field | Description |
---|---|
<ledger-id> | The unique id of the ledger that this balance belongs to. |
<currency> | The currency in which transactions recorded in this balance will be recorded. |
<metadata> | Custom info written in JSON format, e.g. {"first_name":"Sandra", "last_name":"Baileys"} . If you have no metadata, you can leave it blank like this: {} |
blnk balances list
command.
Options | Description |
---|---|
-p or --page <number> | Page number (default: “1”) |
--per-page <number> | Results per page (default: “10”) |
-s or --search <term> | What you are searching for (default: ”*“) |
-q or --query-by <fields> | Fields to query your search term by (default: “currency, balance_id”) |