billing_get_balance
[GET /v1/billing — $0.00] Check the prepaid credit balance for a client key (in cents and USD). Always free. Returns not_found when no account exists yet — buy credits via billing_purchase_credits to create one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_key | Yes | prepaid credit account key (must match the key used when buying credits) | |
| payment_token | No | Payment proof: dev mode → single-use token from POST /v1/dev-faucet; x402 mode → base64 payment payload (the PAYMENT-SIGNATURE / X-PAYMENT header value) |