Index Agentica

Agent payment protocols compared

x402, MPP, L402, ACP, AP2 and UCP compared on what each standardizes, payment rails, wire format, governance, spec status and SDKs, so you can tell machine-payment protocols from agent-checkout protocols.

Type
Comparison
Author
Agentica Author
Published
Last verified

Comparison

Agent payment protocols compared
EntryWhat it standardizesPayment railsWire formatGovernanceSpec statusSDKs and reference code
x402Paying for an HTTP resource or MCP tool call in the same request (machine payments)Stablecoins and tokens on EVM chains and Solana, identified by CAIP-2 network IDs; schemes exact, upto, batch-settlement and auth-captureHTTP 402 with PAYMENT-REQUIRED, PAYMENT-SIGNATURE and PAYMENT-RESPONSE headers (v1 used X-PAYMENT); MCP via _meta x402/paymentx402 Foundation under the Linux Foundation (operational launch July 2026); repo x402-foundation/x402v2 (spec dated 2025-12-09)Official TypeScript, Python and Go SDKs; hosted facilitators such as Coinbase CDP
Machine Payments Protocol (MPP)Paying for an HTTP resource, tool call or stream in the same request (machine payments), with one-time, session and subscription intentsMethod-neutral: Tempo stablecoins, Stripe and card methods, EVM, Lightning, Solana, Stellar, XRPL and others, each specified by its railHTTP 402 with a WWW-Authenticate: Payment challenge, a payment Credential on retry and a Payment-Receipt; also JSON-RPC/MCP and WebSocket transportsCo-authored by Tempo and Stripe; core submitted to the IETF as the Payment HTTP Authentication Scheme; payment methods owned by each railIETF Internet-Draft (draft-httpauth-payment); docs at mpp.devOfficial TypeScript (mppx), Python, Rust, Go and Ruby SDKs
L402 (Lightning HTTP 402)Paying for and authenticating to an API with a Lightning payment (machine payments)Bitcoin over the Lightning NetworkHTTP 402 with WWW-Authenticate carrying a macaroon and a Lightning invoice; the client presents the macaroon with the payment preimageLightning LabsPublished by Lightning Labs; implemented by the Aperture proxyAperture reverse proxy (MIT)
Agentic Commerce Protocol (ACP)Checkout between a buyer's AI agent and a merchant: carts, checkout sessions, fulfillment, orders, delegated payment tokensCards and other methods through the merchant's PSP; Stripe Shared Payment Token was the first compatible PSP tokenREST (OpenAPI and JSON Schema) or MCPMaintained by OpenAI and Stripe; Apache-2.0; CLA requiredBeta; latest stable 2026-04-17 (cart, feed, orders, authentication, MCP)OpenAPI and JSON Schema per version, RFCs and examples; ChatGPT was the first agent platform
Universal Commerce Protocol (UCP)Commerce capabilities a business declares for agents and apps: checkout, identity linking (OAuth 2.0), orders, payment token exchange, plus extensionsPayment-method neutral; PSPs and credential providers exchange tokens; supports AP2 mandatesTransport-agnostic: REST, MCP or A2A, with a discoverable business profileOpen source (Apache-2.0, 'UCP Authors'), with retail, travel and platform companies shown on ucp.devDated stable releases; latest 2026-08-25SDKs, samples and conformance tests in the Universal-Commerce-Protocol GitHub org
Agent Payments Protocol (AP2)Proof that a user authorized an agent's purchase: signed Checkout and Payment Mandates (verifiable digital credentials), human-present or notCards first; roadmap adds e-wallets, real-time bank transfers and digital currencies; x402 samples existExtension for A2A and UCP (also positioned for MCP)Created by Google; donated to the FIDO Alliance, where standardization continues in its working groupsv0.2Python SDK; Python, Go and Android samples (Apache-2.0)

Verdict: If your agent needs to pay per API call or tool call, choose between x402 and MPP: x402 has the larger live ecosystem and Linux Foundation governance, MPP is method-neutral (cards and many chains) and on the IETF track, and MPP documents serving x402 clients from the same endpoint. Use L402 only if you want Bitcoin Lightning. If your agent buys from merchants on a user's behalf, you will meet ACP (ChatGPT, Stripe) and UCP (retail, travel and platform participants), with AP2 mandates as the evidence layer for user intent.

Two problems, six protocols

"Agent payments" covers two different jobs, and most confusion comes from mixing them up.

Machine payments put a price on a request. An agent calls an API or an MCP tool, gets HTTP 402 Payment Required with a price, pays, and retries. There is no merchant checkout, no cart and often no human in the loop; amounts are often fractions of a cent. x402, the Machine Payments Protocol (MPP) and L402 live here.

Agent checkout lets an agent buy from a merchant for a person: products, carts, shipping, taxes, card networks, refunds, and evidence that the person really authorized it. The Agentic Commerce Protocol (ACP), the Universal Commerce Protocol (UCP) and the Agent Payments Protocol (AP2) live here. They are complementary more than competing: ACP and UCP describe the checkout conversation, and AP2 describes signed mandates that prove intent, which UCP explicitly supports.

Machine payments: x402, MPP and L402

All three reuse HTTP 402, and the flows look alike: challenge, pay, retry with proof, receive the resource and a receipt. The differences are in rails and governance.

For an agent builder the practical questions are which services you want to call and what they accept (the x402 Bazaar is a public discovery index for x402 services), which wallet the agent holds, and whether you need card or fiat rails (MPP's card and Stripe methods).

Agent checkout: ACP, UCP and AP2

Recent changes worth knowing

Where card networks and Stripe fit

Card networks and processors run their own agent programs on top of or beside these protocols, including Visa Intelligent Commerce, the Mastercard Agent Suite, Stripe's agentic commerce tools and Stripe Issuing for agents. Their exact terms weren't compared here; check each entry's sources. To assemble these pieces into a working agent, see the agent that can buy things stack.

Directory entries in this comparison

Related

Sources

Machine-readable