List Subscription Events

Lists an array of subscription_event objects from your ChartMogul account.

Examples

curl -X GET "https://api.chartmogul.com/v1/subscription_events?per_page=5&event_type=subscription_start&plan_external_id=gold_monthly"\
-u YOUR_API_KEY:\
-H "Content-Type: application/json"

Result Format

{
    "subscription_events":
    [
        {
            "id": 73966836,
            "data_source_uuid": "ds_1fm3eaac-62d0-31ec-clf4-4bf0mbe81aba",
            "data_source_customer_external_id": "scus_023",
            "subscription_set_external_id": null,
            "subscription_external_id": "sub_0023",
            "plan_external_id": null,
            "event_date": "2022-04-09T11:17:14Z",
            "effective_date": "2022-04-09T10:04:13Z",
            "event_type": "subscription_cancelled",
            "external_id": null,
            "errors":
            {},
            "created_at": "2022-04-09T11:17:14Z",
            "updated_at": "2022-04-09T11:17:14Z",
            "quantity": null,
            "currency": null,
            "amount_in_cents": null,
            "tax_amount_in_cents": null,
            "retracted_event_id": null
        },
        {
            "id": 73966786,
            "data_source_uuid": "1fm3eaac-62d0-31ec-clf4-4bf0mbe81aba",
            "data_source_customer_external_id": "scus_022",
            "subscription_set_external_id": null,
            "subscription_external_id": "sub_0001",
            "plan_external_id": null,
            "event_date": "2022-04-09T11:16:17Z",
            "effective_date": "2022-04-09T10:04:13Z",
            "event_type": "subscription_cancelled",
            "external_id": null,
            "errors":
            {},
            "created_at": "2022-04-09T11:16:17Z",
            "updated_at": "2022-04-09T11:16:17Z",
            "quantity": null,
            "currency": null,
            "amount_in_cents": null,
            "tax_amount_in_cents": null,
            "retracted_event_id": null
        }
    ],
    "meta":
    {
        "next_key": 67048503,
        "prev_key": null,
        "before_key": "2022-04-10T22:27:35.834Z",
        "page": 1,
        "total_pages": 166
    }
}
Language
Authentication
Basic
base64
: