# subscription_cancelled

> For the complete machine-readable documentation index, see [llms.txt](https://apidocs.chargebee.com/llms.txt).


Triggered when the subscription is cancelled. If it is cancelled due to non payment or because the card details are not present, the subscription will have the possible reason as 'cancel\_reason'.

## Event Schema

- `id` (string)
  Unique identifier for the event
- `occurred_at` (integer (unix timestamp))
  Timestamp when the event occurred
- `source` (string)
  Source that triggered the event (e.g., admin_console, api, scheduled_job)
- `object` (string)
  Always "event" for webhook events
- `api_version` (string)
  API version used for this event
- `event_type` (string)
  Type of the webhook event
- `webhook_status` (string)
  Status of the webhook delivery

- `content` (object)
  Content of the event

  - `subscription` (object)
    The subscription object affected by this event
  - `customer` (object)
    The customer object affected by this event
  - `invoice` (object)
    The invoice object affected by this event

## Sample Payload

```json
{
    "id": "ev_subscriptibc3lkg",
    "occurred_at": 1787823749,
    "source": "admin_console",
    "object": "event",
    "api_version": "v1",
    "event_type": "subscription_cancelled",
    "webhook_status": "not_applicable",
    "content": {
        "subscription": {
            "activated_at": 1517506669,
            "created_at": 1517506669,
            "current_term_end": 1519925869,
            "current_term_start": 1517506669,
            "due_invoices_count": 1,
            "...": "..."
        },
        "customer": {
            "account_credits": 0,
            "allow_direct_debit": false,
            "auto_collection": "on",
            "billing_address": {
                "city": "Walnut",
                "country": "US",
                "first_name": "John",
                "last_name": "Doe",
                "line1": "PO Box 9999",
                "...": "..."
            },
            "card_status": "no_card",
            "...": "..."
        },
        "invoice": {
            "amount": 895,
            "amount_adjusted": 0,
            "amount_due": 0,
            "amount_paid": 895,
            "billing_address": {
                "first_name": "Rachel",
                "last_name": "Green",
                "object": "billing_address"
            },
            "...": "..."
        }
    }
}
```

