OBJECT
PaymentMethod
Type of payment method a user has used to buy products on Twitch, such as subs.
link GraphQL Schema definition
1 type PaymentMethod { 2 3 # Country (ISO-3166) associated to the billing info for the customer's payment 4 # method. 5 String : 6 7 # Email associated with customer's Amazon/Paypal account. 8 String : 9 10 # If payment type is card, then the type of card used is shown here. 11 PaymentCardType : 12 13 # ID of the payment method that can be referenced by other systems. 14 ID! : 15 16 # Credit card expiration month, if paymentType is CREDIT_CARD. 17 Int : 18 19 # Credit card expiration year, if paymentType is CREDIT_CARD. 20 Int : 21 22 # External payment method ID (the ID recorded by the payment provider) 23 # We can guarantee its uniqueness since it is external from our systems. 24 ID : 25 26 # Whether or not payment method has restrictions. 27 Boolean! : 28 29 # Credit card last four digits, if paymentType is CREDIT_CARD. 30 String : 31 32 # The payment scheme used by this payment method. 33 PaymentScheme : 34 35 # Payment type used via the payment provider. 36 PaymentInstrumentType! : 37 38 # One of the payment providers that Twitch currently supports. 39 PaymentProvider! : 40 41 # List of purchase profiles associated with this payment method. 42 PurchaseProfile!] : [ 43 44 # List of recurring payments associated with this payment method. 45 # New schema to eventually replace purchase profiles. 46 RecurringPaymentDetail!] : [ 47 48 }
link Required by
- AutoRefillContains all auto refill profiles, will have auto refill metadata in the future.
- PaymentTransactionThere are legacy and new data sources that contain similar payment transaction data. This type aims to merge several data sources into one to expose a consistent payment history for each Twitch user.
- UserTwitch user.