Link

The Access Grant object

This is an object representing a meter and access associated with a reader for a given story.

Attributes
granted Boolean
if the access to the document is granted or not.
grantReason String
the reason for giving the access to the document, recognized reasons are either SUBSCRIBER meaning the user is fully subscribed or METERING meaning user is on metering.
data Hash
any free form data which can be used for rendering templates on frontend.
{
  "granted": true,
  "grantReason": "METERING",
  "data": {
    "numberRemaining": 6,
    "isLoggedIn": true
  }
}