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

    Function getInvoiceId

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

      Works on invoice.* events (the object is the invoice) and on objects that reference an invoice (e.g. Checkout Sessions, PaymentIntents).

      Parameters

      • event: Event

      Returns string | undefined