Channel point transaction in extension
Like Bits transaction, it would be great to allow Channel points to be accessible from an extension.
The idea is to not expose channel points to the extension and work the same way Bits transactions are.
This would also need the addition of channelPointSku or allow sku product to have a bits value and/or a channel Point value.
- User click on a button
- Extension fires window.Twitch.ext.points.usePoints(pointsSku)
- User validate transaction
- (if user complete transaction )OnTransactionCompleted callback is fired with receipt containing channelPoint as the currency used
- (if user cancel or don't have the channel Points) onTransactionCanceled is called
To complete it, adding a filter on the endpoint GET helix/extensions/transactions would allow developers to only get Bits transaction, channel points transaction or both.
Channel points in extensions would help people to discover features, interact with extensions more and at the same time, give a way to regulate the interaction by using channel points instead of free actions.
One additional suggestion:
When the broadcaster installed an extension, allow the extension creator to use the channel point redemptions pub sub topic on that specific channel.
I’m just New Video Sure Twitch And At me.