stripe
23.2.0 · 19 Nov 2026MIT36.1M / weekRepositorynpmAtom feed
17.7.0 is the newest release of 17.x.
In short
3 breaking10 new1 changed
- Breaking
Rename
usage_threshold_configtousage_thresholdonBilling.AlertCreateParamsandBilling.Alert - Breaking
Remove support for
filteronBilling.AlertCreateParamsandBilling.Alert. Use the filters on theusage_thresholdinstead - Breaking
Remove support for
customer_consent_collectedonTerminal.ReaderProcessSetupIntentParams.
Release note
Support for APIs in the new API version 2024-09-30.acacia
This release changes the pinned API version to
2024-09-30.acacia. Please read the API Changelog and carefully review the API changes before upgrading.
Breaking changes due to changes in the Stripe API
- Breaking
Rename
usage_threshold_configtousage_thresholdonBilling.AlertCreateParamsandBilling.Alert - Breaking
Remove support for
filteronBilling.AlertCreateParamsandBilling.Alert. Use the filters on theusage_thresholdinstead - Breaking
Remove support for
customer_consent_collectedonTerminal.ReaderProcessSetupIntentParams.
Other Breaking changes in the SDK
- Breaking
Adjusted default values around reties for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
max retries:
1->2max timeout (seconds):
2->5
Additions
Add support for
custom_unit_amountonProductCreateParams.default_price_dataAdd support for
allow_redisplayonTerminal.ReaderProcessPaymentIntentParams.process_configandTerminal.ReaderProcessSetupIntentParamsAdd support for new value
international_transactionon enumTreasury.ReceivedCredit.failure_codeAdd support for new value
2024-09-30.acaciaon enumWebhookEndpointCreateParams.api_versionAdd support for new Usage Billing APIs
Billing.MeterEvent,Billing.MeterEventAdjustments,Billing.MeterEventSession,Billing.MeterEventStreamand the new Events APICore.Eventsin the v2 namespaceAdd method
parseThinEvent()on theStripeclass to parse thin events.Add method rawRequest() on the
Stripeclass that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.
Changes
Change
BillingPortal.ConfigurationCreateParams.features.subscription_update.default_allowed_updatesandBillingPortal.ConfigurationCreateParams.features.subscription_update.productsto be optional
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.