Account Balance
x402_get_accountCheck your live USD balance, pause status, open Stripe checkouts, pending approvals, and recent calls. Use this for a full account overview; do not use to filter sub-keys alone (x402_list_delegate_keys), download billing statements (x402_export_statement), or check tool prices (x402_quote_plan). Parameters: pass spend_key or the x-atlas-spend-key header; main keys see the full account while sub-keys see their own limits. Behavior: free to call; main key checks also refresh any open Stripe checkouts so new top-ups appear right away.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402_get_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spend_key | No | Stripe-funded master or delegated subagent spend key (format: sbk_<43+ chars>). Optional when the caller supplies the x-atlas-spend-key HTTP header. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the account snapshot succeeded. | |
| frozen | No | True when the emergency freeze kill switch is currently halting all spends. | |
| key_role | No | Authority tier of the supplied spend key. | |
| account_id | No | Account identifier (format: sbc_<24 hex chars>). | |
| balance_usd | No | Available prepaid USD balance (e.g. "24.95"). | |
| delegates_active | No | Count of non-revoked delegated subagent keys. | |
| pending_approvals | No | Count of pending single-use escalation tickets awaiting operator decision. |