The Dead Status Code That Became the Agent Economy's Backbone

The technical heart of this whole moment is a forgotten line in the HTTP spec. The 402 'Payment Required' status code was reserved decades ago but never put into general use — until Coinbase's x402 protocol repurposed it as a built-in payment mechanism for web resources [1]. The flow is elegant in its mundanity: an agent requests a paid resource, the server responds with HTTP 402 plus payment instructions, the agent signs a payment payload and retries the request with an X-PAYMENT header, and receives the resource — all without human intervention [2]. The payment itself is the authentication, which means agents skip API keys and prepaid tiers entirely. Built on EIP-3009 transferWithAuthorization, settlement on Base with USDC takes about 200 milliseconds and costs less than a fraction of a cent per transaction [3]. That last detail is the unlock: legacy card rails physically cannot process sub-cent payments profitably, which is precisely why a new layer had to be invented rather than retrofitted.



