Packages

stripe

23.2.0 · 19 Nov 2026MIT36.1M / weekRepositorynpmAtom feed

Your version

15.12.0

17 Jun 2024Where it was published

In short

2 changed

Release note

  • Update generated code

    • Add support for new value mobilepay on enums PaymentLink.payment_method_types, PaymentLinkCreateParams.payment_method_types, and PaymentLinkUpdateParams.payment_method_types

    • Add support for tax_id_collection on PaymentLinkUpdateParams

  • Where params are union of types, merge the types instead of having numbered suffixes in type names

    • Change type of PaymentIntentConfirmParams.mandate_data from Stripe.Emptyable<PaymentIntentConfirmParams.MandateData1 | PaymentIntentConfirmParams.MandateData2> to Stripe.Emptyable<PaymentIntentConfirmParams.MandateData> where the new MandateData is a union of all the properties of MandateData1 and MandateData2

    • Change type of PaymentMethodCreateParams.card from PaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2 to PaymentMethodCreateParams.Card where the new Card is a union of all the properties of Card1 and Card2

    • Change type of SetupIntentConfirmParams.mandate_data from Stripe.Emptyable<SetupIntentConfirmParams.MandateData1 | SetupIntentConfirmParams.MandateData2> to Stripe.Emptyable<SetupIntentConfirmParams.MandateData> where the new MandateData is a union of all the properties of MandateData1 and MandateData2

See the changelog for more details.

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.