Blockchain IQ

Smarter research for the on-chain economy.

← x402 Glossary

Core Protocol

HTTP 402 Payment Required

Also: 402, 402 status code

HTTP 402 is a status code reserved since the early web for "payment required" and almost never used until x402 gave it a job. In x402 the server returns it with the price and the accepted ways to pay; a client that can pay answers with a signed payment on the next request.

In the spec x402 v2 specification, §2 Core Payment Flow

Related terms

More in Core Protocol

General education, not investment, legal or tax advice. The protocol is young and changes: check the current x402 specification before you build on a detail.

Get updates from Blockchain IQ.

New research, notable moves, and what we’re watching. No more than a few emails a month, and nothing else — we don’t sell or share your address.

We’ll only use it to send you these updates. Unsubscribe any time; see our privacy policy.