OBJECT

PaymentMethod

Type of payment method a user has used to buy products on Twitch, such as subs.

link GraphQL Schema definition

1type PaymentMethod {
2
3# Country (ISO-3166) associated to the billing info for the customer's payment
4# method.
5billingCountry: String
6
7# Email associated with customer's Amazon/Paypal account.
8billingEmail: String
9
10# If payment type is card, then the type of card used is shown here.
11cardType: PaymentCardType
12
13# ID of the payment method that can be referenced by other systems.
14chargeInstrumentID: ID!
15
16# Credit card expiration month, if paymentType is CREDIT_CARD.
17expirationMonth: Int
18
19# Credit card expiration year, if paymentType is CREDIT_CARD.
20expirationYear: 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.
24extMethodID: ID
25
26# Whether or not payment method has restrictions.
27isRestricted: Boolean!
28
29# Credit card last four digits, if paymentType is CREDIT_CARD.
30lastFour: String
31
32# The payment scheme used by this payment method.
33paymentScheme: PaymentScheme
34
35# Payment type used via the payment provider.
36paymentType: PaymentInstrumentType!
37
38# One of the payment providers that Twitch currently supports.
39provider: PaymentProvider!
40
41# List of purchase profiles associated with this payment method.
42purchaseProfiles: [PurchaseProfile!]
43
44# List of recurring payments associated with this payment method.
45# New schema to eventually replace purchase profiles.
46recurringPaymentDetails: [RecurringPaymentDetail!]
47
48}