Tap through: how an AI agent pays over HTTP
๐Ÿค–
โ†’
๐Ÿ–ฅ๏ธ
1
The agent asks for something
An AI agent sends a normal web request for a resource โ€” an API call, a dataset, a paid article. No account, no login, no card on file.
๐Ÿ–ฅ๏ธ
โ†’
๐Ÿค–
2
The server answers: 402
HTTP/1.1 402 Payment Required
A real, decades-old status code โ€” reserved since 1997 and almost never used โ€” comes back with a price attached.
๐Ÿค–
๐Ÿ’ธ
๐Ÿ–ฅ๏ธ
3
The agent pays and re-asks
The agent signs a small stablecoin payment, attaches it to the same request, and sends it again โ€” no new account, no checkout page.
๐Ÿ–ฅ๏ธ
โœ…
๐Ÿค–
4
The resource is served
The whole exchange finishes in seconds. On the live network today, the average payment is well under a dollar.
Step-through of the x402 payment handshake ยท Open full version