{
  "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.created",
  "resource": "subscription",
  "url": "https://hookdeck.com/webhooks/stripe/events/subscription#customer.subscription.created",
  "description": "New subscription starts",
  "trigger": null,
  "listed_in": "https://docs.stripe.com/api/events/types.md",
  "confidence": "verified",
  "schema_source": "from a captured delivery",
  "identified_by": "type field in the body",
  "payload": {
    "provenance": "sample-repo",
    "value_realism": "real-shape-redacted-values",
    "field_count": 139,
    "key_fields": [
      {
        "path": "data.object.id",
        "type": "string",
        "example": "sub_1MhUZrE0b6fckueSZfQ2Ytz6"
      },
      {
        "path": "data.object.status",
        "type": "string",
        "example": "trialing"
      },
      {
        "path": "data.object.customer",
        "type": "string",
        "example": "cus_NSPOMxl5eL01qM"
      },
      {
        "path": "data.object.created",
        "type": "integer",
        "example": "1677834419"
      }
    ],
    "delivery": {
      "title": "Seen in a captured delivery",
      "content_type": "application/json; charset=utf-8",
      "api_version": "2022-11-15",
      "headers": [
        "user-agent",
        "content-type",
        "stripe-signature"
      ]
    },
    "body": {
      "id": "evt_1MhUZtE0b6fckueSDaOf1oJ8",
      "object": "event",
      "api_version": "2022-11-15",
      "created": 1677834420,
      "data": {
        "object": {
          "id": "sub_1MhUZrE0b6fckueSZfQ2Ytz6",
          "object": "subscription",
          "application": null,
          "application_fee_percent": null,
          "automatic_tax": {
            "enabled": false
          },
          "billing_cycle_anchor": 1680426419,
          "billing_thresholds": null,
          "cancel_at": null,
          "cancel_at_period_end": false,
          "canceled_at": null,
          "cancellation_details": {
            "comment": null,
            "feedback": null,
            "reason": null
          },
          "collection_method": "charge_automatically",
          "created": 1677834419,
          "currency": "usd",
          "current_period_end": 1680426419,
          "current_period_start": 1677834419,
          "customer": "cus_NSPOMxl5eL01qM",
          "days_until_due": null,
          "default_payment_method": "pm_1MhUZoE0b6fckueSNbTLQLkm",
          "default_source": null,
          "default_tax_rates": [],
          "description": null,
          "discount": null,
          "ended_at": null,
          "items": {
            "object": "list",
            "data": [
              {
                "id": "si_NSPOg1R6mHTgyg",
                "object": "subscription_item",
                "billing_thresholds": null,
                "created": 1677834419,
                "metadata": {},
                "plan": {
                  "id": "price_1M3wjkE0b6fckueSKPgfRMSG",
                  "object": "plan",
                  "active": true,
                  "aggregate_usage": null,
                  "amount": 700,
                  "amount_decimal": "700",
                  "billing_scheme": "per_unit",
                  "created": 1668409544,
                  "currency": "usd",
                  "interval": "month",
                  "interval_count": 1,
                  "livemode": false,
                  "metadata": {},
                  "nickname": null,
                  "product": "prod_MnXpcVDdQq8wCY",
                  "tiers_mode": null,
                  "transform_usage": null,
                  "trial_period_days": null,
                  "usage_type": "licensed"
                },
                "price": {
                  "id": "price_1M3wjkE0b6fckueSKPgfRMSG",
                  "object": "price",
                  "active": true,
                  "billing_scheme": "per_unit",
                  "created": 1668409544,
                  "currency": "usd",
                  "custom_unit_amount": null,
                  "livemode": false,
                  "lookup_key": null,
                  "metadata": {},
                  "nickname": null,
                  "product": "prod_MnXpcVDdQq8wCY",
                  "recurring": {
                    "aggregate_usage": null,
                    "interval": "month",
                    "interval_count": 1,
                    "trial_period_days": null,
                    "usage_type": "licensed"
                  },
                  "tax_behavior": "unspecified",
                  "tiers_mode": null,
                  "transform_quantity": null,
                  "type": "recurring",
                  "unit_amount": 700,
                  "unit_amount_decimal": "700"
                },
                "quantity": 10,
                "subscription": "sub_1MhUZrE0b6fckueSZfQ2Ytz6",
                "tax_rates": []
              }
            ],
            "has_more": false,
            "total_count": 1,
            "url": "/v1/subscription_items?subscription=sub_1MhUZrE0b6fckueSZfQ2Ytz6"
          },
          "latest_invoice": "in_1MhUZrE0b6fckueSp9LCa3Rr",
          "livemode": false,
          "metadata": {},
          "next_pending_invoice_item_invoice": null,
          "on_behalf_of": null,
          "pause_collection": null,
          "payment_settings": {
            "payment_method_options": null,
            "payment_method_types": null,
            "save_default_payment_method": "off"
          },
          "pending_invoice_item_interval": null,
          "pending_setup_intent": null,
          "pending_update": null,
          "plan": {
            "id": "price_1M3wjkE0b6fckueSKPgfRMSG",
            "object": "plan",
            "active": true,
            "aggregate_usage": null,
            "amount": 700,
            "amount_decimal": "700",
            "billing_scheme": "per_unit",
            "created": 1668409544,
            "currency": "usd",
            "interval": "month",
            "interval_count": 1,
            "livemode": false,
            "metadata": {},
            "nickname": null,
            "product": "prod_MnXpcVDdQq8wCY",
            "tiers_mode": null,
            "transform_usage": null,
            "trial_period_days": null,
            "usage_type": "licensed"
          },
          "quantity": 10,
          "schedule": null,
          "start_date": 1677834419,
          "status": "trialing",
          "test_clock": null,
          "transfer_data": null,
          "trial_end": 1680426419,
          "trial_settings": {
            "end_behavior": {
              "missing_payment_method": "cancel"
            }
          },
          "trial_start": 1677834419
        }
      },
      "livemode": false,
      "pending_webhooks": 4,
      "request": {
        "id": null,
        "idempotency_key": null
      },
      "type": "customer.subscription.created"
    }
  }
}