interface CartMandate

A cart whose contents have been digitally signed by the merchant.

A CartMandate represents a merchant's commitment to honor the prices and terms specified in the cart contents, backed by a cryptographic signature.

Properties

The contents of the cart.

Contains all the details about items, prices, and terms offered by the merchant.

readonly
optional
merchant_authorization: string

Digital signature from the merchant authorizing this cart.

This cryptographic signature proves that the merchant has authorized these specific cart contents and commits to honoring the prices and terms. The signature should be verifiable using the merchant's public key.

Usage

import { type CartMandate } from ".";