# Blockchain Money Map – x402 Agent Payment Recovery Playbook

> Blockchain Money Map – x402 Agent Payment Recovery Playbook is a paid API for AI agents from api.blockchainmoneymap.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Classifies x402 blockchain payment failures and returns a structured recovery playbook for agents to follow based on failure phase, status code, and error context.

## Facts

- Endpoint: POST https://api.blockchainmoneymap.com/api/x402/x402-agent-payment-recovery-playbook
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchain-money-map-x402-agent-payment-recovery-playbook-bd6069cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DJIgObwZaeCOhT6dzOrUm

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 blockchain-money-map-x402-agent-payment-recovery-playbook-bd6069cb -d '<json body>'
```

Example prompt: My x402 payment failed during the settlement phase with a 402 status code, error code PAYMENT_FAILED, no receipt was issued, a payment identifier is present, and my retry cache policy is no-store — can you classify this failure and give me a recovery playbook?

## When to prefer this

Use this endpoint when an AI agent is operating in an x402 payment pipeline and encounters a payment failure that requires structured triage and recovery guidance. It is especially useful when automating retry logic or routing decisions after failed blockchain micropayments, and when you need a deterministic classification rather than ad-hoc heuristics. Prefer this over general blockchain explorers or generic error handlers when the failure is specifically within the x402 payment protocol flow.

## Known failure modes

- Missing required facts fields (failure_phase, status_code, error_code, payment_identifier_present, receipt_present, retry_cache_policy) returns validation error
- Unknown or unsupported error_code may yield a generic or fallback classification
- Mode must be 'classify' — other values will likely be rejected
- Incorrect data types for boolean fields (receipt_present, payment_identifier_present) may cause schema rejection
- x402 payment for the API call itself fails if agent wallet has insufficient USDC

## How this service works

Choose Blockchain Money Map for human-readable public blockchain reports or x402-paid agent API services.

## Output

A JSON object containing a classification of the payment failure (e.g. category, severity, phase) along with a structured recovery playbook — recommended next actions, retry guidance, and contextual advice based on the provided failure facts and optional policy configuration.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "classify"
   ]
  },
  "facts": {
   "type": "object",
   "required": [
    "failure_phase",
    "status_code",
    "error_code",
    "payment_identifier_present",
    "receipt_present",
    "retry_cache_policy"
   ],
   "properties": {
    "network": {
     "type": "string",
     "maxLength": 500
    },
    "error_code": {
     "type": "string",
     "maxLength": 500
    },
    "status_code": {
     "type": "number"
    },
    "failure_phase": {
     "type": "string",
     "maxLength": 500
    },
    "provider_label": {
     "type": "string",
     "maxLength": 500
    },
    "receipt_present": {
     "type": "boolean"
    },
    "settlement_status": {
     "type": "string",
     "maxLength": 500
    },
    "retry_cache_policy": {
     "type": "string",
     "maxLength": 500
    },
    "payment_identifier_present": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  },
  "policy": {
   "type": "object",
   "additionalProperties": true
  },
  "reference_facts": {
   "type": "object",
   "required": [
    "failure_phase",
    "status_code",
    "error_code",
    "payment_identifier_present",
    "receipt_present",
    "retry_cache_policy"
   ],
   "properties": {
    "network": {
     "type": "string",
     "maxLength": 500
    },
    "error_code": {
     "type": "string",
     "maxLength": 500
    },
    "status_code": {
     "type": "number"
    },
    "failure_phase": {
     "type": "string",
     "maxLength": 500
    },
    "provider_label": {
     "type": "string",
     "maxLength": 500
    },
    "receipt_present": {
     "type": "boolean"
    },
    "settlement_status": {
     "type": "string",
     "maxLength": 500
    },
    "retry_cache_policy": {
     "type": "string",
     "maxLength": 500
    },
    "payment_identifier_present": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-money-map-x402-agent-payment-recovery-playbook-bd6069cb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockchainmoneymap.com](https://www.zero.xyz/host/api.blockchainmoneymap.com/llms.txt)
