Back to all glossary terms

x402

An open protocol that uses the HTTP 402 Payment Required status to let servers and AI agents request and receive on-chain payments inline with requests.

FBFenwei BianAuthorVZVictor ZhouEditorMay 22, 2026
  • glossary

x402 is an open protocol that revives the long-dormant HTTP 402 "Payment Required" status code as a structured way for servers, agents, and clients to demand and pay for on-chain payments inline with normal HTTP interactions. When a resource is gated by x402, a 402 response carries the price, the accepted assets (typically stablecoins), the recipient address, and the facilitator URL; the client pays on-chain and retries the request with proof of payment. x402 matters to tokenized domains because it lets agents and apps using a domain as their identity collect payments cleanly — and because the controlling wallet of a tokenized domain doubles as a payment endpoint. See Route 402 for the deeper write-up. Official site: x402.org.

Related keywords

  • HTTP 402
  • payment required
  • on-chain payments
  • agent payments
  • crypto payments
  • micropayment
  • x402
  • what is x402
  • x402 meaning
  • x402 definition

Contributors

Fenwei Bian

Software Developer & Writer • Namefi
Author

Fenwei Bian is a software developer in her thirties who spends her working hours in pull requests and her weekends with her hands in soil or sawdust. Years of open source on GitHub taught her that names are interfaces: a good one is clear, honest about what it does, and kind to whoever has to use it next.

She gardens because it rewards patience and punishes wishful thinking, and she does woodwork because a joint either fits or it doesn't. Both habits show up in how she writes about naming — measure twice, check the source, and don't sand over a rough spot and hope no one notices.

For Namefi she writes about how domain markets actually move, the practical trade-offs of tokenizing and flipping names, and picking a domain you'll still be glad you own in twenty years.

Victor Zhou

Founder & Standards Editor • Namefi
Editor

Victor Zhou is a technology founder and standards editor focused on digital identity and trust. He founded Namefi, edits Ethereum Improvement Proposals, and previously led smart-contract architecture work at Google Labs.

His work sits at the intersection of naming, ownership, and the systems people use to establish identity online. That perspective makes him especially interested in the way names move between personal meaning, public recognition, and digital infrastructure.

For Namefi, Victor edits and writes about domains as durable digital identity: how names become ownable onchain assets, how tokenization changes custody and trust, and what naming can learn from the systems people use to establish identity online.

Related guides