The detailed contents of a cart, signed by the merchant to create a CartMandate.
CartContents represents the specific items, prices, and terms that a merchant is offering. When signed by the merchant, it becomes a CartMandate.
id: string
A unique identifier for this cart.
This should be a unique string that identifies this specific cart and its contents.
user_cart_confirmation_required: boolean
If true, the merchant requires user confirmation before purchase.
When true, even if the user has given broad purchasing permissions to their agent, this specific cart requires explicit user approval.
payment_request: AP2PaymentRequest
W3C PaymentRequest object with purchase details.
Contains all the payment details including items, totals, shipping options, and payment methods accepted by the merchant.
cart_expiry: string
When this cart expires, in ISO 8601 format.
After this time, the cart contents are no longer valid and should not be used for purchases. Prices and availability may have changed.
merchant_name: string
The name of the merchant.
Human-readable name of the merchant providing this cart.