intents.fi
Guide · 6 min read

x402 payments: how they work, and how to accept them

x402 payments explained: the HTTP 402 flow, headers, facilitators, networks and schemes, and how to accept x402-style payments in any token.

Facts about x402 come from Coinbase's developer documentation, checked on 22 November 2026. Where this page describes Intents Checkout, it says so.

Short answerUpdated · Facts checked

x402 payments use the HTTP 402 Payment Required status code to charge for a web request. The server answers 402 with a price, the client retries with a signed stablecoin payment, and a facilitator verifies and settles it on chain before the server returns the resource. Payments settle to the seller's own address, usually in USDC.

Key takeaways

  • x402 turns a paid API call into one HTTP round trip: a 402, then a retry with payment.
  • A facilitator verifies and settles the payment; it does not hold the money.
  • Most x402 traffic is USDC on Base and Solana, at a few cents per payment.
  • The buyer must hold the exact asset the seller lists.
  • Intents Checkout's agent endpoint is x402-style and takes any accepted token, but it is not an x402 facilitator.

Why HTTP 402 came back

The HTTP specification has reserved status code 402, Payment Required, since the 1990s, without saying how a payment should work. Card payments never fitted it: they need a form, a human and a fee too large for a single request.

Stablecoins changed that. A program can sign a USDC payment in milliseconds, the network settles it in seconds, and the cost on a low-fee chain is a fraction of a cent. x402 is the convention that ties the two together: a server says “pay this much, to this address, in this asset”, and the client does it in the same HTTP conversation.

What x402 standardises:

Part What the spec defines
The ask A 402 response with machine-readable payment requirements
The proof A signed payment payload the client sends on retry
The check Verify and settle APIs a facilitator exposes
The receipt A settlement response the server returns with the resource
Networks CAIP-2 identifiers, such as eip155:8453 for Base, in version 2

The headers, version 1 and version 2

Coinbase’s documentation describes the current version, x402 v2, as using three headers, each carrying base64-encoded JSON:

Direction Version 2 Version 1
Server to client, with the 402 PAYMENT-REQUIRED Requirements in the response body
Client to server, on retry PAYMENT-SIGNATURE X-PAYMENT
Server to client, with the resource PAYMENT-RESPONSE X-PAYMENT-RESPONSE

Many tutorials still show version 1. If you are writing a client, handle both; if you are writing a server, use the client library your facilitator recommends so the format stays current.

Schemes: exact, upto and batches

A scheme says how the amount is settled. Coinbase’s facilitator lists three:

  • exact: the price is known before the request runs. The buyer signs for exactly that amount.
  • upto: the buyer authorises a ceiling, and the seller settles what the request actually cost. This suits metered work such as model inference, where the token count isn’t known in advance.
  • batch-settlement: several payments settled together, EVM only.

On EVM chains the buyer usually signs an EIP-3009 authorisation (transferWithAuthorization), which lets the facilitator move the tokens and pay the gas. That is why an x402 buyer can hold only USDC and nothing else. Tokens without EIP-3009 use Permit2, which needs a one-time approval.

What x402 traffic looks like

x402 is used, but mostly for very small amounts, and the totals are smaller than the headline counts.

  • About 5.1 million payments worth roughly $274,000 in October 2026, according to agenteconomy.to data reported by Fireblocks. That is about five cents a payment.
  • More than 87% of payments in the 16 months to September 2026 were between a hundredth of a cent and ten cents, per Chainalysis, cited in the same report.
  • About 45% of lifetime transactions were on Base. More than half of the lifetime total came from a token-minting loop in late 2025.

The limit merchants hit: one asset

Standard x402 asks the buyer to pay the exact asset the seller lists, usually USDC on one network. That is fine for agents built around a Coinbase or Solana wallet. It shuts out buyers who hold something else: USDT on Tron, ETH on Arbitrum, SOL.

Intents Checkout takes the other approach. Every invoice has an agent endpoint that answers 402 with every asset the invoice accepts, and routes whichever one the agent picks into the merchant’s settlement stablecoin. The trade-offs are real:

Gain Cost
Any accepted token Agents holding other assets can pay The buyer pays network gas for an ordinary transfer
An invoice per payment Same webhooks and dashboard as human payments Not suited to sub-cent, per-request billing
A deposit address No signature format to support Off-the-shelf x402 clients need code for the intents-deposit scheme

If you charge per API call, run standard x402 with a facilitator. If you sell goods, plans or credit packs and want agents to be able to pay, the agent endpoint costs nothing extra: it is on every invoice, at the same 0.4% rate. Selling credit packs is often the best of both, as our page on crypto micropayments explains.

Accepting payments from agents with Intents Checkout

There is nothing to enable. Create an invoice from the dashboard, a payment link or the checkout API, and hand the agent its ID. The agent:

  1. Calls POST /v0/checkout/{id}/agent with no body and reads accepts[].
  2. Calls it again with an asset, mode: "transfer" and a refundTo address on that asset’s chain.
  3. Sends exactly display.amountBaseUnits to display.address, with display.memo if one is set.
  4. Polls the attempt until invoiceStatus is paid.

The amount in the first 402 is indicative; the binding amount comes back in step 2. The agent docs have the full request and response, and the overview of AI agent payments compares x402 with the other agent rails.

