ToolAssay

Automatic before-payment firewall for x402 clients

Automatic before-payment firewall for x402 clients. Runs after the merchant returns PAYMENT-REQUIRED but before the wallet creates/signs the merchant payment. Returns ALLOW, REVIEW or BLOCK based on exact request/challenge integrity and public merchant/payTo risk evidence. Spending authority remains with the caller's wallet/client policy unless full transaction clearance is used.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
260 msmedian answer time
$0.001listed price per call
$0.001price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://json-repair-api-9ybv.onrender.com/trust/x402/firewall

CategoryCommerce and shopping
Provider hostjson-repair-api-9ybv.onrender.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days2 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.001 253 ms
2026-11-25 valid payment request 402$0.001 265 ms
2026-11-24 valid payment request 402$0.001 236 ms
2026-11-23 valid payment request 402$0.001 648 ms
2026-11-22 valid payment request 402$0.001 248 ms
2026-11-21 valid payment request 402$0.001 260 ms
2026-11-20 valid payment request 402$0.001 268 ms
2026-11-19 valid payment request 402$0.001 273 ms
2026-11-18 valid payment request 402$0.001 274 ms
2026-11-17 valid payment request 402$0.001 229 ms
2026-11-16 valid payment request 402$0.001 225 ms
2026-11-15 valid payment request 402$0.001 267 ms
2026-11-14 valid payment request 402$0.001 232 ms
2026-11-13 valid payment request 402$0.001 225 ms
2026-11-12 valid payment request 402$0.001 242 ms
2026-11-11 valid payment request 402$0.001 234 ms
2026-11-10 valid payment request 402$0.001 238 ms
2026-11-09 valid payment request 402$0.001 246 ms
2026-11-08 valid payment request 402$0.001 238 ms
2026-11-07 valid payment request 402$0.001 237 ms
2026-11-06 valid payment request 402$0.001 245 ms
2026-11-04 valid payment request 402$0.001 249 ms
2026-11-03 valid payment request 402$0.001 251 ms
2026-11-02 valid payment request 402$0.001 260 ms
2026-11-01 valid payment request 402$0.001 240 ms
2026-10-31 valid payment request 402$0.001 227 ms
2026-10-29 valid payment request 402$0.001 661 ms

Example input (from the provider)

{
  "body": {
    "category": "ai-infrastructure",
    "merchant_id": "merchant.example",
    "payment_required": {
      "accepts": [
        {
          "amount": "10000",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "maxTimeoutSeconds": 300,
          "network": "eip155:8453",
          "payTo": "0x1111111111111111111111111111111111111111",
          "scheme": "exact"
        }
      ],
      "resource": {
        "description": "Merchant paid resource",
        "mimeType": "application/json",
        "url": "https://merchant.example/api/resource"
      },
      "x402Version": 2
    },
    "request": {
      "body": {
        "task": "example"
      },
      "method": "POST",
      "url": "https://merchant.example/api/resource"
    }
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "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": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON