Get subscription stats
Retrieves subscription statistics for a paypoint or organization, bucketed by how soon active subscriptions are due to renew. This is a forward-looking forecast of upcoming renewals, not charges already taken. Request a single window with interval, or all to return every window in one call.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Long-lived API token sent in the requestToken header. See API token authentication.
Path parameters
Interval to get the data. Allowed values:
all- all intervals30- 1-30 days60- 31-60 days90- 61-90 daysplus- +90 days
The entry level for the request:
- 0 for Organization
- 2 for Paypoint
Response
The renewal window this row represents: 30 (due within 30 days), 60 (31 to 60 days), 90 (61 to 90 days), or +90 (more than 90 days out). Note the response label +90 differs from its request path value plus. Requesting all returns one row per window.
Number of active subscriptions scheduled to renew within this window. This is a forecast of upcoming renewals, not charges already taken, so it doesn't reconcile with inSubscriptionsPaid on /Statistic/basic.