x402 isn’t good (yet) — Jan Curn, Apify
- Source
- youtube.com
- Publisher
- AI Engineer
- Author
- AI Engineer
- Date
Context
A verified payment is not necessarily a collected payment. In this Apify talk, Jan Curn describes the gap in , a protocol that uses the long-dormant HTTP 402 status code so a can ask an agent to pay. Between the moment a server verifies a payment signature and the moment it settles on the blockchain, nothing stops the buyer spending that money elsewhere, and a can create a thousand signatures against one wallet. A seller who starts real work on the strength of verification is therefore exposed.
As described, the safe approach is to start the work only after settlement, which suits a fixed-price call but is awkward for slower jobs. For work whose final cost is unknown, Apify charges the full amount first and refunds the remainder. That costs a second blockchain transaction and makes the buyer rely on the seller to return the unused balance.
- x402 — A payment protocol built on HTTP's long-unused 402 status code, letting a server charge per request so software agents can pay without an account.
- Server — Software that receives requests, processes them and returns responses; the computer running it is its host.
- Client — The program that sends a request to a server and receives its response.
- Model Context Protocol (MCP) — A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.






