All Tools
Tools/AP2 Flow Simulator
🤖
BlockchainBeta

AP2 Flow Simulator

Step through an Agent Payments Protocol purchase as an animated sequence diagram — human-present (CartMandate) and human-not-present (IntentMandate) — from shopping prompt through mandate signing to authorization with agent-presence signals.

A user delegates shopping to an AI agent but approves the final cart themselves. The merchant signs the exact cart (CartMandate), the user counter-signs it on a trusted surface, and a PaymentMandate carries agent-presence signals to the network/issuer alongside normal authorization.

1 / 11
🧑UserTrusted surface
🤖Shopping AgentAI surface
👛Credentials ProviderWallet
🏪MerchantAgent + processor
🏛️Network / IssuerAuthorization
1
Shopping Prompt
2
Discovery & Cart Negotiation
3
Merchant Signs CartMandate
4
Get Payment Methods
5
Show Cart on Trusted Surface
6
User Signs — Attestation
7
Purchase {PaymentMandate}
8
Authorization + Agent Signals
9
Step-up (if challenged)
10
Approve / Decline
11
Receipts
Initiation

Shopping Prompt

User delegates the task to the agent in natural language.

"Buy me white running shoes, size 10, under $150." The agent may confirm its understanding back to the user — this playback becomes part of the auditable trail.

Initiation
Authorization
SCA Challenge
Issuer Risk Check
Response
Mandate Signing
Completion