Raw text body payload received from Stripe.
Value of the stripe-signature header from Stripe.
Typically a string.
Note that this is typed to accept an array of strings so that it works seamlessly with express's types, but will throw if an array is passed in practice since express should never return this header as an array, only a string.
Your Webhook Signing Secret for this endpoint (e.g., 'whsec_...'). You can get this in your dashboard.
Optionaltolerance: numberSeconds of tolerance on timestamps.
OptionalcryptoProvider: CryptoProviderOptional CryptoProvider to use for computing HMAC signatures.
OptionalreceivedAt: numberOptional: timestamp to use when checking signature validity. Defaults to Date.now().
Asynchronously constructs and verifies the signature of an Event from the provided details.
Raw text body payload received from Stripe.
Value of the stripe-signature header from Stripe.
Typically a string.
Note that this is typed to accept an array of strings so that it works seamlessly with express's types, but will throw if an array is passed in practice since express should never return this header as an array, only a string.
Your Webhook Signing Secret for this endpoint (e.g., 'whsec_...'). You can get this in your dashboard.
Optionaltolerance: numberSeconds of tolerance on timestamps.
OptionalcryptoProvider: CryptoProviderOptional CryptoProvider to use for computing HMAC signatures.
OptionalreceivedAt: numberOptional: timestamp to use when checking signature validity. Defaults to Date.now().
Generates a header to be used for webhook mocking
Generates a header to be used for webhook mocking
Constructs and verifies the signature of an Event from the provided details.