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

  1. Copy the PAYMENT-REQUIRED header or the 402 JSON body from any endpoint.
  2. Paste it into the field.
  3. Decode — see the structured payment requirements.
  4. Check the field-validity flag (challenge_valid = fields, not signature).
  5. 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.