All tests
deliberately brokenx402

Version as a string

An x402 challenge whose x402Version is the string "2" where the spec requires the number 2.

Your client should Refuse it rather than coerce the version and carry on.

Protocol
x402
Network
Base Sepolia
Price
0.0001 USDC
Scheme
exact
Facilitator
x402.org
Behavior
Version as a string

x402Version is the string "2" rather than the number 2. A client validating the literal refuses it; one that coerces sails past a real type error.

Customize this test