Blog, by , , 8 min read

x402 vs MPP: two ways to answer HTTP 402

x402 and MPP, the Machine Payments Protocol from Stripe and Tempo, both start with HTTP 402. Where each puts the price, who settles, and which to accept.

8min read
On this page
  1. The two challenges side by side
  2. Paying and the receipt
  3. Intents, minimums and fees
  4. Discovery: catalogs versus an OpenAPI file
  5. Which one to accept
  6. Frequently asked questions

Short answer: x402 and MPP (the Machine Payments Protocol) solve the same problem, an agent paying for one HTTP request without an account, and both begin with a 402 Payment Required. They differ in where the terms travel and who settles. x402 puts a base64 JSON challenge in a PAYMENT-REQUIRED header, the client answers with a signed stablecoin authorization in PAYMENT-SIGNATURE, and a facilitator settles it on-chain. MPP reuses the HTTP authentication framework: a WWW-Authenticate: Payment challenge, an Authorization: Payment credential, and usually a Payment-Receipt. MPP's production payment methods are tempo (USDC.e on the Tempo network) and stripe (cards, minimum 0.50 USD, and USDC on Solana), so a seller who wants card money from agents needs MPP, and an agent that only holds USDC on Base can only pay x402 endpoints. Stripe supports both. This is how they compare as of 1 November 2026.

Some background: x402 started at Coinbase and has been governed since 14 July 2026 by the x402 Foundation under the Linux Foundation, with 40 member organizations; Stripe, Visa, Mastercard, Google, AWS, Cloudflare and Coinbase are among the 17 premier members. MPP is "co-authored by Stripe and Tempo", in Stripe's words; its core is an IETF draft dated 26 October 2026 with authors from Tempo Labs and Stripe, documented at mpp.dev. So the same company sits on both sides, and its machine payments page says Stripe "works best with" MPP and "also supports stablecoin payments over the x402 protocol". ToolVet lists and checks paid x402 APIs without paying them (how we check and score); this post is about the wire.

The two challenges side by side

An unpaid request to an x402 v2 endpoint gets this, per the HTTP transport spec:

HTTP/1.1 402 Payment Required
Content-Type: application/json
PAYMENT-REQUIRED: eyJ4NDAyVmVyc2lvbiI6MiwiZXJyb3IiOi...

{}

The example body is {} and bodies are left to the server; "All x402 protocol information is communicated through headers." Decoding the header gives a PaymentRequired object: x402Version (2), an error string, a resource block (url, description, mimeType) and an accepts array. Each entry in accepts names a scheme such as exact, a network in CAIP-2 form such as eip155:8453 for Base, an asset, an amount in atomic units, a payTo address and maxTimeoutSeconds (core spec v2). x402 payment challenge: 7 things to check covers each field.

The same request to an MPP endpoint gets a challenge in the header browsers already know from Basic and Bearer auth, per the challenge spec:

HTTP/1.1 402 Payment Required
Cache-Control: no-store
WWW-Authenticate: Payment id="qB3wErTyU7iOpAsD9fGhJk", realm="mpp.dev",
    method="tempo", intent="charge", request="eyJhbW91bnQiOi...",
    expires="2027-01-15T12:05:00Z"

The required parameters are id, realm, method, intent and request; description, digest, expires, header and opaque are optional. request is base64url JSON (canonicalized with JCS) holding amount in base units, currency (a code such as usd or a token address) and recipient. The id must be "cryptographically bound to Challenge parameters", so a client can't edit the price and present the same ID. A server may send several WWW-Authenticate: Payment lines, one per method or intent, and the client picks one. The draft says servers "SHOULD keep challenges under 8KB" and clients "MUST be able to handle challenges of at least 4KB".

Two differences matter here. x402 lists every acceptable payment option inside one header; MPP uses one header line per option. And MPP's digest parameter can bind the challenge to the request body in RFC 9530 form; x402 leaves the body to the server.

Paying and the receipt

An x402 client signs a payment authorization (for the exact scheme on EVM chains, an EIP-712 signature over an EIP-3009 transfer with from, to, value, validAfter, validBefore and a 32-byte nonce) and retries with PAYMENT-SIGNATURE: <base64 JSON>. The server hands that to a facilitator, which verifies and settles the transfer on-chain, and the response carries PAYMENT-RESPONSE, base64 JSON with success, transaction, network and payer. The transport spec reserves 400 for a malformed payment payload and sends a failed verification or settlement back as another 402 whose PAYMENT-RESPONSE has success: false and an errorReason such as insufficient_funds. What happens when settlement stalls is in x402 settlement failed or pending.

An MPP client retries with Authorization: Payment <credential>, or in whatever field the challenge's header parameter named. In the draft's words, "Payment credentials are bearer tokens that authorize financial transactions", payment methods "MUST provide single-use proof semantics", and the client returns opaque unchanged. On success the server answers 200, usually with a Payment-Receipt header; the receipt is optional, and a response that carries one must be Cache-Control: private. The status codes are drawn more finely than in x402: 402 again for a retryable credential problem, with a fresh challenge; 401 "is reserved for authentication failures unrelated to payment"; 403 "indicates the payment succeeded but access is denied by policy". Errors come as RFC 9457 problem details under https://paymentauth.org/problems/, with types such as payment-insufficient, payment-expired, verification-failed and method-unsupported (protocol overview).

