# x402 Checkout Recovery Doctor

> x402 Checkout Recovery Doctor is a paid API for AI agents from gpt55.558686.xyz, paid per call via x402, $0.006/call, status down (last checked 2026-10-12).

Diagnoses and repairs failed x402 payment checkout flows, returning a retry recipe, metadata repair checklist, and buyer-ready payment handoff for quote-heavy paid API services.

## Facts

- Endpoint: GET https://gpt55.558686.xyz/v1/paid/x402-checkout-recovery-doctor?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: down
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-checkout-recovery-doctor-ff017eff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lKV7Gmp3sjtAG6baNQFJm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-checkout-recovery-doctor-ff017eff
```

Example prompt: My x402 API call just failed — the endpoint returned a 402 with a payment-required header but the settlement never went through. Can you run it through the checkout recovery doctor using this URL and error message to get a retry recipe and metadata repair checklist so I can pay and proceed?

## When to prefer this

Use this endpoint when an x402 payment flow has failed and you need structured guidance to recover — specifically when you have error messages, HTTP status codes, payment headers, or settlement/verify status codes from the failed attempt. Prefer this over generic debugging when dealing with quote-heavy x402 services that require same-request retry logic or buyer payment handoff steps.

## Known failure modes

- Missing required 'input' object or 'type'/'method' fields returns a 400 validation error
- Invalid status codes outside 0-599 range cause schema validation failure
- Truncated or malformed paymentRequiredHeader may produce incomplete diagnosis
- Endpoint URL or resource string exceeding 2048 characters is rejected
- If no error context is provided, recovery suggestions may be generic rather than specific

## How this service works

Short stable seller checkout recovery URL for quote-heavy x402 services that need a same-request retry recipe, metadata repair checklist, and buyer-ready payment handoff before paying for larger seller-intelligence packs. Short stable alias for marketplace probes and machine buyers. Pay up to $0.006 per request with x402 USDC on Base.

## Output

Returns a structured diagnosis of the failed x402 checkout, including a same-request retry recipe, a metadata repair checklist identifying what went wrong (missing headers, wrong network, bad payment address, etc.), and a buyer-ready payment handoff guide to successfully complete the payment on the next attempt.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 2048,
       "minLength": 1
      },
      "body": {
       "type": "object",
       "additionalProperties": true
      },
      "method": {
       "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE"
       ],
       "type": "string"
      },
      "status": {
       "type": "integer",
       "maximum": 599,
       "minimum": 0
      },
      "endpoint": {
       "type": "string",
       "maxLength": 2048,
       "minLength": 1
      },
      "resource": {
       "type": "string",
       "maxLength": 2048,
       "minLength": 1
      },
      "timeout_ms": {
       "type": "integer",
       "maximum": 15000,
       "minimum": 1000
      },
      "errorMessage": {
       "type": "string",
       "maxLength": 4000
      },
      "settleStatus": {
       "type": "integer",
       "maximum": 599,
       "minimum": 0
      },
      "verifyStatus": {
       "type": "integer",
       "maximum": 599,
       "minimum": 0
      },
      "error_message": {
       "type": "string",
       "maxLength": 4000
      },
      "expectedPayTo": {
       "type": "string",
       "maxLength": 80
      },
      "settle_status": {
       "type": "integer",
       "maximum": 599,
       "minimum": 0
      },
      "verify_status": {
       "type": "integer",
       "maximum": 599,
       "minimum": 0
      },
      "facilitatorUrl": {
       "type": "string",
       "maxLength": 2048
      },
      "expectedNetwork": {
       "type": "string",
       "maxLength": 80
      },
      "expected_pay_to": {
       "type": "string",
       "maxLength": 80
      },
      "facilitator_url": {
       "type": "string",
       "maxLength": 2048
      },
      "expected_network": {
       "type": "string",
       "maxLength": 80
      },
      "hasPaymentHeader": {
       "type": [
        "boolean",
        "string"
       ]
      },
      "has_payment_header": {
       "type": [
        "boolean",
        "string"
       ]
      },
      "quoteHeaderPresent": {
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-checkout-recovery-doctor-ff017eff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gpt55.558686.xyz](https://www.zero.xyz/host/gpt55.558686.xyz/llms.txt)
