Explore Tests
Pick a test, point your client at the endpoint, and see exactly what it does. Every test is a link, so you can share one or bookmark it. Testnets only, and nothing is stored.
- Compliant on Base Sepolia
A well-formed x402 v2 challenge. USDC on Base Sepolia.
Your client should Pay it.
- Compliant on Solana
A well-formed x402 v2 challenge. USDC on Solana devnet, paying a base58 address.
Your client should Pay it, or skip it if it is EVM-only.
- v1 network name
A v2 challenge naming the network base-sepolia instead of eip155:84532.
Your client should Refuse it. Seen in the wild on grug402.dev.
- No version field
The challenge omits x402Version entirely.
Your client should Refuse it rather than assume a version.
- Undecodable header
The PAYMENT-REQUIRED header is not valid base64.
Your client should Fail cleanly, and not crash.
- No challenge header
A bare 402 with no PAYMENT-REQUIRED header at all.
Your client should Treat it as unpayable, and not hang.
- Mismatched payTo
The recipient is not the one the endpoint was configured with.
Your client should Notice who it is about to pay.
- Inflated amount
The amount is 1000x the price, still atomic-shaped.
Your client should Catch it against its own maximum, or the asset's decimals.
- Expensive request
A challenge asking $50, far above a sane per-call ceiling.
Your client should Refuse it before signing anything.