OBJECT
PurchaseProfile
Purchase profile of a recurring or non-recurring subscription that a user bought.
link GraphQL Schema definition
1 type PurchaseProfile { 2 3 # Cancels the entitled benefit and refunds if isRefundable is true. 4 Time : 5 6 # Date this purchase profile was created. 7 Time! : 8 9 Time : 10 11 # Usually the Twitch user's ID, but recorded by the payment provider. 12 ID : 13 14 # The external subscription ID recorded by the payment provider. 15 ID : 16 17 # ID of the Purchase Profile in Payments team database. 18 ID! : 19 20 Boolean : 21 22 # Whether this purchase profile was gifted. 23 Boolean : 24 25 # Whether this purchase profile is being paid for. 26 Boolean! : 27 28 Boolean! : 29 30 Boolean : 31 32 Time : 33 34 # Product type of the purchase. 35 SubscriptionProductType! : 36 37 Time : 38 39 # Twitch purchaser's email. 40 String! : 41 42 # Twitch purchaser's user ID. 43 ID! : 44 45 # Twitch purchaser's real name. 46 String : 47 48 # Currency for the renewalPrice, e.g. "USD". 49 String : 50 51 # Expected renewal price of the product in the smallest subunit of the currency, 52 # e.g. "499". 53 Int : 54 55 # Different from cancellation in that it stops renewal but let's user keep the 56 # benefit until it expires. 57 Time : 58 59 # State of the purchase profile. i.e. cancelling the purchase profile can set 60 # state to 'cancelled'. 61 PurchaseProfileState! : 62 63 # Subscription benefit associated with this purchase profile, if still active. 64 SubscriptionBenefit : 65 66 # Date this purchase profile was last updated. 67 Time : 68 69 # Whether this purchase profile will renew in the future and charge the user's 70 # payment method. 71 Boolean! : 72 73 }