# AP2 protocol: how Google's Agent Payments Protocol proves what a shopper approved

> Canonical URL: https://cartforagents.com/guides/ap2 (cite this, not the .md file)
> Published: 2026-11-08 · Updated: 2026-11-08 · Facts checked: 2026-11-08
> Publisher: Cart for Agents · No paid placement
> Data version: https://cartforagents.com/guides/ap2.json

**Short answer:** The AP2 protocol (Agent Payments Protocol) is an open standard from Google for proving what a shopper authorized an AI agent to buy: the shopper signs a Checkout Mandate (which items, from which store) and a Payment Mandate (how much, with which card), and the store, the card network and the payment processor each check them before money moves. Google announced it in September 2025 with more than 60 companies, released v0.2 in April 2026 with autonomous "Human Not Present" purchases, and is handing it to the FIDO Alliance. It's a specification with code samples, not a product a store signs up for.

**Our take:** AP2 is the most careful answer anyone has written to "who's to blame when the agent buys the wrong thing", and it's worth understanding for that reason. A store won't implement it directly: it arrives through your commerce platform or payment provider, if it arrives at all.

AP2, the Agent Payments Protocol, is Google's open standard for one job: proving what a shopper actually told an AI agent it could buy.

It does that with **mandates**, signed digital records. One says which items, from which store. The other says how much, on which card. The shopper signs them on their phone, and every company that touches the payment (the store, the card network, the payment processor) can check them before the money moves.

