Statistic

Get subscription statistics for a paypoint or organization

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.

get/Statistic/subscriptions/{interval}/{level}/{entryId}

Request

  • Base URL: https://api-sandbox.payabli.com/api
  • URL: https://api-sandbox.payabli.com/api/Statistic/subscriptions/{interval}/{level}/{entryId}
  • Auth: HTTP bearer

Path parameters

entryIdinteger required

Identifier in Payabli for the entity.

intervalstring required

Interval to get the data. Allowed values:

  • all - all intervals
  • 30 - 1-30 days
  • 60 - 31-60 days
  • 90 - 61-90 days
  • plus - +90 days
levelinteger required

The entry level for the request:

  • 0 for Organization
  • 2 for Paypoint

Response

Success

intervalstring required

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.

countinteger required

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.

volumenumber double required

Total value of the upcoming renewals in this window, net of fees.

Changes

No recorded changes to this operation across all 1 revision of this API.