{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "a24c8d9784c9e9fe937c63f76adbce108201378f",
  "registry_committed_at": "2026-11-19T08:56:09Z",
  "disclaimer": "Independent reference. Not affiliated with Stripe.",
  "vendor": "stripe",
  "event": "customer.subscription.deleted",
  "resource": "subscription",
  "url": "https://hookdeck.com/webhooks/stripe/events/subscription#customer.subscription.deleted",
  "description": "Subscription canceled or expired",
  "trigger": null,
  "listed_in": "https://docs.stripe.com/api/events/types.md",
  "confidence": "documented",
  "schema_source": "official schema",
  "identified_by": "type field in the body",
  "payload": {
    "provenance": "vendor-source",
    "value_realism": "doc-example-values",
    "field_count": 219,
    "key_fields": [
      {
        "path": "data.object.id",
        "type": "string",
        "example": "sub_1Pgc6rB7WZ01zgkWNy0Cn5nw"
      },
      {
        "path": "data.object.status",
        "type": "string",
        "example": "active"
      },
      {
        "path": "data.object.customer",
        "type": "string",
        "example": "cus_QXg1o8vcGmoR32"
      },
      {
        "path": "data.object.cancel_at",
        "type": "integer",
        "example": "1234567890"
      }
    ],
    "delivery": {
      "title": "From Stripe docs",
      "content_type": "application/json",
      "headers": []
    },
    "body": {
      "api_version": "2026-10-28.endive",
      "created": 1234567890,
      "data": {
        "object": {
          "application": null,
          "application_fee_percent": null,
          "automatic_tax": {
            "enabled": false,
            "liability": {
              "type": "account"
            },
            "disabled_reason": null
          },
          "billing_cycle_anchor": 1234567890,
          "billing_cycle_anchor_config": {
            "day_of_month": 1361669285,
            "hour": null,
            "minute": null,
            "month": null,
            "second": null
          },
          "cancel_at": 1234567890,
          "canceled_at": 1234567890,
          "cancellation_details": {
            "comment": null,
            "feedback": null,
            "reason": null,
            "feedback_option": null
          },
          "collection_method": "charge_automatically",
          "created": 1234567890,
          "currency": "usd",
          "customer": "cus_QXg1o8vcGmoR32",
          "days_until_due": null,
          "default_payment_method": null,
          "default_source": null,
          "default_tax_rates": [],
          "description": null,
          "discounts": [],
          "ended_at": 1234567890,
          "id": "sub_1Pgc6rB7WZ01zgkWNy0Cn5nw",
          "invoice_settings": {
            "account_tax_ids": null,
            "issuer": {
              "type": "self"
            },
            "custom_fields": null,
            "description": null,
            "footer": null
          },
          "items": {
            "data": [
              {
                "created": 1721954054,
                "discounts": [],
                "id": "si_QXhVnC2h0Jczwc",
                "metadata": {},
                "object": "subscription_item",
                "price": {
                  "active": true,
                  "billing_scheme": "per_unit",
                  "created": 1721948530,
                  "currency": "usd",
                  "custom_unit_amount": {
                    "maximum": null,
                    "minimum": null,
                    "preset": null
                  },
                  "id": "price_1PgafmB7WZ01zgkW6dKueIc5",
                  "livemode": false,
                  "lookup_key": null,
                  "metadata": {},
                  "nickname": null,
                  "object": "price",
                  "product": "prod_QXg1hqf4jFNsqG",
                  "recurring": {
                    "interval": "month",
                    "interval_count": 1,
                    "meter": null,
                    "usage_type": "licensed",
                    "trial_period_days": null
                  },
                  "tax_behavior": "unspecified",
                  "tiers_mode": null,
                  "transform_quantity": {
                    "divide_by": 1592560163,
                    "round": "down"
                  },
                  "type": "recurring",
                  "unit_amount": 2000,
                  "unit_amount_decimal": "2000"
                },
                "quantity": 1,
                "subscription": "sub_1Pgc6rB7WZ01zgkWNy0Cn5nw",
                "tax_rates": [],
                "plan": {
                  "active": true,
                  "amount": null,
                  "amount_decimal": null,
                  "billing_scheme": "tiered",
                  "created": 1028554472,
                  "currency": "currency",
                  "id": "obj_123",
                  "interval": "month",
                  "interval_count": 797691627,
                  "livemode": true,
                  "metadata": null,
                  "meter": null,
                  "nickname": null,
                  "object": "plan",
                  "product": null,
                  "tiers_mode": null,
                  "transform_usage": {
                    "divide_by": 1592560163,
                    "round": "down"
                  },
                  "trial_period_days": null,
                  "usage_type": "licensed"
                },
                "current_period_end": 976287773,
                "current_period_start": 1896570518,
                "billing_thresholds": {
                  "usage_gte": null
                },
                "current_trial": {
                  "end_date": 1725067410,
                  "start_date": 1573629589,
                  "trial_offer": "trial_offer"
                }
              }
            ],
            "has_more": false,
            "object": "list",
            "url": "/v1/subscription_items?subscription=sub_1Pgc6rB7WZ01zgkWNy0Cn5nw"
          },
          "latest_invoice": null,
          "livemode": false,
          "metadata": {},
          "next_pending_invoice_item_invoice": 1234567890,
          "object": "subscription",
          "on_behalf_of": null,
          "pause_collection": {
            "behavior": "mark_uncollectible",
            "resumes_at": null
          },
          "payment_settings": {
            "payment_method_options": {
              "acss_debit": {},
              "bancontact": {
                "preferred_language": "fr"
              },
              "card": {
                "network": null,
                "request_three_d_secure": null
              },
              "customer_balance": {
                "funding_type": null
              },
              "konbini": {},
              "sepa_debit": {},
              "us_bank_account": {},
              "payto": {},
              "pix": {},
              "upi": {},
              "billie": {}
            },
            "payment_method_types": null,
            "save_default_payment_method": null
          },
          "pending_invoice_item_interval": {
            "interval": "month",
            "interval_count": 797691627
          },
          "pending_setup_intent": null,
          "pending_update": {
            "billing_cycle_anchor": null,
            "discount": {
              "checkout_session": null,
              "customer": null,
              "end": null,
              "id": "obj_123",
              "invoice": null,
              "invoice_item": null,
              "object": "discount",
              "promotion_code": null,
              "start": 109757538,
              "subscription": null,
              "subscription_item": null,
              "source": {
                "coupon": null,
                "type": "coupon"
              },
              "customer_account": null
            },
            "discounts": [],
            "expires_at": 833811170,
            "subscription_items": null,
            "trial_end": null,
            "trial_from_plan": null,
            "metadata": null,
            "cancel_at_period_end": null
          },
          "schedule": null,
          "start_date": 1234567890,
          "status": "active",
          "test_clock": null,
          "transfer_data": {
            "amount_percent": null,
            "destination": {
              "id": "obj_123",
              "object": "account"
            }
          },
          "trial_end": 1234567890,
          "trial_settings": {
            "end_behavior": {
              "missing_payment_method": "create_invoice",
              "billing_cycle_anchor": null
            }
          },
          "trial_start": 1234567890,
          "cancel_at_period_end": true,
          "billing_thresholds": {
            "amount_gte": null,
            "reset_billing_cycle_anchor": null
          },
          "billing_mode": {
            "type": "classic",
            "flexible": {}
          },
          "customer_account": null,
          "managed_payments": {
            "enabled": true
          },
          "billing_schedules": [
            {
              "applies_to": null,
              "bill_until": {
                "computed_timestamp": 2082605468,
                "duration": {
                  "interval": "month",
                  "interval_count": null
                },
                "timestamp": null,
                "type": "duration"
              },
              "key": "key"
            }
          ]
        }
      },
      "id": "evt_1Pgc76B7WZ01zgkWwyRHS12y",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": null,
        "idempotency_key": null
      },
      "type": "customer.subscription.deleted"
    }
  }
}