Skip to main content
Use the balances command to list monetary accounts, inspect one balance by ID, create balances on a ledger, and link balances to identities. Balances hold currency positions and appear as sources or destinations on transactions.
CommandAliasDescription
listlBrowse balances in a table; add --id for one record
createcOpen a balance on a ledger via interactive prompts
updateuLink an existing balance to an identity

list

Browse balances across your ledgers in a paginated table with amounts, credit/debit totals, and inflight columns. Use --{field} filters (for example --currency) to narrow results before you fetch one record with list --id.
Options
OptionTypeDefaultDescription
--{field}string-Filter by any indexed field (for example --currency "USD,EUR").
-p, --pageinteger1Page number.
--per-pageinteger10Results per page.
-h, --helpboolean-Show help for this command.
Usage
1

List all balances

Run the command to view a paginated table of balances:
Filter and paginate:
200 Success

list --id

Look up one balance by balance_id and print a readable summary of ledger link, identity, and balance breakdowns. Pass --json when you need the full API object for scripts or support tickets.
Options
OptionTypeRequiredDescription
--idstringYesBalance ID to fetch (for example bln_01dab2b7-3ec7-4253-b302-edd947423883).
--jsonbooleanNoPrint the full API object as JSON instead of a formatted summary.
-h, --helpbooleanNoShow help for this command.
Usage
1

Get one balance

Run the command with a balance ID:

create

Open a new balance on a ledger through prompts for currency, ledger ID, and optional identity. Every balance belongs to exactly one ledger; you can link an identity now or later with update.
Arguments
ArgumentTypeRequiredDescription
currencystringYesBalance currency. Prompt: currency >
ledger_idstringYesLedger ID for the balance. Prompt: ledger id >
identity_idstringNoOptional identity to link. Prompt: identity id >. Press Enter to skip.
meta_dataobjectNoOptional metadata as JSON. Prompt: metadata (json) >. Press Enter to skip.
Options
OptionTypeDescription
--jsonbooleanAfter a successful create, print the full API response as JSON.
-h, --helpbooleanShow help for this command.
Usage
1

Create new balance

Run the command:
The CLI prompts for each argument:
Press Enter at optional prompts to skip.
2

Balance created


update

Attach an identity to a balance that was created without one (or change the linked identity). Pass the balance ID on the command line; the CLI prompts for the identity_id to store on the record.
Arguments
ArgumentTypeRequiredDescription
balance-idstringYesBalance ID to update (for example bln_01dab2b7-3ec7-4253-b302-edd947423883). Passed on the command line.
identity_idstringYesIdentity ID to link.
Options
OptionTypeDescription
-h, --helpbooleanShow help for this command.
Usage
1

Link balance to identity

Run the command with a balance ID:
The CLI prompts for the identity to link:
2

Balance updated

200 Success