Price changes every request

Quirk · GET /api/x402/changing-price · 402 / Challenge Construction

Increases the advertised amount on every request.

Explanation

The advertised amount increases on every request, so the quote a client signs may no longer match what the server expects at settle time. The merchant's pricing must stay stable for the life of a quote. This is also why challenges must never be edge-cacheable (Cache-Control: no-store): a shared cache that stored one price would replay a stale quote to later clients (see the Edge / CDN Controls category).

What to watch

The quote a client signs may no longer match the server at settle time.

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