Every reply a website sends begins with a three-digit status code. Most people have met 404, "Not Found." Fewer have met 402, "Payment Required," which has been in HTTP's rulebook since 1997 with no agreement on what it is for. At the November 20 meeting of the working group that maintains HTTP, a participant asked whether anyone remembered why it had been reserved. The scribe wrote down the answer: "unclear."
Much of the answer was on the screen at that moment. Mark Nottingham's slides for the session reproduced the original text from Tim Berners-Lee's November 1993 draft:
"The parameter to this message gives a specification of charging schemes acceptable. The client may retry the request with a suitable ChargeTo header."
In plainer terms, the server lists the ways it will accept payment, and the browser tries again with account details attached. What those details should look like was, according to a companion page, "TBS": to be specified.
That was a reasonable thing to leave open in 1993, when there was nothing on the web to pay with. The sensible move was to sketch the outline and leave the money to whoever eventually built it. Berners-Lee did recommend one safeguard: the client should state the maximum cost it had authorized for the request. The limit applied to a single request, and the draft assumed a person stood behind every request that cost money.
A 1994 draft then cut 402 down to "reserved for future use." The first HTTP standard, in 1996, dropped the code; the next one, in 1997, put it back, still empty. The drafts record these edits but not the reasons for them.
The vacancy lasted because it was cheap. HTTP tells software that receives an unfamiliar code to treat it as a generic error from the same family, so an unused number broke nothing and gave no one much reason to settle what it meant.
That changed in 2025. Coinbase's x402 uses the code to quote a price and a cryptocurrency address to send it to; the client asks again with the payment attached. Cloudflare's Pay Per Crawl, still in closed beta, quotes AI crawlers a price in dollars and bills their accounts when they agree. Beyond the number, the two schemes have little in common: they ask for different information and move money in different ways.
Nottingham calls these competing claims "squatting." His draft would give 402 a deliberately thin meaning (payment is required and none acceptable has been made) without naming any particular scheme. At the meeting he argued against deprecating the code, since people already use it. Tying 402 to one scheme would, in effect, choose a payment system for the web through the wording of a single status code.
So the terms of an automated purchase have to be worked out somewhere else. Cloudflare lets crawlers state a maximum price per page, which is close to what Berners-Lee proposed in 1993. That stops a program from paying ten dollars where it was allowed ten cents, but not from paying ten cents ten thousand times. Nottingham's draft notes that clients paying "without direct human involvement need constraints on how much, how often, and to whom they will pay."
A per-request limit made sense for the web the 1993 draft imagined, where a person chose each paid click and that person's attention capped how often money changed hands. Take the person away and none of the remaining parties has much reason to set that cap: the site being paid wants payment to be easy, the crawler was built to keep fetching, and the owner of the budget is often the last to see the total.
The blank Berners-Lee left for money is now being filled in several times over, with his per-request limit carried along inside. What the clicking person used to provide, a sense of how many requests and to whom, has no agreed place in the exchange yet. Where that limit ends up will probably decide who absorbs the cost when nobody sets one. For now, it falls to the owner of the budget.
-
The 1995 payment draft: Donald Eastlake's Internet Payment Framework draft proposed pairing 402 with cost headers and receipts, and told browsers retrying after an error to resend the identical payment rather than add more funds.
-
Why negotiation stalled: The 1997 JEPI white paper explains why an earlier effort to negotiate payment over HTTP never took hold, citing unstable extension machinery, underestimated integration work and thin demand.
-
A second draft scheme: The "Payment" HTTP Authentication Scheme proposes a fuller challenge-and-credential exchange on 402, and it separates an unmet payment challenge from a valid payment that is still refused access.
-
An early direct reference: The 1999 Secure HTTP specification, RFC 2660, treated 402 as a payment-scheme failure while explicitly declining to support the payment mechanisms themselves.

