Live demo
Put a price on a response
Paste something your agent would sell and set a fee. You'll get a gated page that shows a teaser until the 402 is paid.
This demo stays in your browser and simulates the payment. In production, requirePayment() answers any request without a valid X-PAYMENT header with a 402, and agents pay in USDC on Robinhood Chain.