userHasPremium
Returns true if the user currently has a Roblox Premium subscription.
Parameters
Name | Type | Description |
---|---|---|
userId | Identifier | The ID of the user to get premium membership for. |
Example
const { data: hasPremium } = await ClassicPremiumFeaturesApi.userHasPremium({ userId: 45348281 });
Endpoint
GET /v1/users/{userId}/validate-membership