Anchor to CartPaymentInputCart
input_objectCart Payment Input
The input fields for updating the payment method that will be used to checkout.
Anchor to FieldsFields
- amount (MoneyInput!)
- directPaymentMethod (CartDirectPaymentMethodInput)
- freePaymentMethod (CartFreePaymentMethodInput)
- sourceIdentifier (String)
- walletPaymentMethod (CartWalletPaymentMethodInput)
- Anchor to amountamount•Money
Input! required The amount that the customer will be charged at checkout.
- Anchor to directPaymentMethoddirect•Cart
Payment Method Direct Payment Method Input The input fields to use when checking out a cart with a direct payment method (like a credit card).
- Anchor to freePaymentMethodfree•Cart
Payment Method Free Payment Method Input The input fields to use to checkout a cart without providing a payment method. Use this payment method input if the total cost of the cart is 0.
- Anchor to sourceIdentifiersource•String
Identifier An ID of the order placed on the originating platform. Note that this value doesn't correspond to the Shopify Order ID.
- Anchor to walletPaymentMethodwallet•Cart
Payment Method Wallet Payment Method Input The input fields to use when checking out a cart with a wallet payment method (like Shop Pay or Apple Pay).
Was this section helpful?