payment_header
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. Paid: $0.02 USDC via x402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"header": "<header>"
},
"name": "payment_header"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | optional unix seconds | |
| header | Yes | base64 X-PAYMENT or PAYMENT-SIGNATURE value (or decoded JSON) | |
| requirements | No | 402 body / PAYMENT-REQUIRED header / accepts[] / one requirement |