{
  "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": "billing_portal.session.created",
  "resource": "billing_portal",
  "url": "https://hookdeck.com/webhooks/stripe/events/billing-portal#billing_portal.session.created",
  "description": "Customer portal session starts",
  "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": 49,
    "key_fields": [
      {
        "path": "data.object.id",
        "type": "string",
        "example": "bps_1Pgc7HB7WZ01zgkWNs8s9Auh"
      },
      {
        "path": "data.object.customer",
        "type": "string",
        "example": "cus_QXg1o8vcGmoR32"
      },
      {
        "path": "data.object.created",
        "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": {
          "configuration": "bpc_1Pgc7HB7WZ01zgkWxH2EPWRX",
          "created": 1234567890,
          "customer": "cus_QXg1o8vcGmoR32",
          "flow": {
            "after_completion": {
              "hosted_confirmation": {
                "custom_message": null
              },
              "redirect": {
                "return_url": "return_url"
              },
              "type": "hosted_confirmation"
            },
            "subscription_cancel": {
              "retention": {
                "coupon_offer": {
                  "coupon": "coupon"
                },
                "type": "coupon_offer"
              },
              "subscription": "subscription"
            },
            "subscription_update": {
              "subscription": "subscription"
            },
            "subscription_update_confirm": {
              "discounts": null,
              "items": [
                {
                  "id": null,
                  "price": null
                }
              ],
              "subscription": "subscription"
            },
            "type": "subscription_update",
            "customer_update": {},
            "subscription_pause": {
              "subscription": "subscription"
            }
          },
          "id": "bps_1Pgc7HB7WZ01zgkWNs8s9Auh",
          "livemode": true,
          "locale": null,
          "object": "billing_portal.session",
          "on_behalf_of": null,
          "return_url": "https://example.com/account",
          "url": "https://sangeekp-15t6ai--customer_portal-mydev.dev.stripe.me/session/{SESSION_SECRET}",
          "customer_account": null
        }
      },
      "id": "evt_1Pgc76B7WZ01zgkWwyRHS12y",
      "livemode": false,
      "object": "event",
      "pending_webhooks": 0,
      "request": {
        "id": null,
        "idempotency_key": null
      },
      "type": "billing_portal.session.created"
    }
  }
}