Subscriptions
ListSubscriptionEvents
Lists all events for a specific subscription. In the current implementation, only START_SUBSCRIPTION and STOP_SUBSCRIPTION (when the subscription was canceled) events are returned.
get/v2/subscriptions/{subscription_id}/events
Path parameters
subscription_idstring required
The ID of the subscription to retrieve the events for.
Query parameters
cursorstring
A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query.
For more information, see Pagination.
limitinteger
The upper limit on the number of subscription events to return in the response.
Default: 200
Response
Success
Example response
{
"subscription_events": [
{
"effective_date": "2020-04-24",
"id": "06809161-3867-4598-8269-8aea5be4f9de",
"plan_id": "6JHXF3B2CW3YKHDV4XEM674H",
"subscription_event_type": "START_SUBSCRIPTION"
},
{
"effective_date": "2020-05-06",
"id": "a0c08083-5db0-4800-85c7-d398de4fbb6e",
"plan_id": "6JHXF3B2CW3YKHDV4XEM674H",
"subscription_event_type": "STOP_SUBSCRIPTION"
}
]
}