Agent Payments Protocol (AP2) is an open protocol for the emerging Agent Economy. It enables secure, reliable, and interoperable agent commerce for developers, merchants, and the payments industry.
AP2 extends the open Agent2Agent and Model Context protocols so any compliant agent can transact with any compliant merchant.
Role-based architecture and payload encryption keep sensitive payment data private while preserving end-user authority.
Intent and cart mandates provide tamper-evident, user-signed proof that an agent is acting on explicit instructions.
Cryptographic audit trails help issuers, merchants, and networks resolve disputes with transparent evidence.
The protocol supports today’s card-based pull payments and is designed to add real-time and digital currency rails.
Python and Android samples demonstrate AP2 roles interacting end-to-end without requiring live payment providers.

Learn about Agent Payments Protocol core concepts and real-world use cases in under 7 minutes
Agent Payments Protocol (AP2 Protocol) is an open protocol launched by Google in collaboration with Coinbase and over 60 organizations, specifically addressing core challenges of AI agents safely participating in commercial transactions.
Through verifiable credentials and multi-layer authorization mechanisms, AP2 Protocol enables agents to safely complete AP2 payments, AP2 wallet management, and asset transactions on behalf of users while ensuring users always maintain ultimate control.
AP2 Protocol builds trust through three core mandate types: Intent Mandates, Cart Mandates, and Payment Mandates.
As an extension to the Agent2Agent (A2A) protocol, AP2 Protocol combines x402 stablecoin rail technology to provide complete payment infrastructure for the emerging agent economy and machine economy. Through smart payments capabilities, supporting full-scenario applications from enterprise procurement and consumer shopping to AI service transactions.
Understand AP2's technical architecture, working principles, and implementation details
Read Technical DocsExplore AP2's practical significance and application prospects for enterprises and consumers
Read In-Depth AnalysisCore Value
Through verifiable credentials, role separation, and encrypted audit chains, AP2 provides a unified trust framework for agents, merchants, and payment services, enabling any protocol-compliant participant to discover, negotiate, and settle in a trusted environment.
Today's payment infrastructure assumes a human is present to approve every purchase. When autonomous agents act on a user's behalf, the ecosystem must answer:
What verifiable proof shows the user empowered the agent for a specific purchase?
How can merchants be sure an agent's order reflects the user's true intent instead of a model hallucination?
If something goes wrong, who is responsible—the user, the agent developer, the merchant, or the issuer?
Without a common standard, solutions fragment into proprietary flows that are hard for merchants to integrate and confusing for users. AP2 addresses this trust gap with shared mandates and audit evidence.
AP2 stays vendor-neutral so agents, merchants, and payment providers can compose solutions without lock-in.
Role separation plus encrypted payloads keep sensitive credentials protected while preserving user agency.
Transactions carry user-signed mandates so agents prove intent instead of inferring it.
Tamper-evident audit trails give issuers, merchants, and networks shared evidence for disputes.
Cards come first, with real-time transfers and digital currency rails close behind.
Alignment with A2A and MCP keeps agents, merchants, and service providers innovating together.
AP2 builds on the communication layers established by A2A and the Model Context Protocol (MCP):
Explore additional ecosystem resources such as Agent2Agent.Info and the Chinese-language A2A hub at A2Acn.com.
Verifiable Credentials (VCs) are tamper-evident, cryptographically signed data objects that agents exchange to build trust. AP2 defines three primary mandates:
Used in human-present flows; merchants assemble final cart details and the user signs them.
Used in human-not-present scenarios, giving an agent clear authority bounded by explicit parameters.
Shared with networks and issuers to highlight agent participation and communicate risk signals.
Together these credentials form a portable audit trail across implementations

The three types of mandates in AP2 protocol work together to ensure verifiability and security of agent payments
Highlights the Android experience for signing mandates.
Go to sampleComplete technical documentation and usage guides.
Detailed definitions, capability models, and compliance expectations.
Runnable end-to-end demos across issuer, agent, and merchant roles.
Stay close to the broader A2A ecosystem and partner updates.
A community-maintained Chinese localization of A2A content.
Model Context Protocol(MCP).info, The resource hub for the Model Context Protocol (MCP).
Agentic Commerce Protocol Chinese technology community.
ChatGPT Chinese technology community.