AP2 Cart Mandate for Agentic Commerce

•
32
•

Implements the AP2 Cart Mandate protocol to create cryptographically secure, human-authorized shopping cart transactions for agentic commerce.

The AP2 Cart Mandate skill enables developers to implement the core Verifiable Data Certificate (VDC) required for human-present transactions within the AP2 protocol. It facilitates the creation of merchant-signed product offers and user-signed confirmations, ensuring that transaction details are cryptographically bound to both parties. By leveraging the W3C Payment Request API structure and JCS canonicalization, this skill provides a robust framework for building secure checkout flows where AI agents act on behalf of users while maintaining strict authorization boundaries and non-repudiation.

Key Features

01Merchant-signed product offer generation
02Detached JWS (JWT) signature verification
0332 GitHub stars
04W3C Payment Request API schema implementation
05Hardware-backed user signature integration
06JCS (RFC 8785) JSON canonicalization

Use Cases

01Building secure checkout flows for AI shopping agents
02Integrating hardware-backed authorization in agentic payment systems
03Implementing verifiable merchant-signed pricing and inventory guarantees