An agent given a research task can already discover sources, call tools and assemble an answer. The awkward moment comes when a useful source asks to be paid. A human sees a checkout. Software encounters a collection of unrelated problems: permission to spend, a quoted price, a payment credential, a settlement method and a way to recover when something fails.
I think the next useful step in agent commerce is making those responsibilities explicit. Giving a model a wallet does not tell it whether a purchase is worthwhile. A signed permission does not deliver a product. A successful payment does not prove that the answer was useful.
Four protocols make this distinction concrete: x402, AP2, ACP and MPP. They overlap, but comparing them as four interchangeable payment buttons hides the decisions an implementation actually has to make.
Start with four questions
Before choosing a protocol, I would write down four questions for a proposed transaction:
- Authority: who permitted the purchase, and what limits apply?
- Order: what exactly is being bought, at what price, with what delivery conditions?
- Payment: how does the seller request money and establish that it has been paid?
- Recovery: what happens after a timeout, duplicate request, partial delivery or dispute?
The comparison below is my architectural reading of the current documentation. It describes each protocol’s main emphasis; it does not imply that combining them is automatic.
Scroll sideways to compare all columns
| Protocol | Main job | Key mechanism | What the application still owns |
|---|---|---|---|
| x402 | Paid access to HTTP resources | Payment requirements, a signed payload and verification/settlement | Spending policy, service quality and recovery |
| AP2 | Verifiable authority for agent purchases | Linked checkout and payment mandates, with constraints and receipts | The commerce interface and underlying payment integration |
| ACP | Structured commerce with merchants | Checkout sessions and delegated payment credentials | Merchant operations, fulfilment and payment processing |
| MPP | Programmatic payment negotiation | HTTP payment challenge, credential and receipt; extensible methods | Method selection, spending controls and service guarantees |
x402 makes a resource payable
With x402, a server can answer a request with 402 Payment Required and machine-readable payment requirements. The client prepares a payment payload and retries. In a simple immediate-settlement flow, the server verifies and settles it before providing the resource. Other schemes can separate delivery from later settlement. This makes paid API access fit naturally into an HTTP workflow. See the protocol introduction.
The operational detail matters. A facilitator can handle verification and settlement, but it is optional: a server can perform those tasks itself. The facilitator’s role is non-custodial, and current documentation describes multiple providers and networks. Equating the protocol with one company’s hosted deployment gives the wrong picture of its design. The facilitator documentation explains the available paths.
Implementations also need a version. x402 v2 uses PAYMENT-SIGNATURE and PAYMENT-RESPONSE where v1 used X-PAYMENT and X-PAYMENT-RESPONSE. It uses standardized network identifiers. These changes are documented in the migration guide.
For a data provider, the interesting product is a useful response that a new customer can purchase without negotiating a subscription first. Whether that business works depends on discovery, pricing and repeat demand. The protocol supplies a transaction mechanism; customer demand has to be earned.
AP2 puts evidence behind permission
AP2 addresses a different boundary: the agent’s authority to buy. The current v0.2 specification defines linked Checkout and Payment Mandates and supports both direct approval and autonomous execution within previously approved constraints. Verification happens in deterministic code. Commerce APIs sit outside AP2’s scope.
A Checkout Mandate can constrain merchants and line items. A Payment Mandate can constrain payees, instruments, amounts, recurrence and an overall budget. The distinction gives different participants evidence relevant to their part of the purchase.
This is useful because natural-language instructions are often incomplete. “Buy a good dataset” does not define an acceptable vendor, the licence needed for redistribution, or whether the agent may renew the purchase tomorrow. My implementation preference is to turn the economically important parts into explicit conditions before handing over spending authority.
There is still application work. Someone must present those conditions clearly, reject unsupported restrictions and maintain the state needed to enforce them. Signed records can support a dispute, but AP2 does not by itself decide how the dispute is resolved.
Stripe appears in two different parts of the picture
ACP, developed by OpenAI and Stripe, organizes the merchant-facing purchase. In OpenAI’s documented flow, the merchant manages checkout state, determines fulfilment and tax, accepts or rejects the order, and processes payment through its own provider. Delegated credentials can limit the amount and lifetime of a payment authorization. Stripe’s Shared Payment Token is an implementation of that delegated-payment model. The ACP key concepts make the allocation of responsibilities explicit.
That fits a purchase where the order has substantial structure: a physical item, delivery information, inventory and a final confirmation. Calling a payment endpoint is only one part of completing it.
MPP, co-authored by Tempo and Stripe, concentrates on machine payments. Its flow is a resource request, a payment challenge, a retry with a credential, and a response with a receipt. Its interface is extensible across payment methods; a particular integration still has to support the methods it advertises. See the MPP overview.
Stripe’s MPP announcement describes integration with PaymentIntents and support for stablecoins and fiat methods through Shared Payment Tokens. It also says Stripe supports both MPP and x402. This is a useful reminder to separate the provider from the protocol: one provider can support several interfaces.
For the comparison, x402 and MPP have the closest overlap around paid access to services. AP2 contributes authorization evidence, while ACP contributes a merchant checkout flow. Each still depends on implementation choices outside its core specification.
One task, several transactions
Consider an illustrative agent asked to prepare a supplier-risk brief with a total budget of $20. It might buy company data, purchase a translation and acquire access to a specialist report. This example is a design exercise, not a claim that all four protocols already interoperate in one product.
The application first records permitted vendors, permitted uses and the budget. For an AP2 integration, relevant restrictions must be expressed as supported mandate constraints and verified by the appropriate parties. An HTTP data service might expose an x402 or MPP route. A report sold through a structured store might instead use an ACP checkout.
The agent should evaluate each quote before paying. It needs to know whether the data is fresh enough, whether its licence permits the intended output, and whether another source already provides the same information. Cheap transactions can still be poor purchases.
I would keep one application-level ledger across these routes. If the agent has spent $8 and reserved $5 for an unfinished purchase, its available budget is $7. Treating the pending purchase as free until settlement invites overspending when requests run concurrently. The ledger needs a stable identifier for each purchase, the authorization behind it, and a record of what was delivered.
The difficult part starts when a response disappears
Suppose a seller accepts payment and the network connection drops before the agent receives the data. Retrying the task must not silently create a second purchase. The buyer needs to distinguish “payment failed,” “payment succeeded, delivery unknown,” and “delivery completed.” The seller needs a policy for replaying a purchased result or returning the funds.
These are ordinary distributed-systems problems with money attached. A protocol integration should be tested against lost responses, expired quotes, simultaneous requests and exhausted budgets. A system that works only when every participant responds immediately is an expensive demo.
Transaction granularity is another design choice. Billing every tiny operation separately can make settlement and bookkeeping dominate the useful work. Current x402 documentation includes capped, usage-based payments and batch settlement; support depends on the scheme and integration. The right billing unit follows the service’s economics and the buyer’s acceptable exposure.
A receipt also has limits. It can record a transaction or delivery event without proving that a forecast was accurate, a report original or a dataset fit for purpose. Payment reliability and output quality need separate measurements.
The value is in choosing well
My working thesis is that open payment interfaces make execution easier to substitute. An agent gains more choices of seller, wallet and payment provider. The harder problem moves toward purchase decisions: understanding the task, comparing offers, checking constraints and deciding whether an additional result is worth its cost.
I would judge an agent-commerce system by useful tasks completed per dollar, failed purchases recovered, unwanted purchases prevented, and how easily a user can inspect what happened. Transaction count is an activity measure. It becomes a business measure only when the purchased work delivers value.
The protocols are making automated purchases more practical. The next durable products will connect permission, a well-specified order, reliable payment and useful delivery into something a person can actually trust.