ToolAssay

Authorize an autonomous agent's real x402 merchant challenge against an operator

Authorize an autonomous agent's real x402 merchant challenge against an operator-issued policy. Payment for this trust check settles only when the authorization handler succeeds.

Answeringour last check, 2026-10-18
1 of 1checks answered this week
246 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/authorize

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

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-18 valid payment request 402$0.001 246 ms

Example input (from the provider)

{
  "body": {
    "category": "ai-infrastructure",
    "merchant_id": "merchant.example",
    "payer": "0x2222222222222222222222222222222222222222",
    "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
    },
    "policy_token": "signed-agent-policy-token",
    "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": {
            "ap2_evidence": {
              "description": "Optional AP2 v0.2 mandate evidence and challenge token for native verification.",
              "type": "object"
            },
            "category": {
              "description": "Purchase category used by the operator policy.",
              "type": "string"
            },
            "merchant_id": {
              "description": "Stable merchant identifier used by the operator policy.",
              "type": "string"
            },
            "nonce": {
              "type": "string"
            },
            "payer": {
              "description": "EVM address that would sign/pay the merchant transaction.",
              "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"
                }
              ]
            },
            "policy_token": {
              "description": "Operator-issued signed policy credential for the buying agent.",
              "type": "string"
            },
            "request": {
              "description": "Exact HTTP request the agent intends to make after authorization.",
              "properties": {
                "body": {},
                "method": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              },
              "required": [
                "method",
                "url"
              ],
              "type": "object"
            }
          },
          "required": [
            "policy_token",
            "payment_required",
            "merchant_id",
            "category",
            "payer",
            "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