
Agents can already search for products and fill carts, but payment is where they stall. Payment systems assume a human is clicking "buy" on a trusted surface. When an agent starts the payment instead, three questions come up:
Authorization: can we prove the user gave the agent authority for this specific purchase?
Authenticity: does the agent's request match what the user wanted, without errors or hallucinations?
Accountability: if something goes wrong, who is responsible?
The Agent Payments Protocol (AP2) is an open protocol designed to answer them.
What is AP2?
Google announced AP2 on September 16, 2025, with more than 60 partner organizations. At launch it was described as an extension of the Agent2Agent (A2A) protocol and Anthropic's Model Context Protocol (MCP). The current docs list A2A and the Universal Commerce Protocol (UCP).
AP2 sits inside a commerce protocol as a security layer. Catalog and checkout APIs are outside its scope, and it is designed to work with UCP.
On payment methods, AP2 is payment-agnostic by design. The initial version supports "pull" methods such as credit and debit cards. The roadmap includes e-wallets, real-time bank transfers (such as UPI and PIX), and digital currencies. For crypto, Google also introduced an A2A x402 extension with Coinbase, MetaMask, and the Ethereum Foundation, among others, and the AP2 repository includes an x402 sample.
In April 2026, Google donated AP2 to the FIDO Alliance and released v0.2, which added support for "Human Not Present" payments. Mastercard's Verifiable Intent, co-developed with Google, was donated at the same time. FIDO's Payments Technical Working Group is developing specifications from both contributions. Industry coverage notes that v0.2 carries a pre-release version number.
Mandates
Mandates are the core of AP2. A mandate is a cryptographically signed, tamper-evident credential that records what a user has authorized an agent to do. The specification uses SD-JWT to secure them, though other credential formats are possible. There are two types:
Mandate | What it captures | Who verifies it |
|---|---|---|
Checkout Mandate | The items and purchase details negotiated between agent and merchant | Merchant |
Payment Mandate | Authorization to pay with a specific instrument: payee, amount, timing | Credential provider, payment network, merchant payment processor |
Each mandate exists in two states. An open mandate holds the user's constraints and goals before a specific cart is final, such as a budget or allowed instruments. A closed mandate authorizes a specific, finalized checkout and amount.
The payment mandate is tied to its checkout through a hash of the merchant-signed checkout, so a payment authorization cannot be reused for a different cart. Identifiers carry a version suffix, for example mandate.checkout.open.1 and mandate.payment.1.
The launch announcement described three mandates (Intent, Cart, and Payment). The current specification uses the two-mandate model above.
Roles
AP2 defines five roles, and one entity can play several of them:
Shopping Agent: discovers products, builds the checkout, and executes the purchase.
Credential Provider: supplies payment credentials and checks that the agent may use them.
Merchant: owns the catalog and checkout, and fulfills orders.
Merchant Payment Processor: processes the payment and verifies the credential matches the checkout.
Trusted Surface: a UI that obtains informed user consent before a user-signed mandate is created. It must be non-agentic, meaning no LLM sits in its path.
Two flows
In the human-present flow, the user reviews the final cart and payment on a Trusted Surface, authenticates (for example with a biometric), and signs the closed mandates directly.
In the human-not-present flow, the user signs open mandates that set constraints, such as "buy these shoes when the price drops below $100." The open mandates include the agent's public key. When the conditions are met, the agent signs closed mandates with its own key, and verifiers check them against the open constraints. A merchant or credential provider can pull the user back in by returning an unresolved_constraint error.
The spec's example constraints include allowed merchants, line items, amount ranges, total budgets, recurrence, allowed payees and instruments, and execution date windows.
Security model
The spec treats agents as potential attackers. It assumes prompt injection cannot be fully prevented, so verification must run in deterministic code.
Closed mandates are bound to the open mandate they came from, and open mandates carry the agent's key, so only that agent can create valid closed ones.
An agent must not release overlapping closed mandates from one open mandate until a receipt rejects the earlier one. This guards against double-spend.
Selective disclosure limits each party to the data it needs, and agents never handle raw card data.
Signed checkout and payment receipts, together with the mandates, give evidence of what the user approved and what each party saw.
Verifiable Intent
AP2 defines how consent is created and shared. Verifiable Intent (VI) defines how that consent is proven. It is a cryptographic credential framework that turns user authorization into portable evidence which issuers, networks, and merchants can validate. Its core elements are identity binding, intent statements, and selective disclosure. VI is protocol-agnostic and works with AP2 but does not depend on it.
Related protocols
UCP is the commerce layer AP2 plugs into. Other agent-payment protocols include OpenAI and Stripe's Agentic Commerce Protocol (ACP) and Coinbase's x402. Developer-community commentary at AP2's launch described these as complementary layers. That is an interpretation, and the boundaries may shift as the standards mature.
Open questions
Adoption depends on merchants, networks, and wallet providers implementing the protocol.
v0.2 is pre-release, so early integrations may need revisions.
AP2 supplies evidence, but dispute resolution, retention, and liability rules are left outside the spec.
In v0.2 the shopping agent decides ad hoc which mandates apply to a checkout. Standardizing that is future work.
Getting started
Read the specification and flow diagrams at ap2-protocol.org.
Explore the GitHub repository (google-agentic-commerce/AP2), which hosts the specification, docs, a Python SDK, and samples: human-present cards, human-not-present cards, x402, and Android digital payment credentials.
Follow the FIDO Alliance's Agentic Authentication and Payments Technical Working Groups, where standardization continues.
If you build agents that buy things, or merchants and payment processors that receive those purchases, the v0.2 spec and samples are the place to start. Expect changes before it settles.
Sources: AP2 documentation and specification v0.2 (ap2-protocol.org); AP2 GitHub repository; Google Cloud announcement (Sept. 16, 2025); Google blog on the FIDO donation and v0.2; FIDO Alliance posts (April 28 and May 26, 2026); industry coverage from VentureBeat, Digital Commerce 360, The Paypers, and DeepLearning.AI.
Comments0
Join the discussion by logging into your account.
No comments yet. Start the conversation.