Check X402 Hub Health
x402_check_healthProbe live readiness of the Stripe X402 Agent Payment Hub and verify connectivity to its backing Stripe credit ledger. Use this before starting an autonomous workflow or when diagnosing 503 errors; do not use it to browse capability rates (use x402_list_capabilities) or read an account balance (use x402_get_account). Requires no authentication, incurs no charge, and returns ok=false (HTTP 503) if the backing credit ledger is unreachable.
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_check_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when both the Payment Hub and Stripe credit ledger are healthy. | |
| schema | No | Health schema identifier (atlas.x402.center_health.v1). | |
| checked_at | No | UTC ISO-8601 timestamp when readiness was verified. | |
| stripe_credit_ledger | No | ||
| paid_capabilities_count | No | Count of active priced HTTP 402 capabilities served by the hub. |