Agent Payments Protocol

Also known as: AP2

On this page 7

The Agent Payments Protocol (AP2) is an open protocol that defines how AI agents can initiate and complete payments on behalf of a user while giving merchants, payment processors and card issuers verifiable proof of what the user authorized. It was introduced by Google in 2025 together with a broad group of payment and technology companies, and it is designed as an extension of agent communication standards such as the Agent2Agent protocol and the Model Context Protocol (MCP).

AP2 addresses a gap in existing payment systems, which assume that a human clicks the final purchase button. When an autonomous agent acts instead, every party needs to know who authorized the transaction, under which limits, and who is accountable if something goes wrong. The protocol answers these questions with cryptographically signed mandates rather than trust in the agent itself.

How AP2 establishes trust in agent purchases

AP2 builds trust through verifiable digital credentials (VDCs), tamper-evident records signed by the user or by a party acting for the user. Each credential captures a specific stage of consent, so any later participant can check that a payment matches what the user actually approved.

The protocol targets three problems that conventional checkout flows do not solve: authorization, proving the user gave the agent authority for this purchase; authenticity, showing that the request reflects the true intent of the user rather than a model error or manipulation; and accountability, determining responsibility in fraud or dispute cases.

AP2 is payment-method agnostic. The same mandate structure is intended to work with credit and debit cards, real-time bank transfers and digital currencies. An extension developed with partners from the cryptocurrency industry, known as the x402 extension, applies the model to stablecoin payments between agents.

The three mandate types

Mandates are the central data objects of AP2. Each one records a different layer of user consent and travels to the parties that need it.

MandateWhat it recordsWho signs or creates itMain recipient
Intent MandateTask, constraints, price limits, timingUser, before the agent actsShopping agent and merchant
Cart MandateExact items, price and merchantUser approves the final cartMerchant
Payment MandateSignal of agent involvement and user presenceDerived from the approved transactionPayment network and issuer
Mandates defined by the Agent Payments Protocol

The Intent Mandate makes delegation explicit and bounded. A user might authorize the purchase of concert tickets below a stated price within the next week. The Cart Mandate then binds the user to one concrete basket, and the Payment Mandate tells the financial network that an agent took part, which helps issuers assess risk.

Human-present and human-not-present flows

AP2 distinguishes two transaction modes according to whether the user is available at the moment of purchase. The difference affects which mandates are signed and how much risk the payment ecosystem carries.

AspectHuman-present flowHuman-not-present flow
Typical scenarioUser asks an agent to find and buy an item nowAgent buys later when conditions are met
Key credentialCart Mandate signed by the userDetailed Intent Mandate signed in advance
User confirmationAt checkoutOnly at delegation time
Risk profileLower, the user sees the final cartHigher, relies on precise constraints
EscalationNot usually neededAgent returns to the user if limits are exceeded
Comparison of the two transaction modes

In the human-not-present mode, the quality of the Intent Mandate determines safety. Vague instructions such as “buy something nice” give the agent too much latitude, while precise price caps, merchant lists and expiry times keep automated purchases inside the scope that the user intended.

Roles in an AP2 transaction

AP2 separates responsibilities among several actors so that no single agent holds every secret. In particular, the shopping agent does not need to see raw card numbers.

RoleResponsibility
UserDelegates tasks and signs mandates
Shopping agentSearches, negotiates and assembles the cart
Credentials providerHolds payment methods and supplies tokenized credentials
Merchant endpointPresents offers and accepts the Cart Mandate
Merchant payment processorBuilds the authorization request for the network
Network and issuerAuthorize the payment and evaluate risk signals
Participants and their responsibilities

This separation follows the principle of least privilege used elsewhere in agent permissions design. Communication between the shopping agent and the merchant agent can run over the Agent2Agent protocol, while access to tools and data sources can use MCP.

Limitations and open questions

AP2 is a young specification, and several practical questions remain under discussion among implementers. Adoption depends on merchants, wallets, issuers and agent platforms all supporting the same mandate formats.

  • Liability rules for disputes and chargebacks still rely on card network and legal frameworks, which are adapting to agent-initiated payments.
  • Prompt injection remains a risk: a manipulated agent can still propose a harmful cart, so user review and strict Intent Mandate limits stay essential.
  • Key management on consumer devices must be secure, because the value of a mandate depends on the integrity of the signing key.
  • Regulatory requirements such as strong customer authentication in some jurisdictions may require additional user steps.

Explained without jargon

Think of giving a trusted assistant a signed permission note. The note says what they may buy, how much they may spend and until when. The shop can read the note and check your signature.

The Agent Payments Protocol does the same thing for AI assistants. It turns your permission into digital notes that cannot be forged. One note covers your general request. Another covers the exact shopping cart. A third tells the bank that an assistant helped.

This way, everyone can check that the purchase is really what you wanted. Your card details stay protected, and disputes are easier to settle.

A typical use case

A frequent traveler asks a travel agent built on an AI platform to book a refundable hotel room in Lisbon for three nights in May, with a limit of 600 dollars and only at hotels rated four stars or higher. The traveler signs an Intent Mandate with these constraints and an expiry of 48 hours.

The agent queries several merchant agents, finds a matching room for 540 dollars, and presents the final cart. Because the traveler is online, the platform requests confirmation, and the traveler signs a Cart Mandate for that exact booking. The credentials provider supplies a tokenized card, so the agent never sees the card number.

The hotel processor forwards the authorization with a Payment Mandate that flags agent involvement. The issuer approves the charge. When the traveler later checks the statement, the signed mandates show exactly what was authorized and when, which would make any dispute straightforward.