Packages

stripe

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

Your version

16.0.0

major24 Jun 2024Where it was published

16.12.0 is the newest release of 16.x.

In short

7 new2 changed

Release note

  • #2113

    This release changes the pinned API version to 2024-06-20. Please read the API Changelog and carefully review the API changes before upgrading.

Breaking changes

* Remove the unused resource `PlatformTaxFee`  
* Rename `volume_decimal` to `quantity_decimal` on  
  *  `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel`,  
  *  `Issuing.Transaction.purchase_details.fuel`,  
  *  `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel`, and  
  *  `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel`  
* `Capabilities.Requirements.disabled_reason` and `Capabilities.Requirements.disabled_reason` are now enums with the below values  
  * `other`  
  * `paused.inactivity`  
  * `pending.onboarding`  
  * `pending.review`  
  * `platform_disabled`  
  * `platform_paused`  
  * `rejected.inactivity`  
  * `rejected.other`  
  * `rejected.unsupported_business`  
  * `requirements.fields_needed`

Additions

* Add support for new values `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, and `pound` on enums `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit`  
* Add support for new values `card_canceled`, `card_expired`, `cardholder_blocked`, `insecure_authorization_method`, and `pin_blocked` on enum `Issuing.Authorization.request_history.reason`  
  • Add support for finalize_amount test helper method on resource Issuing.Authorization

  • Add support for new value ch_uid on enums Checkout.Session.customer_details.tax_ids.type, Invoice.customer_tax_ids.type, Tax.Calculation.customer_details.tax_ids.type, Tax.Transaction.customer_details.tax_ids.type, and TaxId.type

  • Add support for new value ch_uid on enums CustomerCreateParams.tax_id_data.type, InvoiceCreatePreviewParams.customer_details.tax_ids.type, InvoiceUpcomingLinesParams.customer_details.tax_ids.type, InvoiceUpcomingParams.customer_details.tax_ids.type, Tax.CalculationCreateParams.customer_details.tax_ids.type, and TaxIdCreateParams.type

  • Add support for fleet on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details, Issuing.AuthorizationCreateParams.testHelpers, Issuing.Authorization, Issuing.Transaction.purchase_details, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details

  • Add support for fuel on Issuing.AuthorizationCreateParams.testHelpers and Issuing.Authorization

  • Add support for industry_product_code and quantity_decimal on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel, Issuing.Transaction.purchase_details.fuel, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel

  • Add support for new value 2024-06-20 on enum WebhookEndpointCreateParams.api_version

  • Use worker module in Bun

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.