Google [announced AP2 in September 2025](https://cloud.google.com/blog/products/ai-machine-learning/announcing-agents-to-payments-ap2-protocol) with more than 60 companies, and in April 2026 [handed it to the FIDO Alliance](https://blog.google/products-and-platforms/platforms/google-pay/agent-payments-protocol-fido-alliance/), the group behind passkeys. It's a specification with sample code. Nobody signs up for it.

## What problem does AP2 solve?

Card payments assume a person clicked "buy". With an agent, nobody did. The [AP2 site](https://ap2-protocol.org/) puts the gap as three questions:

- **Authorization:** did the shopper give the agent authority for *this* purchase?
- **Authenticity:** does the agent's request match what the shopper really wanted, or did it get something wrong?
- **Accountability:** if it goes badly, who's responsible: the shopper, the agent's maker, the store, the bank?

AP2's answer is to replace "the agent says the shopper agreed" with a signed record anyone can check.

## Checkout Mandates and Payment Mandates, in plain words

The current version uses two mandates, each in two stages, per the [AP2 site](https://ap2-protocol.org/).

| Mandate | What it locks in | Who checks it |
|---|---|---|
| **Checkout Mandate** | The items and the store | The store |
| **Payment Mandate** | The amount and the card or account | The card issuer or wallet, the network, the payment processor |

And the two stages:

- **Open:** the shopper's rules before a cart exists. "Running shoes, these brands, under $100."
- **Closed:** approval of one specific, final checkout. "These shoes, $89.99, from this store."

Each one is bound to the same checkout by a fingerprint of it. The [specification](https://ap2-protocol.org/ap2/specification/) has the store sign the checkout, and both mandates carry a hash of that signed checkout. So nobody can swap the items or the price after the shopper signed.

## Intent, Cart and Payment Mandates: what changed in v0.2?

If you read about AP2 in 2025, you met three names: Intent Mandate, Cart Mandate and Payment Mandate. Google's [launch post](https://cloud.google.com/blog/products/ai-machine-learning/announcing-agents-to-payments-ap2-protocol) used them.

Version 0.2, released on [April 28, 2026](https://github.com/google-agentic-commerce/AP2/releases), reorganised them. Roughly:

- the old **Intent Mandate** became the **open** Checkout and Payment Mandates;
- the old **Cart Mandate** became the **closed** Checkout Mandate;
- the **Payment Mandate** kept its name, now with open and closed forms.

The big addition in v0.2 is "Human Not Present" purchases, where the agent buys on its own inside rules the shopper set earlier. Google's example: [limited-run tickets](https://blog.google/products-and-platforms/platforms/google-pay/agent-payments-protocol-fido-alliance/) the moment they go on sale.

## A worked example: running shoes under $100

Say a shopper tells their agent: "Get me the Trailhead 2 running shoes in size 10 from Northpeak Outfitters, under $100, sometime today." The store and shoes are invented. The field names are AP2's own, from the [Checkout Mandate](https://ap2-protocol.org/ap2/checkout_mandate/) and [Payment Mandate](https://ap2-protocol.org/ap2/payment_mandate/) pages.

**Step 1. The shopper signs the rules (open mandates).**

The agent shows the rules on a trusted screen, like the phone's wallet. The shopper approves with Face ID. That signs two open mandates:

| Open mandate | Field | What it says here |
|---|---|---|
| Checkout (`mandate.checkout.open.1`) | `checkout.line_items` | Trailhead 2, size 10, quantity 1 |
| | `checkout.allowed_merchants` | Northpeak Outfitters only |
| | `cnf` | The agent's own key, so only this agent can use it |
| | `exp` | Expires tonight |
| Payment (`mandate.payment.open.1`) | `payment.amount_range` | Currency USD, `max` 10000 (that's $100.00 in cents) |
| | `payment.allowed_payees` | Northpeak Outfitters |
| | `payment.allowed_payment_instruments` | The shopper's Visa ending 4242 |

**Step 2. The agent shops.** It finds the shoes at $89.99, builds a cart, and goes to checkout. The store signs the checkout and sends it back.

**Step 3. The agent signs the closed mandates with its own key.** No human needed, because the shopper's open mandates allow it:

- a closed Checkout Mandate (`mandate.checkout.1`) carrying the `checkout_hash` of the store's signed checkout;
- a closed Payment Mandate (`mandate.payment.1`) with `payee` Northpeak, `payment_amount` 8999 USD, the card in `payment_instrument`, and a `transaction_id` that's the same checkout hash.

**Step 4. Everyone checks their part.** The card provider checks the Payment Mandate against the open one: is 8999 under 10000, is it the allowed card and store? It issues a payment token. The store checks the Checkout Mandate matches the cart it signed. The payment processor checks the Payment Mandate is tied to the same checkout.

**Step 5. Receipts.** The processor returns a signed Payment Receipt and the store a signed Checkout Receipt. That's the audit trail if anyone disputes it later.

**What if the shoes cost $105?** The amount fails `payment.amount_range`. The [flows page](https://ap2-protocol.org/ap2/flows/) says the store or card provider can return an `unresolved_constraint` error, which brings the shopper back to approve or say no. The agent can't quietly overspend.

## Who's who in an AP2 payment

The specification names [five roles](https://ap2-protocol.org/ap2/specification/). One company can play several.

- **Shopping Agent:** finds products, builds the cart, makes the purchase. Expected to be an AI.
- **Credential Provider:** the wallet or card issuer that holds the payment details and checks the agent is allowed to use them.
- **Merchant:** you. Signs the checkout and checks the Checkout Mandate.
- **Merchant Payment Processor:** your payment provider. Checks the Payment Mandate before charging.
- **Trusted Surface:** the screen where the shopper approves. The spec says this one must *not* be an AI.

That last rule is the heart of it. The AI can do the shopping. It can't be the thing that asks the shopper's permission.

## How AP2 works with A2A, MCP, UCP and x402

AP2 isn't a shopping protocol. It deliberately leaves catalogs, carts and checkout APIs to others and plugs into them. The [AP2 site](https://ap2-protocol.org/) calls it an open extension for:

- **A2A and MCP**, the ways agents talk to each other and to tools. Our [A2A vs MCP](/guides/a2a-vs-mcp) page explains both.
- **UCP**, the Universal Commerce Protocol behind Google's agent checkout, which has its own [UCP and AP2 guide](https://ucp.dev/documentation/ucp-and-ap2/). See our [UCP](/guides/universal-commerce-protocol) page.
- **x402**, for stablecoin payments over the web. Google’s Sept 2025 AP2 launch post describes the [A2A x402 extension](https://github.com/google-a2a/a2a-x402) (with Coinbase and others) as a production-ready path for agent crypto payments; the AP2 site also lists [x402 samples](https://ap2-protocol.org/) for human-present and autonomous flows. That is not the same as a consumer shopping product running full AP2 card mandates. See our [x402](/guides/x402) page.

It works with cards first. The roadmap adds wallets, instant bank transfers like UPI and PIX, and digital currencies.

## Who backs AP2, and what's its status?

| Date | What happened | Status |
|---|---|---|
| Sept 16, 2025 | [Google announces AP2](https://cloud.google.com/blog/products/ai-machine-learning/announcing-agents-to-payments-ap2-protocol) with 60+ organizations, including Adyen, American Express, Coinbase, Mastercard, PayPal and Worldpay; [v0.1.0](https://github.com/google-agentic-commerce/AP2/releases) | Open spec |
| Apr 28, 2026 | [v0.2.0](https://github.com/google-agentic-commerce/AP2/releases) adds Human Not Present flows; Google [donates AP2 to FIDO](https://blog.google/products-and-platforms/platforms/google-pay/agent-payments-protocol-fido-alliance/) | Open spec, moving to FIDO |
| Apr 28, 2026 | Mastercard's Verifiable Intent, AP2-compatible, also heads to FIDO | Draft spec |
| Nov 8, 2026 | v0.2.0 is still the latest GitHub release; work continues in FIDO's agentic authentication and payments working groups | Open spec |

Backing is broad. Deployment is quiet. We found no Google page naming a live shopping product that runs purchases on AP2 mandates today. Mastercard's [Agent Pay](/guides/mastercard-agent-pay) and [Visa Intelligent Commerce](/guides/visa-intelligent-commerce) carry similar "proof of intent" data in their own formats.

## What AP2 means for your store

For a small store, nothing to build. In AP2 the merchant's job is to sign its checkout and check the Checkout Mandate, and that work belongs inside your commerce platform or payment provider, not your theme.

What does matter, today:

- **Your prices and stock have to be exact.** Mandates make limits hard. An agent with a $100 ceiling can't buy a $99 item that turns into $104 with a surprise fee.
- **Your product data has to match what shoppers ask for.** "Trailhead 2, size 10" only works if your listing clearly says it. Our [protocols comparison](/guides/agentic-commerce-protocols) shows where AP2 sits among the standards that carry that data.
- **Expect the evidence trail to get better.** If AP2 or something like it takes hold, "my agent bought the wrong thing" disputes come with signed proof attached.

## Your next step

Ask your payment provider whether it plans to verify AP2 or similar agent-authorization data, and pick one product to test: does its title, size and final price at checkout exactly match its listing? That's what any mandate will hold you to. Our [agentic payments hub](/guides/agentic-payments) shows where AP2 fits with the card networks and Stripe.

## Claims and sources

1. Google announced the Agent Payments Protocol on September 16, 2025 as an open protocol usable as an extension of A2A and MCP, developed with more than 60 organizations including Adyen, American Express, Coinbase, Etsy, Mastercard, PayPal, Revolut, Salesforce and Worldpay. Source: [Google Cloud blog: Announcing Agent Payments Protocol (AP2)](https://cloud.google.com/blog/products/ai-machine-learning/announcing-agents-to-payments-ap2-protocol) (2026-11-08; documented).
2. The September 2025 announcement described an Intent Mandate capturing the shopper's request and a Cart Mandate signed on approval of the exact items and price. Source: [Google Cloud blog: Announcing Agent Payments Protocol (AP2)](https://cloud.google.com/blog/products/ai-machine-learning/announcing-agents-to-payments-ap2-protocol) (2026-11-08; documented).
3. The AP2 site describes two mandate types, Checkout Mandate and Payment Mandate, each in an open stage (the user's constraints before a cart is final) and a closed stage (authorization of a specific checkout or amount), as tamper-evident, cryptographically signed verifiable digital credentials. Source: [AP2: Agent Payments Protocol documentation](https://ap2-protocol.org/) (2026-11-08; documented).
4. The AP2 site says the initial version supports pull payment methods like credit and debit cards, with e-wallets, push payments such as UPI and PIX, and digital currencies on the roadmap, and lists samples for human-present and human-not-present card and x402 flows. Source: [AP2: Agent Payments Protocol documentation](https://ap2-protocol.org/) (2026-11-08; documented).
5. The AP2 specification defines five roles: Shopping Agent, Credential Provider, Merchant, Merchant Payment Processor and Trusted Surface, and says the Trusted Surface must be non-agentic while the Shopping Agent is expected to be agentic. Source: [AP2: Specification](https://ap2-protocol.org/ap2/specification/) (2026-11-08; documented).
6. The specification says the merchant must provide a merchant-signed JWT of the checkout, the closed Checkout Mandate is bound to it by a cryptographic hash, and the Payment Mandate is bound to the same checkout hash and verified by the Credential Provider, network and Merchant Payment Processor. Source: [AP2: Specification](https://ap2-protocol.org/ap2/specification/) (2026-11-08; documented).
7. The specification says autonomous open mandates must include the agent's public key as a cnf claim, and that shopping agents must not present a subsequent open mandate without a rejection receipt from the previous one. Source: [AP2: Specification](https://ap2-protocol.org/ap2/specification/) (2026-11-08; documented).
8. The Checkout Mandate page says closed mandates use vct mandate.checkout.1 and open ones mandate.checkout.open.1, carry a checkout_hash, and define constraints checkout.allowed_merchants and checkout.line_items. Source: [AP2: Checkout Mandate](https://ap2-protocol.org/ap2/checkout_mandate/) (2026-11-08; documented).
9. The Payment Mandate page says closed mandates use vct mandate.payment.1 and open ones mandate.payment.open.1, with fields transaction_id, payee, payment_amount (integer minor units) and payment_instrument, and constraints including payment.amount_range, payment.allowed_payees, payment.allowed_payment_instruments, payment.budget and payment.agent_recurrence. Source: [AP2: Payment Mandate](https://ap2-protocol.org/ap2/payment_mandate/) (2026-11-08; documented).
10. The AP2 flows page says a Human Not Present flow can be turned into a Human Present one by the merchant or credential provider returning an unresolved_constraint error and bringing the user back to approve. Source: [AP2: Flows](https://ap2-protocol.org/ap2/flows/) (2026-11-08; documented).
11. On April 28, 2026 Google said it was donating AP2 to the FIDO Alliance and releasing AP2 v0.2 with Human Not Present payments based on pre-authorized user instructions, and described Verifiable Intent as an AP2-compatible standard co-developed with Mastercard, also being donated to FIDO. Source: [Google: Donating Agent Payments Protocol to the FIDO Alliance](https://blog.google/products-and-platforms/platforms/google-pay/agent-payments-protocol-fido-alliance/) (2026-11-08; documented).
12. The AP2 GitHub releases list v0.1.0 on September 16, 2025 and v0.2.0 on April 28, 2026, the latter described as focusing on Human Not Present flows. Source: [GitHub: google-agentic-commerce/AP2 releases](https://github.com/google-agentic-commerce/AP2/releases) (2026-11-08; observed).
13. The AP2 site says standardization will continue in FIDO's Agentic Authentication Technical and Payments Technical Working Groups, and that AP2 is an open extension for A2A, MCP and UCP. Source: [AP2: Agent Payments Protocol documentation](https://ap2-protocol.org/) (2026-11-08; documented).

## Limitations

- We read the AP2 site, specification and GitHub releases on November 8, 2026. We didn't run the AP2 code samples.
- AP2 is a specification. We found no Google page naming a live product where shoppers' purchases run on AP2 mandates today, or any volume figures.
- The worked example uses AP2's real field names, but the shoes, store and numbers are invented, and we've simplified the signing and hashing steps.
- Version 0.2 renamed the mandates. Articles written in 2025 describe Intent, Cart and Payment Mandates; the current spec uses open and closed Checkout and Payment Mandates.
