- Workspace wallet — what the spend gate reads. Fund this to let the account actually run AI.
- Sub-account wallet — a per-sub balance you can track separately.
billing:read scope (balance) and billing:update scope (credit/debit) —
a key with only subaccounts:* scopes cannot move funds.
Check balances
Credit a wallet
The response reports the resulting balance and whether it was an idempotent
replay:
Debit a wallet
POST /v3/subaccounts/{id}/wallet/debit takes the same body and claws funds
back. A debit can never drive a balance negative — if the target plane
doesn’t have enough, it returns 409 insufficient_balance and no funds move.
