Skip to main content

Overview

The zero CLI provides full access to 0 Finance from your terminal. All commands output JSON for easy scripting and piping.
You can also use the alias zero-bank.
Transfers, savings actions, and crypto moves create proposals that require dashboard approval.

Authentication

zero auth connect

Open the browser to connect the CLI and store the API key automatically.

zero auth login

Store your API key and configure the CLI manually.

zero auth whoami

Show the current workspace context.

zero auth logout

Remove stored credentials.

Configuration

zero config show

Show the current config path, base URL, and key prefix.

zero config set

Update stored configuration values.

Debugging

Use --debug to see request URLs and the base URL being used.

Balance

zero balance

Show your spendable, earning, and idle USDC balances on Base.
Output:
Use zero savings positions to include vault-level breakdowns.

Bank Accounts

zero bank accounts list

List all saved bank accounts.

zero bank accounts create

Create a saved bank account from a JSON file.
account.json (IBAN example):
For US accounts, set account_type to "us" and include account_number and routing_number. For individual accounts, provide account_holder_first_name and account_holder_last_name.

Bank Transfers

zero bank transfers propose

Propose a bank transfer for approval.
IBAN accounts require --currency eur. US bank accounts require --currency usd.
Transfers create proposals that require approval in the dashboard before executing.
Transfers require completed KYC. If KYC is missing, the command returns an error asking the user to complete verification.

zero bank proposals list

List pending transfer proposals.

zero bank proposals dismiss

Dismiss a transfer proposal.

Invoices

zero invoices create

Create a new invoice.

zero invoices list

List invoices with optional filters.

zero invoices get

Get a specific invoice.

zero invoices update

Update an existing invoice.

zero invoices send

Send an invoice to the recipient.

Transactions

zero transactions list

List transaction history.

zero transactions get

Get transaction details.

Attachments

zero attachments add

Attach a file to a transaction.

zero attachments list

List attachments.

zero attachments remove

Remove an attachment.

Payment Details

zero payment-details show

Show payment details for receiving funds (USD ACH + EUR IBAN).
Output:

zero payment-details share

Email your payment details to someone.

Crypto Transfers

zero crypto transfers propose

Propose a crypto transfer.
If --token-address is the Base USDC contract, you can omit --token-decimals and it will default to 6.

zero crypto proposals list

List crypto transfer proposals.

zero crypto proposals dismiss

Dismiss a crypto proposal.

Savings

zero vaults list

List supported yield vaults.

zero savings deposits propose

Propose a deposit into a yield vault.

zero savings withdrawals propose

Propose a withdrawal from a yield vault.
Vault addresses must come from zero vaults list (Base USDC vaults).

zero savings proposals list

List savings proposals.

zero savings positions

Show idle balance, earning balance, and vault positions.
Output:

Admin Commands

Admin commands require an admin token. Set ZERO_FINANCE_ADMIN_TOKEN or use --admin-token.

zero users create

Provision a new user.

zero users show

Get user details.

zero users wallets pregenerate

Pregenerate wallets for a user.

zero api-keys create

Create an API key for a workspace.

Tips

JSON output

All commands output JSON. Pipe to jq for formatting:

Scripting

Use the CLI in scripts:

Error handling

Non-zero exit codes indicate errors. Error messages are printed to stderr: