# Settled Call Ghost Recovery Playbook

> Settled Call Ghost Recovery Playbook is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.005/call, status down (last checked 2026-10-30).

Returns a decision procedure for recovering from x402 payment settlements where the call succeeded financially but returned no output, guiding agents to retry idempotently or claim a refund.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/settled-call-ghost-recovery-playbook?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/settled-call-ghost-recovery-playbook-07937afc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IuLxXec7Sc4SqRyThIBit

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 settled-call-ghost-recovery-playbook-07937afc
```

Example prompt: I paid an x402 endpoint and the payment settled on Base but I got no output back — walk me through whether I should retry idempotently or file a refund claim, and how to avoid getting charged twice.

## When to prefer this

Choose this endpoint when an agent has already completed an x402 payment but received no usable output — specifically to decide between idempotent retry and refund claim. It is purpose-built for the ghost-call recovery scenario in x402 agentic payment flows, as opposed to general payment debugging or pre-settlement decision logic.

## Known failure modes

- Payment required (402) if x402 header not provided
- Missing required input fields returns validation error
- Topic override not recognized may result in generic procedure
- Service may return ok: false with handler error if upstream reasoning fails
- Network timeout on the procedure generation step itself

## How this service works

Procedure for paid AI endpoints after an x402 call settles but returns nothing. Collect service id, request hash, paid amount, model run id, output hash, timeout, and refund or dispute state. Decide retry versus refund claim, then retry idempotently without paying twice for the same work.

## Output

A structured response containing a decision procedure (prose brief) for the agent, indicating whether to retry the call idempotently or pursue a refund/dispute. Includes the service slug, model used, generation source (llm/reasoning/deterministic), ISO-8601 timestamp, and payment metadata (payer, transaction, code).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      },
      "topic": {
       "type": "string",
       "description": "Optional topic override for the decision procedure"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Settled call ghost recovery playbook paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "brief": {
         "type": "string",
         "description": "Decision procedure prose for agents"
        },
        "model": {
         "type": "string"
        },
        "topic": {
         "type": "string"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "procedure": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "generationSource": {
         "enum": [
          "llm",
          "reasoning",
          "deterministic"
         ],
         "type": "string"
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
         "type": "string"
        },
      
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true,
  "result": {
   "ok": true,
   "brief": "plain prose decision procedure (120+ words)",
   "model": "deepseek/deepseek-v4-flash-0731",
   "topic": "string topic",
   "service": "settled-call-ghost-recovery-playbook",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "settled-call-ghost-recovery-playbook",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/settled-call-ghost-recovery-playbook-07937afc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
