OBJECT
PaymentTransaction
There 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.
link GraphQL Schema definition
1 type PaymentTransaction { 2 3 # Currency for the price. 4 String : 5 6 # Price in smallest subunit for the currency, such as 499. 7 Int : 8 9 # The divisor used to derive the gross amount. 10 Int : 11 12 # Payment ID such as PPT321281 or POPT3278183712. 13 ID! : 14 15 # Whether this payment transaction was made to purchase a gift for someone else or 16 # not. 17 Boolean! : 18 19 # The payment method that was used to generate this payment transaction. 20 PaymentMethod! : 21 22 # Payment transaction purchased product details. 23 PaymentTransactionProduct! : 24 25 # PurchaseOrderID for the payment. 26 ID : 27 28 # Time the purchase payment was recognized at. 29 Time! : 30 31 # Quantity of the purchase. 32 Int! : 33 34 # The recipient Twitch user of the product purchased by the payment transaction, 35 # if applicable. 36 User : 37 38 }