{"slug":"beggar-bot-demand-beggarbot-workers-dev-v1-payment-header-cfe40c","title":"Payment header decoder and x402 payment header debugger","host":"beggar-bot-demand.beggarbot.workers.dev","method":"POST","resource":"https://beggar-bot-demand.beggarbot.workers.dev/v1/payment-header","category":"other","description":"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. Paymen","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":266,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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"},"output_schema":{"$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"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":266,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":256,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":271,"error":null}],"description_full":"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.","last_updated":"2026-11-26T12:41:16.83Z","schemes":["exact"]}