402 Response Builder
Generate a client-side x402 v2 PAYMENT-REQUIRED response, Base64 header value, decoded JSON object, and retry curl shape.
Open toolFree x402 tools
These tools are client-side only. Generate a v2 402 response, compare x402 pay-per-use economics, or decode Base64 payment headers without creating an account or sending payloads to a server.
Generate a client-side x402 v2 PAYMENT-REQUIRED response, Base64 header value, decoded JSON object, and retry curl shape.
Open toolCompare pay-per-use x402 API revenue against subscription or API-key pricing with dated fee assumptions you can edit.
Open toolDecode Base64 x402 PAYMENT-SIGNATURE, PAYMENT-REQUIRED, PAYMENT-RESPONSE, or legacy X-PAYMENT values entirely in the browser.
Open toolRelated reading
A step-by-step map of the x402 v2 request flow, including PAYMENT-REQUIRED, PAYMENT-SIGNATURE, and PAYMENT-RESPONSE.
How to decide what to protect with x402, configure route requirements, choose a facilitator, and test paid API endpoints.
Compare x402 pay-per-use API payments with subscriptions, API keys, prepaid credits, and card-based payment processors.
A field guide to x402 v2 PAYMENT-REQUIRED, PAYMENT-SIGNATURE, PAYMENT-RESPONSE, Base64 JSON values, and legacy X-PAYMENT migration.