My idea is the streamer should pay or have a license to use the extension, pay once or periodically (not really decided), but it looks like extensions monetize from viewers instead. There is a way to monetize from the streamer that add and uses the extension instead?
5.1 Extensions may provide differentiated experiences or functionality to broadcasters, in exchange for compensation from broadcasters. Examples: tiered access to features or purchasable plugins to add functionality.
Just Twtich doesn’t provide the mechanism for you to do this “on site”. You’d need to create a payment flow outside of Twitch yourself.
yes but how my backend would know who is the streamer when loaded in a viewer iframe? by looking at the api I’ve found nothing useful
The JWT from onAuthorized has this information