ap2-cart-mandate
Installation
SKILL.md
AP2 Cart Mandate
Before writing code
Fetch live docs:
- Fetch
https://ap2-protocol.org/specification/for the Cart Mandate schema - Web-search
site:github.com google-agentic-commerce AP2 src/ap2/types mandatefor the Python type definitions - Web-search
site:github.com google-agentic-commerce AP2 samples cart mandatefor sample implementations - Fetch
https://ap2-protocol.org/topics/core-concepts/for Cart Mandate conceptual details
Conceptual Architecture
What the Cart Mandate Is
The Cart Mandate is the primary VDC for human-present transactions. It captures explicit user authorization for a specific set of items at specific prices, cryptographically binding the user's identity and consent to the exact transaction details.
Who Creates It
The Merchant Endpoint creates and signs the Cart Mandate after receiving an Intent Mandate from the Shopping Agent. The merchant's signature guarantees fulfillment of the specified items at the specified prices.