Lesson 2 of 5 · 4 min read
AP2 Mandates: Signed Proof of What the User Approved
The Agent Payments Protocol (AP2) was announced by Google in September 2025; version 0.2 was released and the protocol donated to the FIDO Alliance in April 2026. It defines two mandates, Checkout and Payment, each in an open stage (constraints the user signs) and a closed stage (the exact transaction). Mandates are SD-JWTs. When the user is not present, the open mandate carries the agent's public key, and the agent signs the closed mandate with it. The merchant returns a signed checkout whose hash is bound into the payment mandate. Roles: shopping agent, credential provider, merchant, merchant payment processor and trusted surface.
free sign-in, no card required
Practise it as an interviewer asks it
Why do agents need protocols at all? Explain what MCP and A2A each standardise and where each one sits in a design.How can an AI agent pay for something? Name the pieces between 'buy this for me' and a settled payment.A worker crashes after the payment call succeeds and before the result is saved. Design recovery.What does MCP standardise, and what does it leave to you?Design a shopping agent that can complete purchases while the user is away.MCP or A2A for connecting your agent to another team's agent?