v1
latestOpenAPI 3.0.02026-07-2475182625.5 KBList all subscriptions
Returns a list of all subscription IDs.
Query parameters
Filter subscriptions by the associated account ID.
Specify the beginning of a date range in yyyy-mm-dd format.
Specify the end of a date range in yyyy-mm-dd format.
Specify the event type to filter results. Valid values include canceled, charged, created, deactivated, trialended, or trialstarted.
Must be used with the begin and end parameters.
Filter subscriptions by specific product IDs.
Specify the scope to filter by test or live subscriptions. If not provided, both live and test subscriptions are returned by default.
Specify the subscription status to filter results. Valid values include active, canceled, deactivated, overdue, or trial.
Specify the page number of results to retrieve. Defaults to 1 if not provided.
Specify the maximum number of results per page. Defaults to 50 if not provided.
Response
OK
Example response
{
"action": "subscription.lookup",
"result": "success",
"page": 1,
"limit": 50,
"nextPage": 3,
"total": 3,
"subscriptions": [
"1abc2DE_FGhIjKLm3NoPQR",
"a12cD2-eFGhIjKLXn4OPq",
"12cDfgHIjKLmNOPqRs_tUVa"
]
}