Skip to main content

Agent Payments Protocol (AP2)

How does an AI agent pay for something?

AP2 is Google's payment authorization layer for agents. Where A2A handles communication and UCP handles commerce, AP2 handles the money — authorizing payments through cryptographic credentials so agents can transact without storing card numbers or passwords.

Verifiable Credentials

The core primitive is the VDC (Verifiable Digital Credential) — a cryptographically signed authorization that proves an agent has permission to spend.

PropertyWhat It Does
IssuerWho created the credential (bank, wallet, institution)
SubjectWhich agent holds the credential
ScopeWhat the agent can do (amount limits, merchant categories, time windows)
ProofCryptographic signature proving authenticity
RevocableCan be canceled by the issuer at any time

VDCs replace stored credentials. Instead of giving an agent a credit card number, the card issuer gives it a signed credential with specific permissions. The agent proves it's authorized without ever seeing the underlying payment instrument.

Three Mandate Types

AP2 uses three escalating authorization levels:

MandateWhat It AuthorizesWhen Used
Intent"Buy something in this category up to $X"Agent browsing, price comparison
Cart"Purchase these specific items for $Y"Agent has selected items
Payment"Execute this payment of $Z to this merchant"Final settlement
INTENT MANDATE          CART MANDATE           PAYMENT MANDATE
"Up to $500 on "These 3 items "Pay $347.50 to
electronics" for $347.50" merchant X"
↓ ↓ ↓
Agent shops Agent confirms Payment settles
with budget specific purchase on merchant's rails

Each mandate narrows scope. The human (or authorizing system) sets broad intent, the agent refines to cart, the payment system executes. At each step, the VDC proves authorization.

Payment Architecture

HUMAN/SYSTEM                    AGENT                         MERCHANT
| | |
|-- Issues Intent VDC ------>| |
| (budget, categories) | |
| |-- Shops via UCP ------------>|
| | (browse, cart, discount) |
| |<--------- Cart total --------|
| | |
|<--- Request Cart VDC ------| |
|-- Issues Cart VDC -------->| |
| (specific items, $) | |
| |-- Authorize via AP2 -------->|
| | (Payment VDC) |
| |<--------- Confirmation ------|

The human never sees card details. The agent never stores card details. The VDC chain proves authorization at every step. Revocation propagates instantly — cancel a VDC and the agent loses purchasing power in real time.

Settlement Rails

AP2 authorizes. Settlement happens on whatever rails the merchant supports:

RailSpeedCostBest For
Card networks (Visa, Mastercard)1-3 days1-2%Traditional merchant checkout
Stablecoins (USDC, USDT)Seconds<0.1%Cross-border, agent-to-agent
x402 (Coinbase + Google)Seconds<0.1%Crypto-native agent payments
Bank transfer (ACH, SEPA)1-5 daysLowLarge B2B transactions

AP2 is rail-agnostic. The VDC proves authorization; the merchant chooses settlement infrastructure.

x402 Extension

x402 is the crypto-native extension — Coinbase, Google, and the Ethereum Foundation collaborating on stablecoin settlement for agent payments.

FeatureWhat It Does
HTTP 402Standard "Payment Required" response triggers agent payment
Stablecoin settlementUSDC on Base, Sui, or Ethereum
MicropaymentsSub-cent transactions viable on L2s
Atomic settlementPayment and delivery in one transaction

x402 makes the web itself payable. Any HTTP endpoint can require payment. Any agent can pay. No payment forms, no checkout flows — just a 402 response and a stablecoin transfer.

Partners

60+ launch partners across the payment ecosystem:

CategoryPartners
Card networksMastercard (+ Verifiable Intent), American Express
Payment processorsPayPal, Adyen, Stripe, Fiserv, Worldpay, Checkout.com
CryptoCoinbase, Sui, Ethereum Foundation
CommerceShopify, BigCommerce
AI platformsGoogle, Salesforce, ServiceNow

Sui as launch partner — Move's linear type system (assets can move but never copy) aligns with VDC semantics. A credential on Sui is physically incapable of duplication.

Verifiable Intent

Mastercard and Google co-developed Verifiable Intent — the authorization/identity layer that complements AP2's VDC model. Where VDCs prove an agent can pay, Verifiable Intent proves a human did authorize.

AP2 LayerVerifiable Intent LayerTogether
VDC proves agent scopeCryptographic record of human intentEvery agent transaction traceable to human consent
Mandate escalationSelective disclosureMinimum data shared at each authorization step
Rail-agnostic authProtocol-agnostic identityWorks across wallets, platforms, payment networks

Built on FIDO, EMVCo, IETF, W3C open standards. Partners: Adyen, Fiserv, Worldpay, IBM, Checkout.com, Basis Theory — overlapping significantly with AP2's 60+ partner ecosystem.

The combination closes the consent gap: AP2 scopes what agents can do, Verifiable Intent proves the human behind it. Disputes get an audit trail instead of guesswork. Spec open-sourced at verifiableintent-dev.

Where AP2 Sits

LayerProtocolWhat It Does
CommunicationA2AAgents discover and coordinate
CommerceUCPAgents browse, cart, checkout
AuthorizationAP2Agents prove they can pay
SettlementCard/stablecoin/x402Value actually moves
AttributionPCPIP value flows to creators

Context

Questions

When payment authorization becomes a cryptographic credential, what happens to the billion-dollar fraud prevention industry?

  • If VDCs can be scoped to category, amount, and time window, does the concept of a "stolen credit card" become obsolete for agent transactions?
  • What breaks when the Intent Mandate says "buy the cheapest" but the cheapest merchant has the worst reputation?
  • Verifiable Intent solves "did the human authorize this?" — but does it solve "did the human understand what they authorized?"
  • At what point does the convenience of agent purchasing create consent problems — the human authorized $500 on electronics, but did they mean THIS specific purchase?