ask-and-trust - v1.0.0
    Preparing search index...
    • Handles a webhook event from Stripe

      Parameters

      • signature: string

        The Stripe signature header

      • payload: Buffer

        The raw request body

      Returns Promise<string>

      A success message

      Error if webhook verification fails

      await handleStripeWebhook(signature, rawBody);