Available in paywall script version 1.0.3 and later
If you have a tokenized paywall, skip this section — it's only relevant for regular paywalls. To get remaining tokens please use Get user data (paywall.getUser)
This API returns information about the trial set before displaying the paywall (trial by actions or time-based trial). If you set up a subscription-based trial (which is activated after the client enters their card details), you can get information about the trial using paywall.getUser()
Retrieves information about the current trial state for the paywall.