OBJECT

PaymentMethod

PaymentMethod model

link GraphQL Schema definition

  • type PaymentMethod {
  • id: String
  • legacyId: Int
  • name: String
  • service: String @deprecated( reason: "2020-08-18: This field is being deprecated in favor of providerType" )
  • type: String @deprecated( reason: "2020-08-18: This field is being deprecated in favor of providerType" )
  • # Defines the type of the payment method. Meant to be moved to "type" in the
  • # future.
  • providerType: PaymentMethodType
  • # Returns the balance amount and the currency of this paymentMethod
  • balance: Amount!
  • account: Account
  • # For gift cards, this field will return to the source payment method
  • sourcePaymentMethod: PaymentMethod
  • data: JSON
  • limitedToHosts: [Host]
  • expiryDate: ISODateTime
  • createdAt: ISODateTime
  • }