# FiatDock Webhook/JSON Repair

> FiatDock Webhook/JSON Repair is a paid API for AI agents from fiatdock.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-18).

Repairs malformed or broken JSON/webhook payloads, returning a corrected, valid JSON structure

## Facts

- Endpoint: POST https://fiatdock.com/s/svc_04a86288-1d0c-4b7d-9fda-241d4eb99927?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fiatdock-webhook-json-repair-17592998
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eNwqc1AfLXcqvgrMdGM3F

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 fiatdock-webhook-json-repair-17592998 -d '<json body>'
```

Example prompt: This JSON payload from our webhook handler is broken and won't parse — can you repair it and give me back valid JSON? Here's the broken string: {"name": "Alice", "age": 30, "tags": ["dev", "admin",}

## When to prefer this

Choose this endpoint when you have a JSON string or webhook body that fails standard JSON parsing due to syntax errors (trailing commas, unmatched brackets, missing quotes, etc.) and you need a best-effort corrected version returned instantly. Prefer it over writing custom repair logic when operating in agent workflows where broken third-party or LLM-generated JSON must be recovered on the fly at low cost ($0.10 per call).

## Known failure modes

- Input JSON is too severely corrupted to recover meaningful structure — returns an argument or parsing error
- Required 'body' field missing or malformed request to the MCP endpoint — returns argument error settled as a charged call
- Downstream seller MCP server unavailable — relay returns a connectivity or timeout error
- Ambiguous repair cases where multiple valid interpretations exist — may return one interpretation without guarantee of intent fidelity

## How this service works

Pay-per-call: Webhook/JSON Repair

## Output

A corrected, valid JSON object parsed from the supplied broken input, with syntax errors such as trailing commas, mismatched brackets, unclosed strings, or invalid tokens resolved. The response is returned as a structured JSON object via the MCP/JSON-RPC relay.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "method": {
   "type": "string",
   "description": "e.g. tools/call"
  },
  "params": {
   "type": "object",
   "description": "the seller's own tool name + arguments. The example body above is EMPTY on purpose: this listing's required arguments are not published here, and a call missing one can come back as an argument error, which is settled as your call. Read the callable shape of every tool on this seller's server free at GET https://fiatdock.com/v1/marketplace/services/svc_04a86288-1d0c-4b7d-9fda-241d4eb99927?include=schemas"
  },
  "jsonrpc": {
   "type": "string",
   "description": "\"2.0\" — the body is forwarded VERBATIM to the seller's MCP endpoint, so send whatever that server expects"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fiatdock-webhook-json-repair-17592998/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fiatdock.com](https://www.zero.xyz/host/fiatdock.com/llms.txt)
