Already-expired quote (timeout 0)

Quirk · GET /api/x402/expired-quote · 402 / Challenge Construction

Sets maxTimeoutSeconds to 0, so the quote is dead on arrival.

Explanation

maxTimeoutSeconds is 0, making the quote expire the instant it is issued, so any signature is already stale on arrival. The merchant must advertise a sane validity window. Time-bound quotes are also why the 402 challenge must be sent no-store: an edge cache that replayed an expired quote would compound the problem (see the Edge / CDN Controls category).

What to watch

The signature expires before it can be used.

Facilitator

Settled against the live Radius testnet facilitator (https://facilitator.testnet.radiustech.xyz). A valid payment runs a real /verify and /settle on-chain.

Metadata

Back to catalog