ToolAssay

Payment header decoder and x402 payment header debugger

Payment header decoder and x402 payment header debugger: paste an X-PAYMENT (v1) or PAYMENT-SIGNATURE (v2) header, get the decoded payload, recovered EIP-3009 signer, time-window check and a field-by-field match against the 402 requirements - find out why a payment was rejected. Pure compute. Payment settles only after a successful (2xx) response; input errors are never charged.

Answeringour last check, 2026-11-28
3 of 3checks answered this week
266 msmedian answer time
$0.02listed price per call
$0.02price 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://beggar-bot-demand.beggarbot.workers.dev/v1/payment-header

CategoryEverything else
Provider hostbeggar-bot-demand.beggarbot.workers.dev
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-11-28 valid payment request 402$0.02 266 ms
2026-11-27 valid payment request 402$0.02 256 ms
2026-11-26 valid payment request 402$0.02 271 ms

Example input (from the provider)

{
  "body": {
    "header": "eyJ4NDAyVmVyc2lvbiI6MSwic2NoZW1lIjoiZXhhY3QiLCJuZXR3b3JrIjoiYmFzZSIsInBheWxvYWQiOnsic2lnbmF0dXJlIjoiMHhmOTU5MDRhZWMzNWZmOGRkYTM4ZGQwYmFmNGI4NTgzNzM4MDc1NmNjYWZiYjQ3ODJiODVmYTk2MzAyOTkwNGMxNDg5N2JlYWZiYTA5YzY1NmUwNWE1ZTMyNzRkNjhkODg3MjA2NDBhYmVlNWEyYjY2M2M2NjIxOWI1NTA3MTliNjFjIiwiYXV0aG9yaXphdGlvbiI6eyJmcm9tIjoiMHgxOUU3RTM3NkU3QzIxM0I3RTdlN2U0NmNjNzBBNWREMDg2REFmZjJBIiwidG8iOiIweDcxOTIyN2YzODRiNjZCRkVGMDAwOTNENmQ4ZDMyZkE5ZEMyQjQwZTciLCJ2YWx1ZSI6IjIwMDAwIiwidmFsaWRBZnRlciI6IjAiLCJ2YWxpZEJlZm9yZSI6IjE4OTM0NTYwMDAiLCJub25jZSI6IjB4YWJhYmFiYWJhYmFiYWJhYmFiYWJhYmFiYWJhYmFiYWJhYmFiYWJhYmFiYWJhYmFiYWJhYmFiYWJhYmFiYWJhYiJ9fX0=",
    "requirements": {
      "accepts": [
        {
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "extra": {
            "name": "USD Coin",
            "version": "2"
          },
          "maxAmountRequired": "20000",
          "network": "base",
          "payTo": "0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7",
          "scheme": "exact"
        }
      ],
      "x402Version": 1
    }
  },
  "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": {
            "header": {
              "description": "base64 X-PAYMENT or PAYMENT-SIGNATURE value",
              "type": "string"
            },
            "now": {
              "description": "optional unix seconds",
              "type": "number"
            },
            "requirements": {
              "description": "402 body / PAYMENT-REQUIRED header / accepts[]",
              "type": "object"
            }
          },
          "required": [
            "header"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "issues": {
          "description": "",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "payer": {
          "type": "string"
        },
        "signature_check": {
          "type": "object"
        },
        "valid": {
          "type": "boolean"
        },
        "value_usdc": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON