// The UTC date and time (in RFC3339 format) of the transaction.
Timestamptime.Time`json:"timestamp"`
// The ID of the broadcaster that owns the channel where the transaction occurred.
BroadcasterIDstring`json:"broadcaster_id"`
// The broadcaster’s login name.
BroadcasterLoginstring`json:"broadcaster_login"`
// The broadcaster’s display name.
BroadcasterNamestring`json:"broadcaster_name"`
// The type of transaction. Possible values are:
//
// BITS_IN_EXTENSION
ProductTypestring`json:"product_type"`
}
typeProductDatastruct{
// An ID that identifies the digital product.
SKUstring`json:"sku"`
// Set to twitch.ext. + <the extension's ID>.
Domainstring`json:"domain"`
// Contains details about the digital product’s cost.
CostProductDataCost`json:"cost"`
// A Boolean value that determines whether the product is in development. Is true if the digital product is in development and cannot be exchanged.
InDevelopmentbool`json:"in_development"`
// The name of the digital product.
DisplayNamestring`json:"display_name"`
// This field is always empty since you may purchase only unexpired products.
Expirationstring`json:"expiration"`
// A Boolean value that determines whether the data was broadcast to all instances of the extension. Is true if the data was broadcast to all instances.
Broadcastbool`json:"broadcast"`
}
typeProductDataCoststruct{
// The amount exchanged for the digital product.
Amountint`json:"amount"`
// The type of currency exchanged. Possible values are:
//
// bits
Typestring`json:"type"`
}
// Gets an extension’s list of transactions. A transaction records the exchange of a currency (for example, Bits) for a digital product.