getTransactions
suspend fun getTransactions(extensionId: String, ids: List<String> = emptyList(), first: Int = 20, after: String? = null): List<ExtensionTransaction>
Twitch API: Get Extension Transactions
Gets an extension's list of transactions. A transaction records the exchange of a currency (for example, Bits) for a digital product.
Requires an app access token.
Return
the list of transactions.
Parameters
extensionId
the ID of the extension whose list of transactions you want to get.
ids
a list of transaction IDs used to filter the list of transactions. You may specify a maximum of 100 IDs.
first
the maximum number of items to return per page in the response. The minimum page size is 1 item per page and the maximum is 100 items per page. The default is 20.
after
the cursor used to get the next page of results.