In 1992, before the web had images, its inventor Tim Berners-Lee wrote down what HTTP's status codes would mean. Number 402, Payment Required, came with instructions: the server names the charging schemes it accepts, and the client retries with a ChargeTo header.

But then it vanished. HTTP/1.0 became a standard in 1996 without it. The client errors run 400, 401, 403, 404. HTTP/1.1 restored it a year later stripped to one sentence: reserved for future use.

So how does x402 work in 2026?

  1. A seller answers a request (say, asking for the price of a certain stock during the last 7 days) with a price and other payment conditions (all of it, of course, using the 402 code).
  2. The buyer replies to that with a signature matching the payment conditions;
  3. With the optional-but-recommended help from a facilitator, the payment is settled and recorded in the blockchain.
  4. The facilitator informs the seller of the confirmed payment, so they satisfy the buyer's request.

In comparison, a "normal" payment for the same stock price API service would revolve around a person with a bank account. There's a billing address, a fraud check, an onboarding process, a monthly subscription or a pre-paid credit, a potential chargeback, etc. (and enough fees for several parties to make a one-cent charge unthinkable).

So, yeah, to make payments revolve around agents, several things had to change.

x402 enables tomorrow's agentic world, and facilitators are key

The payment infrastructure of the agentic world had to be fast, trustless, irreversible, auditable, and cheap. By using the blockchain and relying on facilitators, x402 manages to achieve all of this, unblocking a new economy where even tenth-of-a-cent charges make economic sense.

At the time of a purchase (specifically, right when the client responds to the 402 code with the payment info), the facilitator sits between the buyer and the seller and verifies the payment and settles it on-chain so the seller never has to run a blockchain node or write verification logic. They essentially process a payment. And since this is the new world, their fees are usually a fraction of a cent.

The protocol states that facilitators never take custody of the money, and since the buyer signs the payment in advance (and the signature covers the amount and the destination), a facilitator that changes either data point produces a payment that fails.

The protocol is also permissionless, so anyone can run a facilitator: there is no approval or vetting. Which is why we score every x402 facilitator we can find.

Why use an x402 facilitator?

Because the alternative is becoming blockchain-fluent, so facilitators allow agentic sellers to focus on their craft.

A seller who skips the facilitator has to do it all in house:

Then build it again for every chain and token they accept, because the mechanics differ. USDC and EURC settle through EIP-3009. Any other ERC-20 goes through Permit2. Solana is a different transaction structure entirely.

Facilitators absorb the whole settlement stack, and the seller ships an endpoint with a price on it and goes back to the thing they actually do. And facilitators might add more on top: gas handling, chain routing, compliance screening, discovery listings, etc. The spec calls a facilitator optional and recommended.

FAQ

Is this just crypto with extra steps?

The crypto sits in the settlement layer and the buyer never sees it. What they see is a price and a payment that clears in seconds, at amounts a card cannot process. It runs on stablecoins because software needs money it can send at three in the morning without a bank in the loop.

How is x402 different from a Stripe or PayPal integration?

Those need an account, a merchant onboarding, and an API key agreed in advance. x402 needs none of that. The seller publishes a price in the response, the buyer pays it, and neither side had to have met before. Software can do that. Paperwork cannot.

What is an x402 facilitator?

The facilitator sits between the buyer and the seller. It checks the payment is real, moves the money, and tells the seller it cleared. Sellers pick one and route everything through it, which makes that choice worth far more scrutiny than it currently gets. We score facilitators at smart402.com/registry.

What is smart402?

We build trust infrastructure for x402. Our Facilitator Trust Registry independently scores every facilitator handling agent payments, using deterministic signals and no model guesswork, so anyone choosing who to trust to route money can see what they are choosing.

Try smart402

Deterministic policy engine for x402 payments. No LLM in the decision path.

All posts smart402.com