Who settles is the deepest difference. In x402 the facilitator is a role anyone can run, and the seller's money lands in the on-chain payTo wallet; we compared the facilitators and ToolVet checks the public ones every five minutes (facilitator status). In MPP the method decides: tempo settles USDC.e on Tempo, and stripe records the payment on the seller's Stripe account, where "payments land directly in your Stripe balance and settle in fiat" and refunds go through the ordinary Refunds API; Stripe's network table also lists USDC on Solana over MPP. The protocol page lists further methods (EVM, Lightning, XRPL, Stellar and others) but marks only Tempo and Stripe as production.

Intents, minimums and fees

x402 has one shape: pay this amount for this request. Subscriptions, prepaid balances and streaming are left to schemes and extensions; the v2 launch post says v2 makes "usage-based, subscription-like, prepaid, and multi-step workflows all possible", and the Python SDK changelog shows an upto scheme (2.8.0) and a batch-settlement EVM scheme (2.11.0) shipping. MPP builds the pattern into the challenge: intent="charge" is a one-time payment, session a streaming payment over a payment channel, subscription a recurring fixed payment.

Minimums are where a seller feels the rail. Stripe's figures: card payments through Shared Payment Tokens start at 0.50 USD, stablecoin payments at 0.01 USDC, and an MPP session can meter "in sub-cent increments, but the minimum settlement amount is 0.01 USDC". x402 has no protocol minimum; the floor is whatever the facilitator charges per settlement, and ToolVet's report for 19 to 25 October lists APIs that pass their checks and have ten or more paying wallets at $0.001 and $0.0005 per call. The median listed price per call across the eight largest categories was $0.01 that week (open data). Fees: the x402 specifications define none at the protocol level, so the comparison is between facilitators, which the facilitator post did. Stripe's machine payments pages give no fee schedule for MPP, so we leave that figure out.

Discovery: catalogs versus an OpenAPI file

An x402 endpoint gets into the Bazaar when a facilitator settles a payment for it, and ToolVet lists what it can crawl and check; why an endpoint isn't in the Bazaar explains the first mechanism. MPP's discovery extension is a file: serve an OpenAPI 3.1 document at /openapi.json with an x-payment-info block per paid operation, each carrying ordered offers with amount, currency, intent and method, and declare a 402 response on every paid operation. The spec calls this advisory: the runtime challenge "remains the authoritative source of payment terms". Registries such as MPPScan aggregate those documents, and mpp.dev runs a read-only MCP server at https://mpp.dev/mcp/services. ToolVet's own OpenAPI document carries an x-payment-info block too, in the shape x402scan reads: same key, different schema.

Which one to accept

If you sell: accept x402 if your buyers are agents with stablecoin wallets and your prices are cents or fractions of a cent, because that is where the supply and the sub-cent settlement are. Accept MPP if you want card payments from agents, the money in a Stripe balance with refunds and reporting, or sessions and subscriptions in the protocol rather than in your own code. Stripe's x402 guide shows a server that records each x402 settlement as a Stripe PaymentIntent, and mpp.dev's comparison page says "You can run both protocols on the same endpoint with mppx", so doing both from one codebase is documented. Whatever you accept, the unpaid request must get a 402 before any input validation runs; catalogs probe that, and so does the free x402 checker.

If you build an agent: treat the two as different wallets, not different APIs. An x402 payment needs a key that can sign EIP-3009 (or the Solana equivalent) and USDC on the right CAIP-2 network; an MPP payment needs a Tempo wallet or a Shared Payment Token from a Link account. Verify the challenge in both cases; the MPP spec says so outright: check amount, recipient, currency and the validity window, and never trust description. For x402 the ToolVet MCP server adds preflight_check, which reads the challenge and compares price and pay-to address with what ToolVet has seen before.

Frequently asked questions

Is MPP a replacement for x402?

No. Both are live. Stripe, which co-authored MPP, is a premier member of the x402 Foundation and documents server code for both. They overlap on stablecoin payments and differ on cards, settlement and the session and subscription intents, which only MPP defines in the protocol itself.

Can one endpoint accept both x402 and MPP?

Yes. Both are carried in headers on a 402 response, so a server can send a PAYMENT-REQUIRED header and one or more WWW-Authenticate: Payment headers on the same response, and look for PAYMENT-SIGNATURE or Authorization: Payment on the retry. mpp.dev says the mppx server library can run both protocols on one endpoint, and Stripe publishes sample servers for each, with x402 payments recorded as PaymentIntents in transaction-verification mode.

What is the smallest payment each protocol allows?

x402 has no protocol minimum; facilitators set per-settlement fees, and ToolVet's weekly report lists passing APIs at $0.0005 per call. On Stripe's MPP implementation, stablecoin payments start at 0.01 USDC, card payments through Shared Payment Tokens at 0.50 USD, and sessions can meter below a cent but settle at a minimum of 0.01 USDC.

How do AI agents find MPP endpoints?

Through the discovery extension: an OpenAPI 3.1 document at /openapi.json with an x-payment-info block per paid operation, aggregated by registries such as MPPScan and the mpp.dev services directory, which also exposes a read-only MCP server. ToolVet lists and checks x402 APIs and remote MCP servers.

Everything above is from the x402 core and HTTP transport specifications, the MPP IETF draft and mpp.dev protocol pages, and Stripe's machine payments documentation as read on 1 November 2026, plus ToolVet's open data for the week of 19 to 25 October 2026. How we check and score explains how ToolVet tests x402 challenges without paying them.