CLI Commands
pixcli balance
Query your Pix account balance
Usage
pixcli balanceShows the available balance for your configured PSP account.
Examples
Human output (default)
pixcli balanceπ° Account Balance
Available: R$1,250.00JSON output
pixcli balance --output json{
"available": "1250.00"
}Table output
pixcli balance --output tableβββββββββββββ¬βββββββββββββ
β Field β Value β
βββββββββββββΌβββββββββββββ€
β Available β R$1,250.00 β
βββββββββββββ΄βββββββββββββWith a specific profile
pixcli --profile production balanceSandbox mode
pixcli --sandbox balanceError Scenarios
No configuration
Error: No configuration found. Run `pixcli config init` first.Invalid credentials
Error: Authentication failed (401 Unauthorized). Check your client_id and client_secret.Network error
Error: Connection refused. Verify your internet connection and the PSP endpoint.Use --verbose to see detailed request/response logs for debugging.