getActiveSubscriptions
Get markers of the user's active subscriptions. 🔐 This method requires authorization.
Description
This method returns the markers of the subscription plans the current user is actively subscribed to. It returns a Promise that resolves to an array of strings (string[]).
Subscriptions.getActiveSubscriptions(
);
Examples
Minimal example
const response = await Subscriptions.getActiveSubscriptions();
Example response
[
"premium"
]
Response schema
Schema: string[]
[]: string
An array of the user's active subscription markers.
example: "premium"