Magidoc

PaymentMethodInput
Input Object

An input to use for creating or retrieving payment methods

Fields

#

creditCardInfo

When creating a credit card, use this field to set its info

id

The id assigned to the payment method

isSavedForLater

Whether this payment method should be saved for future payments

name

Name of this payment method

paymentIntentId

The Payment Intent ID used in this checkout

paypalInfo

To pass when type is PAYPAL

service

Service of this payment method

type

Type of this payment method