My web app allows the user to stream spotify content. The sdk only works for those with a premium subscription. Is it possible to determine if a user has a premium subscription? There is an end point to get users profile, but I cant see anything that shows type of account.
It would be handy if this was possible so i can activate the streaming feature on the website.
You can use the Get Current User's Profile endpoint to request this information. You need to use the 'user-read-private' to get the 'product' the user is has.