Standard x402 and the Intents Checkout agent endpoint

They look alike on the wire: both answer an unpaid request with 402 and a list of accepted payments. They differ in what is paid, in what, and by whom.

Standard x402 and the Intents Checkout agent endpoint
Compared onStandard x402 (exact scheme)Intents Checkout agent endpoint
What is being paidOne HTTP requestOne merchant invoice
Schemeexact, upto or batch-settlementintents-deposit
What the buyer signsAn EIP-3009 or Permit2 authorisation; no gas for EIP-3009 tokens BetterAn ordinary transfer to a deposit address; the buyer pays network gas
Assets the buyer can pay withThe asset and network the seller listsEvery asset the invoice accepts, on EVM chains, Solana, Tron and more Better
What the seller receivesThe asset the buyer paidUSDC or USDT on the chain the merchant chose, or native bitcoin Better
Smallest practical paymentA fraction of a cent Better$1
Works with off-the-shelf x402 clientsYes BetterNo: the client must handle the intents-deposit scheme
Refund if it failsNothing settles if verification failsReturned to the refund address the agent gave
CustodySettles to the seller's addressSettles to the merchant's address

How it works

  1. 1ClientThe client asks for the resourceAn ordinary HTTP request to a paid endpoint, from an agent, a script or a browser.
  2. 2ServerThe server answers 402402 Payment Required with a PAYMENT-REQUIRED header: price, asset, network, the address to pay and the schemes it accepts.
  3. 3ClientThe client signs a paymentFor EIP-3009 tokens such as USDC it signs an authorisation, not a transaction, so it needs no gas token. It retries with the signed payload in PAYMENT-SIGNATURE.
  4. 4FacilitatorThe facilitator verifiesThe server passes the payload to a facilitator's verify API, which checks the signature, amount and balance. Verification is free on Coinbase's facilitator.
  5. 5ServerThe server does the workOnce verified, it runs the request: the data lookup, the inference, the file.
  6. 6FacilitatorThe facilitator settlesIt submits the transfer on chain and pays the gas. The money goes straight to the seller's payTo address.
  7. 7ServerThe client gets the resourceThe response carries the result and a PAYMENT-RESPONSE header confirming settlement.

Checklist

0 of 7 done

Paying an invoice x402-style

Pay an Intents Checkout invoice as an agent · bash
# 1. Ask what the invoice accepts. No body, no key.
curl -s -X POST https://api.intents.fi/v0/checkout/inv_3QkR7mVt9zLpXdB2hJn6Yw/agent
# -> 402 Payment Required, with accepts[] (scheme "intents-deposit")

# 2. Pick an asset and ask for a deposit address.
curl -s -X POST https://api.intents.fi/v0/checkout/inv_3QkR7mVt9zLpXdB2hJn6Yw/agent \
  -H 'content-type: application/json' \
  -d '{"asset":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/slip44:501","mode":"transfer","refundTo":"7mQ4pVxLdR2nKjYb9sWcTfA6uZgE3hN8rJpXvB5qDkMt"}'
# -> 201, with display.address and display.amountBaseUnits

# 3. Send exactly display.amountBaseUnits, then poll until invoiceStatus is "paid".

Questions

Short answers. The docs go deeper.

What is x402?

An open protocol for paying for web requests with stablecoins. It was incubated at Coinbase, launched in May 2025, and moved to a foundation under the Linux Foundation in April 2026. It uses the HTTP 402 status code, which had been reserved but unused since the early web.

What is an x402 facilitator?

A service that checks a signed x402 payment and submits it on chain for the seller. It verifies the signature and amount, settles the transfer, pays the gas and reports the result. It does not hold the money: settlement goes to the seller's own address.

How much does an x402 facilitator cost?

Coinbase's hosted facilitator is free up to 1,000 settlements a month and charges a small flat fee per settlement above that, according to its documentation. Verification is always free, and failed settlements are not billed. You can also run your own facilitator.

Which networks and tokens does x402 support?

Coinbase's facilitator lists Base, Polygon, Arbitrum, Monad and World on EVM, plus Solana. It accepts ERC-20 tokens through EIP-3009 or Permit2 and SPL tokens on Solana. In practice most payments are USDC on Base and Solana.

Can an agent pay x402 with any token?

Not with standard x402: the buyer pays the asset the seller lists. Intents Checkout's agent endpoint lists every asset an invoice accepts, so an agent holding ETH, SOL or USDT can pay a USDC invoice. That endpoint uses its own `intents-deposit` scheme, not `exact`.

Is Intents an x402 facilitator?

No. Intents Checkout's agent endpoint is x402-style: it answers 402 with what an invoice accepts, then gives a deposit address. It doesn't verify or settle `exact` payments for other sellers. If you run an x402 API, use a facilitator; if you sell by invoice, use the agent endpoint.

What is the difference between x402 and MPP?

Both use HTTP 402. x402 settles each request on its own. MPP, launched by Stripe and Tempo on 18 March 2026, adds sessions in which an agent sets funds aside and streams many small payments that settle together, and it can also carry card payments through Stripe.

Get paid in your own wallet.

Customers pay in what they hold. You receive USDC or USDT on the chain you choose, or native bitcoin. We never hold your funds.