Api Endpoint

json-repair-api-9ybv.onrender.com

Public, account-free preflight for an autonomous x402 payment. Validates the merchant's exact PAYMENT-REQUIRED challenge against the intended request, checks Base USDC payment integrity and public merchant/payTo risk evidence, and returns APPROVED, REVIEW or DENIED with signed proof. It does not grant spending authority: an APPROVED result means the transaction evidence is clear enough to proceed only if separate delegated authority also permits the spend.

Open interactive test console

Offering

Provider
json-repair-api-9ybv.onrender.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://json-repair-api-9ybv.onrender.com/trust/x402/preflight
MIME type
Not provided
First seen
2026-10-25T22:44:16.368Z
Last seen
Tags
agent-payments, X402, transaction-preflight, merchant-risk, payment-integrity

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xEaC0E798d3ddaDdc6B54E4622Ca78edd66578Ad6"
  }
]

Observed health

Status
Healthy
Latest latency
105 ms
Average latency
493 ms
HTTP status
200
Last checked
Reachability
100% over 4 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "category": {
          "description": "Optional purchase category for audit context.",
          "type": "string"
        },
        "merchant_id": {
          "description": "Optional stable merchant identifier. If omitted, the resource hostname is used.",
          "type": "string"
        },
        "payment_required": {
          "description": "The merchant's real x402 PAYMENT-REQUIRED payload, as decoded JSON or its encoded string.",
          "oneOf": [
            {
              "type": "object"
            },
            {
              "type": "string"
            }
          ]
        },
        "request": {
          "description": "Exact HTTP request the agent intends to make after the preflight.",
          "properties": {
            "body": {},
            "method": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          },
          "required": [
            "method",
            "url"
          ],
          "type": "object"
        }
      },
      "required": [
        "payment_required",
        "request"
      ]
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}