Test Your x402 Client

A step-by-step guide to running your x402 test app against a live testnet sandbox — compliant endpoints first, then the quirks that reveal edge-case bugs.

  1. Point your client at a compliant endpoint: GET /api/x402/compliant-get and confirm a well-formed 402 challenge.
  2. Sign and retry the payment; confirm a 200 response with a PAYMENT-RESPONSE receipt.
  3. Throw a protocol quirk at it: GET /api/x402/status-401 and confirm your client fails safely.
  4. Automate it with radius-cli, the pay script, or the imported Postman/Insomnia/OpenAPI collection.

Open the full catalog · Example endpoints · x402 glossary