Discounts for Twitch subscribers

Hello there.

I would like to implement an API to my website.
The website is about letting customers book a session with their favorite streamer.
How can I implement something that let both the streamer and the customer connect their twitch account and automatically apply a discount to subscribers’ cart?


The Subscribers API is documented here

Authentication is documented here

You’ll need to obtain and store the broadcasters token.
Then when a user logs in, user their token to get their ID and use that as a paired lookup in the get broadcaster subs api

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.