apiwatch

All changes / Stripe

Breaking sdk

stripe-node 23.0.0 removed the top-level constructEventWithoutVerification() method from the Stripe client; use stripe.webhooks.constructEventWithoutVerification() instead

Took effect · stripe-node 23.0.0 — top-level constructEventWithoutVerification() removed from the Stripe client

Reviewed against the vendor source on Oct 2, 2026 (AI-assisted review). Key facts are re-checked against the source daily.

What changes

The method was mistakenly added to the client in version 22.5.0, so only code written against 22.5.0 or later can use it. stripe.webhooks.constructEventWithoutVerification(payload) provides the same functionality and isn't affected.

Breaking: Calls fail after this date.

What to do

When moving to stripe-node 23, call stripe.webhooks.constructEventWithoutVerification(payload) instead of stripe.constructEventWithoutVerification(payload).

Strings to search for

constructEventWithoutVerification

Not affected (matches inside these are ignored): webhooks.constructEventWithoutVerification

Counts only in files matching *.js, *.mjs, *.cjs, *.ts, *.mts, *.cts, *.tsx, *.jsx; repos that depend on stripe 23.x (npm); or repos that mention "stripe": "^23 or "stripe": "~23 or "stripe": "23 or stripe@^23 or stripe@23 or stripe@npm:^23 or stripe@npm:23 (including dependency manifests).

Source

https://raw.githubusercontent.com/stripe/stripe-node/master/CHANGELOG.md