@bates-solutions/stripe API Reference - v2.2.1
    Preparing search index...

    Function getSubscriptionId

    • Extract the Subscription ID from a webhook event, when present.

      Works on customer.subscription.* events (the object is the subscription) and on objects that reference a subscription (Checkout Sessions, Invoices).

      Parameters

      • event: Event

      Returns string | undefined