How to detect the specific type of Premium a user has?

I’m working on a player list module that includes the option to enable the old Player List UI (with “old” being the one that was removed in 2020 and replaced with the current one) and replace “Premium” icons in the list with BC, TBC, and OBC icons depending on which type of Premium a user has.

How would I go about detecting this? Would I have to do something with HttpService? I saw someone mention some kind of Premium API using a proxy or whatever, didn’t really read the whole thing.