Payment Decoder
100% in your browser · data never leaves your device
Paste a raw PAYMENT-REQUIRED header (base64) or a 402 challenge body and get the structured fields back: scheme, network, asset, amount, payTo, resource, deadline and extra. A pure local parse — nothing leaves your browser or the worker.
How to use
- Copy the PAYMENT-REQUIRED header or the 402 JSON body from any endpoint.
- Paste it into the field.
- Decode — see the structured payment requirements.
- Check the field-validity flag (challenge_valid = fields, not signature).
- Agents call the paid POST /api/payment-decoder endpoint ($0.001).
Where it applies
- Understanding a challenge before deciding to pay.
- Feeding raw 402 output from 402 Probe into a structured form.
- Auditing what a service really requires (asset, network, payTo).
- Building payment payloads from decoded requirements.