MageSmith
INPUT_OBJECT Magento 2.4.9

SetPaymentMethodOnCartInput

Applies a payment method to the cart.

Declared or extended by: Quote

Fields

cart_id String! Required

The unique ID of a `Cart` object.

payment_method PaymentMethodInput! Required

The payment method data to apply to the cart.

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.