AWS is putting the long-unused HTTP 402 code to work through x402 agent payments, giving agents a way to pay for paywalled content on their own.
Senior solutions architect Anil Nadiminti demoed the setup at AI Engineer, framing it as AWS's agent e-commerce track for paywalled publishers.
How the paywall stall actually works
An agent hits a paywall and stalls. It has no wallet, no card, and no way to clear a micro cent transaction.
The server now returns 402 Payment Required, including a price and a payment rail, instead of blocking the request or handing over content for free.
The agent picks a method, signs an authorization, and the server uses a facilitator to verify and settle onchain before releasing content.
