Safely repair JSON payloads that fail a known schema
Safely repair JSON payloads that fail a known schema. Deterministic repairs only. No semantic guessing. Returns exact change manifest and verifiable receipt. Refuses ambiguous repairs.
10000 (raw units)
price
2
calls / 30d
2
unique payers
2026-09-14
updated
Provider
ao-payload-rescue-production.up.railway.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6ef7C116c731DeEF04112dC2d3c05E9a2f63F629",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"payload": {
"amount": "39.99",
"customer_id": 7721,
"items": null
},
"repair_mode": "safe",
"schema": {
"properties": {
"amount": {
"type": "number"
},
"customer_id": {
"type": "string"
},
"items": {
"type": "array"
}
},
"required": [
"customer_id",
"amount",
"items"
],
"type": "object"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"changes": [
{
"from_type": "integer",
"operation": "type_coercion",
"path": "$.customer_id",
"to_type": "string"
}
],
"original_hash": "sha256:...",
"problems": [],
"receipt_id": "rcpt_...",
"repaired_hash": "sha256:...",
"repaired_payload": {
"amount": 39.99,
"customer_id": "7721",
"items": []
},
"schema_valid": true,
"status": "REPAIRED"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://ao-payload-rescue-production.up.railway.app/v1/rescue" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://ao-payload-rescue-production.up.railway.app/v1/rescue");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://ao-payload-rescue-production.up.railway.app/v1/rescue")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/14633.json, and this resource appears in /discovery/resources and /discovery/search.