Stripe Webhook Signature Verifier
Verifies Stripe webhook payload signatures using the Stripe.js SDK and the stripe.webhooks.constructEvent method. Validates the Stripe-Signature header against the raw request body and a configured endpoint secret. Handles tolerance windows for replay attack prevention and logs v
What it does
Stripe Webhook Signature Verifier
Verifies Stripe webhook payload signatures using the Stripe.js SDK and the stripe.webhooks.constructEvent method. Validates the Stripe-Signature header against the raw request body and a configured endpoint secret. Handles tolerance windows for replay attack prevention and logs verification failures to Datadog via the Datadog Logs API.
Installation
Use the upstream install or setup path that matches your environment:
- npm install stripe
- yarn add stripe
- npm install stripe@public-preview --save-exact
- npm install stripe@<some-version>
Requirements and caveats from upstream:
-
Stripe Node.js Library
- Want to chat live with Stripe engineers? Join us on our Discord server.
Basic usage or getting-started notes:
-
sh
-
or
-
The package needs to be configured with your account's secret key, which is
-
Extracted from upstream docs: https://raw.githubusercontent.com/stripe/stripe-node/HEAD/README.md
Source
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,334 chars)