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?
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