All Tools
Tools/AP2 Flow Simulator
🤖
BlockchainBeta

AP2 Flow Simulator

Step through an Agent Payments Protocol (AP2 v0.2) purchase as an animated sequence diagram — human present (user signs closed Checkout and Payment Mandates) and human not present (user signs open mandates with constraints, the agent signs the closed ones) — through verification and signed receipts.

Follows Agent Payments Protocol (AP2)v0.2 flows·verified Sep 2026

The user approves the exact checkout. The merchant signs the checkout, the user signs a closed Checkout Mandate and a closed Payment Mandate on a trusted surface — both bound to the checkout by its hash — and each verifier returns a signed receipt.

1 / 10
🧑UserTrusted Surface
🤖Shopping AgentAI surface
👛Credential Provider+ network
🏪MerchantCheckout
🏦Merchant PSPPayment processor
1
Shopping Prompt
2
Build Cart & Checkout
3
Instrument Options
4
Mandates to Trusted Surface
5
User Signs Both Mandates↻
6
Payment Mandate → CP
7
Token + Checkout Mandate
8
Payment with Mandate
9
Payment Receipt
10
Checkout Receipt
Initiation

Shopping Prompt

User asks the agent to shop.

"White running shoes, size 10, under $150." In a human-present flow the user will approve the final checkout themselves.

Initiation
Authorization
SCA Challenge
Issuer Risk Check
Response
Mandate Signing
Completion
Something wrong or missing? Report a problem— we check reports against the specs and fix them.