HTTP 402 (Payment Required) is the response status code intended to let an HTTP server indicate that access to a resource depends on payment. The idea appears in early Web protocol material, but the published HTTP standards left the code's payment semantics reserved for future use. A status number alone could not tell a browser what to pay, whom to pay, how to prove payment or whether it should retry. W3C historical status-code document RFC 9110, section 15.5.3
The code provides a useful route between the 1990s payment experiments, including JEPI and Micropayment Markup, and later machine-readable requests for Bitcoin or other digital payments. It is not itself a coin, a wallet, a payment rail or evidence that browsers ever shared a working micropayment system.
An early charging proposal, and its dating problem
A W3C-hosted historical status-code page labelled 1992 describes PaymentRequired 402 with a response parameter listing acceptable charging schemes. It envisages a client retrying with a ChargeTo header. This is substantially more concrete than the familiar one-line reservation in later RFCs: there is a proposed discovery step and a named request header.
The page's date needs caution. It carries a 1992 label but also contains an editorial note about changes made on 19 September 1994. It is therefore not an authenticated, frozen snapshot of the complete text as it stood in 1992. The surviving document establishes an early Web payment proposal; independently dating the precise addition of 402 and ChargeTo remains open. Nor does this document provide evidence of an interoperable implementation.
On 3 August 1995, the HTTP/1.0 Internet-Draft by Tim Berners-Lee, Roy Fielding and Henrik Frystyk Nielsen listed 402 in its status-code grammar but said that it was not currently supported and reserved for future use. Unlike the earlier W3C page, it did not specify ChargeTo behaviour. HTTP/1.0 Internet-Draft -01, 3 August 1995
The final May 1996 HTTP/1.0 description, RFC 1945, listed only codes generally recognised in practice and omitted 402 from its status-code list. This is important when assigning a supposed 1996 standards birthday: an earlier draft's inclusion and the final informational RFC's omission are both part of the record. RFC 1945, section 6.1.1
The January 1997 HTTP/1.1 specification, RFC 2068, included 402 Payment Required in its status list and explicitly reserved it for future use. The same wording survived into the June 2022 HTTP Semantics standard, RFC 9110. These are direct protocol records; neither defines a required payment message or a browser payment flow. RFC 2068, section 10.4.3 RFC 9110, section 15.5.3
The 1990s problem was bigger than a response code
JEPI tried to negotiate between payment methods using HTTP extensions; its 1997 demonstration still used emulated transactions. The later Micropayment Markup Working Draft tried to describe priced links to multiple wallets in an HTML page, while leaving the wallet-invocation interface and settlement to other work. These were different approaches to payment discovery. Nothing in their preserved documents establishes an implemented standard 402 payment flow or direct technical descent from the early ChargeTo idea. W3C JEPI white paper, 9 April 1997 W3C Micropayment Markup Working Draft, 25 August 1999
A separate 1996 effort, Agora, proposed embedding signed quotes and purchase acceptances in existing HTTP menu and page requests. Its authors reported a Netscape/NCSA prototype, but did not describe it as an implementation of HTTP 402 or ChargeTo. It is evidence that experimental Web payments could be engineered without the reserved status code. Gabber and Silberschatz, 1996
Later attempts to give 402 a protocol
On 31 October 2017, Adrian Hope-Bailie's HTTP-Payments Internet-Draft proposed returning payment methods through a Pay header in a 402 response, with further Pay-Token and Pay-Balance fields. Its examples included Bitcoin as a possible method. The submission described itself as an experiment influenced by W3C Web Payments and Interledger; the IETF archive now records it as expired. Publication as an individual Internet-Draft is not adoption as an RFC. Original 2017 draft IETF document register
The x402 project's reference implementation takes a different, software-led route, using HTTP 402 responses and client payment credentials to request access to paid resources. Its maintained repository contains software development kits and specifications for distinct payment networks and schemes. That is direct evidence of published code and a protocol project, not evidence that the IETF has adopted x402 as HTTP's universal payment semantics. Coinbase's original repository now expressly identifies itself as a development fork of the foundation repository.
The Payment-authentication draft has an earlier name-history than its September edition suggests. Brendan Ryan, Jake Moxey, Tom Meagher, Jeff Weinstein and Steve Kaliski first published draft-ryan-httpauth-payment-00 on 15 February 2026, with Experimental as its intended status. Their March -01 edition changed the stated intended status to Standards Track while retaining the 402 / WWW-Authenticate: Payment / Authorization: Payment design. The IETF history register dates the March upload to 17 March, while the document itself is dated 18 March. These are intended-status labels on working drafts, not evidence of IETF approval. Original series history February original text March text
The same five authors then published draft-httpauth-payment-00 on 19 June and -01 on 9 September under a different draft identifier. The IETF records the older draft-ryan-... series as expired on 18 September, while the newer draft-httpauth-payment series remained an active individual Internet-Draft at the archive's 28 October 2026 check. The shared authors, title and payment-challenge design establish a clear documentary relationship, but the separate draft names and statuses should not be collapsed into one continuous IETF document number. No RFC adoption follows from either register. Earlier series status Newer series status
Two 2026 individual Internet-Drafts illustrate the unsettled standards boundary. Mark Nottingham's ''The 402 (Payment Required) HTTP Status Code'' is dated 30 August 2026 (with the IETF document-history register recording posting on 18 October). It proposes general semantics for a response that requires payment, without choosing the currency, method or payment duration. Brendan Ryan and coauthors' ''The "Payment" HTTP Authentication Scheme'', revision -01 dated 9 September 2026, goes further: it proposes WWW-Authenticate: Payment challenges, payment credentials and receipts, with settlement methods specified separately. Both were active individual drafts as checked in October 2026, not completed Internet standards. Their overlapping subject matter does not make them identical specifications. Nottingham, draft -00 Ryan et al., draft -01
Security and agency
The September 2026 Payment-authentication draft includes an important proposed accommodation for sites that already authenticate users. In addition to the default Authorization: Payment, the server can select Payment-Authorization explicitly in its payment challenge, leaving an existing Authorization: Bearer credential in place. The client must use the selected field, rather than choosing its own. The same draft cautions that normal shared-cache protections for Authorization do not automatically apply to the alternate header. These are draft protocol requirements and cautions, not demonstrated browser behaviour or a deployed standard. Ryan et al., September 2026, sections 4.5, 5.1, 5.2 and 11.10
A machine that can read a price still needs policy about whether it should pay. Nottingham's 2026 draft calls out intermediary-injected payment demands, substituted payee details and a server asking for money again after payment. It advises an authenticated connection and limits on automated spending. These are risks identified in a proposed specification, not findings that a named system was exploited. An actual payment implementation also needs to bind an amount, payee and resource to an authorisation and decide how to prove settlement. Nottingham, sections 2 and 4
From the archivist's desk
I expected the trail to begin with the familiar reserved status code. Instead, the older W3C page contained a sketch of charging-scheme negotiation and a ChargeTo retry. Then an August 1995 draft called 402 unsupported, and the final HTTP/1.0 RFC omitted it altogether. The paper trail is more interesting than a story about a feature simply waiting untouched for thirty years.
The recent implementations answer some questions that JEPI's contemporaries were already asking. They also leave an old distinction intact: a server can ask for payment, a client can understand the request, and neither fact alone proves that a particular transfer will be authorised, settled and honoured.
Sources and evidence
- W3C, historical ''Status codes in HTTP'' — primary historical protocol page labelled 1992; also contains a later 1994 note;
PaymentRequiredandChargeTowording, without secure line-level date provenance. - Tim Berners-Lee, Roy Fielding and Henrik Frystyk Nielsen, HTTP/1.0 Internet-Draft -01, 3 August 1995 — first-party draft reserving unsupported 402.
- RFC 1945, ''HTTP/1.0'', May 1996 — published informational RFC listing recognised codes without 402.
- RFC 2068, ''HTTP/1.1'', January 1997 — official RFC 402 reservation.
- RFC 9110, ''HTTP Semantics'', June 2022 — current established semantics as of October 2026 still reserve 402.
- W3C, JEPI white paper, 9 April 1997 — contemporary participant account of another HTTP payment-negotiation approach.
- W3C Micropayment Markup Working Draft, 25 August 1999 — separate HTML paid-link proposal.
- Adrian Hope-Bailie, ''HTTP-Payments'', 31 October 2017 — expired individual draft with 402 payment headers and Bitcoin among examples.
- x402 Foundation reference implementation — contemporary project repository, software and specifications; not an IETF RFC.
- Mark Nottingham, ''The 402 (Payment Required) HTTP Status Code'', draft -00, 2026 — individual draft proposing general semantics and security limits.
- IETF submission history for Nottingham's draft — documents October 2026 posting distinct from the draft's August document date.
- IETF, history of
draft-ryan-httpauth-payment— February and March submissions and the 18 September expiry of the original document series. - Ryan et al., February 2026 draft -00 — first located Payment-authentication draft under the original identifier, intended Experimental; March -01 — intended Standards Track.
- Ryan et al., June 2026 draft under the shorter identifier — the separately numbered successor publication.
- Brendan Ryan et al., ''The "Payment" HTTP Authentication Scheme'', September 2026 -01 — active individual draft at the October check, including the proposed alternate credential header and cache caveat.
Related pages
Open research
Find dated independent captures of the original W3C
PaymentRequired/ChargeTo prose. The current historical page is labelled 1992 but includes at least one 1994 editorial addition.Find contemporary browser or server code actually emitting or consuming
ChargeTo, rather than projecting modern 402 practice backwards onto a protocol sketch.Track the eventual IETF disposition of the 2026 402 and Payment-authentication drafts, and compare their security and payment-method boundaries with deployed x402 implementations without assuming a single descendant standard.