Docs
Dashboard

CartPaymentSessionInitializePayload

Object

Fields returned for cart payment session initialize payload.

#

Fields


cart
Cart

The cart associated with this cart payment session initialize payload.

errors
[CartPaymentSessionInitializeError!]

User-facing errors that prevented the operation from succeeding.

#

Mutations


Initializes a new payment session for the specified cart and payment gateway. The payment session is valid for the duration “validUntil” as long as the cart total does not change. If the cart total changes, a new payment session must be initialized.