Open Protocol · Agentic Commerce

Secure agent commerce with the Agent Payments Protocol

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.

🎬 Watch AP2 Demo Video

Learn about Agent Payments Protocol core concepts and real-world use cases in under 7 minutes

What is AP2?

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.

Technical Deep Dive

Understand AP2's technical architecture, working principles, and implementation details

Read Technical Docs

Business Value Analysis

Explore AP2's practical significance and application prospects for enterprises and consumers

Read In-Depth Analysis

Core 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.

Why agents need AP2

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:

Authorization

What verifiable proof shows the user empowered the agent for a specific purchase?

Authenticity

How can merchants be sure an agent's order reflects the user's true intent instead of a model hallucination?

Accountability

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.

Core principles

How AP2 works with A2A and MCP

Verifiable credentials in AP2

Verifiable Credentials (VCs) are tamper-evident, cryptographically signed data objects that agents exchange to build trust. AP2 defines three primary mandates:

Cart Mandate

Used in human-present flows; merchants assemble final cart details and the user signs them.

User-Signed Intent Mandate

Used in human-not-present scenarios, giving an agent clear authority bounded by explicit parameters.

Payment Mandate

Shared with networks and issuers to highlight agent participation and communicate risk signals.

🔗 Complete Audit Trail

Together these credentials form a portable audit trail across implementations

AP2 Complete Audit Trail - Shows how Cart Mandate, User-Signed Intent Mandate, and Payment Mandate combine to form a complete trusted payment flow

The three types of mandates in AP2 protocol work together to ensure verifiability and security of agent payments

Run the samples

Human Present Cards

Demonstrates a card-based, human-present checkout with AP2 mandates.

Go to sample

Human Present x402

Shows AP2 working with the x402 programmable stablecoin rail.

Go to sample

Digital Payment Credentials (Android)

Highlights the Android experience for signing mandates.

Go to sample