Docs
Dashboard

cartPaymentSessionInitialize

Mutation

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.

#

Arguments


input
CartPaymentSessionInitializeInput!Required

The values used to perform the cart payment session initialize operation.

#

Payload


cart
Cart

The cart associated with this cart payment session initialize payload.

errors
[CartPaymentSessionInitializeError!]

User-facing errors that prevented the operation from succeeding.