{
  "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": "subscription_schedule.expiring",
  "resource": "subscription_schedule",
  "url": "https://hookdeck.com/webhooks/stripe/events/subscription-schedule#subscription_schedule.expiring",
  "description": "Subscription schedule expires in 7 days",
  "trigger": null,
  "listed_in": "https://docs.stripe.com/api/events/types",
  "confidence": "documented",
  "schema_source": "official schema",
  "identified_by": "type field in the body",
  "payload": {
    "provenance": "vendor-source",
    "value_realism": "doc-example-values",
    "field_count": 149,
    "key_fields": [
      {
        "path": "data.object.id",
        "type": "string",
        "example": "sub_sched_1Pgc7AB7WZ01zgkWaeHcsbnC"
      },
      {
        "path": "data.object.status",
        "type": "string",
        "example": "not_started"
      },
      {
        "path": "data.object.customer",
        "type": "string",
        "example": "cus_QXg1o8vcGmoR32"
      },
      {
        "path": "data.object.canceled_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,
          "canceled_at": 1234567890,
          "completed_at": 1234567890,
          "created": 1234567890,
          "current_phase": {
            "end_date": 1725067410,
            "start_date": 1573629589
          },
          "customer": "cus_QXg1o8vcGmoR32",
          "default_settings": {
            "application_fee_percent": null,
            "automatic_tax": {
              "enabled": false,
              "liability": {
                "type": "account"
              },
              "disabled_reason": null
            },
            "billing_cycle_anchor": "automatic",
            "collection_method": "charge_automatically",
            "default_payment_method": null,
            "description": null,
            "invoice_settings": {
              "account_tax_ids": null,
              "days_until_due": null,
              "issuer": {
                "type": "self"
              },
              "custom_fields": null,
              "description": null,
              "footer": null
            },
            "on_behalf_of": null,
            "transfer_data": {
              "amount_percent": null,
              "destination": {
                "id": "obj_123",
                "object": "account"
              }
            },
            "billing_thresholds": {
              "amount_gte": null,
              "reset_billing_cycle_anchor": null
            }
          },
          "end_behavior": "release",
          "id": "sub_sched_1Pgc7AB7WZ01zgkWaeHcsbnC",
          "livemode": false,
          "metadata": {},
          "object": "subscription_schedule",
          "phases": [
            {
              "add_invoice_items": [],
              "application_fee_percent": null,
              "billing_cycle_anchor": null,
              "collection_method": null,
              "currency": "usd",
              "default_payment_method": null,
              "default_tax_rates": [],
              "description": null,
              "discounts": [],
              "end_date": 1754008472,
              "invoice_settings": {
                "account_tax_ids": null,
                "days_until_due": null,
                "issuer": {
                  "type": "account"
                },
                "custom_fields": null,
                "description": null,
                "footer": null
              },
              "items": [
                {
                  "discounts": [],
                  "metadata": {},
                  "price": "price_1PgafmB7WZ01zgkW6dKueIc5",
                  "quantity": 1,
                  "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"
                  },
                  "billing_thresholds": {
                    "usage_gte": null
                  }
                }
              ],
              "metadata": {},
              "on_behalf_of": null,
              "proration_behavior": "create_prorations",
              "start_date": 1722558872,
              "transfer_data": {
                "amount_percent": null,
                "destination": {
                  "id": "obj_123",
                  "object": "account"
                }
              },
              "trial_end": null,
              "billing_thresholds": {
                "amount_gte": null,
                "reset_billing_cycle_anchor": null
              }
            }
          ],
          "released_at": 1234567890,
          "released_subscription": null,
          "status": "not_started",
          "subscription": null,
          "test_clock": null,
          "billing_mode": {
            "type": "classic",
            "flexible": {}
          },
          "customer_account": null,
          "pause_schedules": [
            {
              "key": "key",
              "pause": {
                "pause_at": 1273691932,
                "settings": {
                  "bill_for": {
                    "outstanding_usage_through": {
                      "type": "none"
                    },
                    "unused_time_from": {
                      "type": "item_current_period_start"
                    }
                  },
                  "invoicing_behavior": "pending_invoice_item",
                  "type": "subscription"
                },
                "status": {
                  "type": "error"
                }
              },
              "resume": {
                "resume_at": 1819075195,
                "settings": {
                  "billing_cycle_anchor": "resume_at",
                  "payment_behavior": "resume_on_payment_success",
                  "proration_behavior": "create_prorations"
                },
                "status": {
                  "type": "error"
                }
              }
            }
          ]
        }
      },
      "id": "evt_1Pgc76B7WZ01zgkWwyRHS12y",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": null,
        "idempotency_key": null
      },
      "type": "subscription_schedule.expiring"
    }
  }
}