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