INPUT_OBJECT

PaymentMethodInput

An input to use for creating or retrieving payment methods

link GraphQL Schema definition

  • input PaymentMethodInput {
  • # The id assigned to the payment method
  • id: String
  • # Type of this payment method
  • type: PaymentMethodType
  • # Name of this payment method
  • name: String
  • # Wether this payment method should be saved for future payments
  • isSavedForLater: Boolean
  • # When creating a credit card, use this field to set its info
  • creditCardInfo: CreditCardCreateInput
  • # To pass when type is PAYPAL
  • paypalInfo: PaypalPaymentInput
  • }