stripe 12.1.0 → 12.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/CHANGELOG.md +266 -101
  2. package/VERSION +1 -1
  3. package/cjs/resources/AccountSessions.js +12 -0
  4. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  5. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  6. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  7. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  8. package/cjs/resources/FinancialConnections/Transactions.js +13 -0
  9. package/cjs/resources/GiftCards/Cards.js +29 -0
  10. package/cjs/resources/GiftCards/Transactions.js +33 -0
  11. package/cjs/resources/Issuing/CardBundles.js +17 -0
  12. package/cjs/resources/Issuing/CardDesigns.js +21 -0
  13. package/cjs/resources/Orders.js +42 -0
  14. package/cjs/resources/QuotePhases.js +22 -0
  15. package/cjs/resources/Quotes.js +32 -0
  16. package/cjs/resources/SubscriptionSchedules.js +4 -0
  17. package/cjs/resources/Tax/Registrations.js +21 -0
  18. package/cjs/resources/Tax/Settings.js +16 -0
  19. package/cjs/resources/Terminal/Readers.js +12 -0
  20. package/cjs/resources/TestHelpers/Issuing/CardDesigns.js +16 -0
  21. package/cjs/resources.js +45 -11
  22. package/cjs/stripe.core.js +1 -1
  23. package/esm/resources/AccountSessions.js +9 -0
  24. package/esm/resources/Capital/FinancingOffers.js +18 -0
  25. package/esm/resources/Capital/FinancingSummary.js +9 -0
  26. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  27. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  28. package/esm/resources/FinancialConnections/Transactions.js +10 -0
  29. package/esm/resources/GiftCards/Cards.js +26 -0
  30. package/esm/resources/GiftCards/Transactions.js +30 -0
  31. package/esm/resources/Issuing/CardBundles.js +14 -0
  32. package/esm/resources/Issuing/CardDesigns.js +18 -0
  33. package/esm/resources/Orders.js +39 -0
  34. package/esm/resources/QuotePhases.js +19 -0
  35. package/esm/resources/Quotes.js +32 -0
  36. package/esm/resources/SubscriptionSchedules.js +4 -0
  37. package/esm/resources/Tax/Registrations.js +18 -0
  38. package/esm/resources/Tax/Settings.js +13 -0
  39. package/esm/resources/Terminal/Readers.js +12 -0
  40. package/esm/resources/TestHelpers/Issuing/CardDesigns.js +13 -0
  41. package/esm/resources.js +32 -1
  42. package/esm/stripe.core.js +1 -1
  43. package/package.json +1 -1
  44. package/types/AccountSessions.d.ts +45 -0
  45. package/types/AccountSessionsResource.d.ts +27 -0
  46. package/types/Accounts.d.ts +46 -0
  47. package/types/AccountsResource.d.ts +95 -0
  48. package/types/Capital/FinancingOffers.d.ts +183 -0
  49. package/types/Capital/FinancingOffersResource.d.ts +95 -0
  50. package/types/Capital/FinancingSummary.d.ts +106 -0
  51. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  52. package/types/Capital/FinancingTransactions.d.ts +135 -0
  53. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  54. package/types/Charges.d.ts +44 -0
  55. package/types/Checkout/Sessions.d.ts +24 -0
  56. package/types/Checkout/SessionsResource.d.ts +23 -0
  57. package/types/Coupons.d.ts +1 -1
  58. package/types/CouponsResource.d.ts +1 -1
  59. package/types/CustomersResource.d.ts +3 -1
  60. package/types/Discounts.d.ts +10 -0
  61. package/types/FinancialConnections/Accounts.d.ts +54 -0
  62. package/types/FinancialConnections/AccountsResource.d.ts +25 -1
  63. package/types/FinancialConnections/InferredBalances.d.ts +38 -0
  64. package/types/FinancialConnections/Sessions.d.ts +50 -0
  65. package/types/FinancialConnections/SessionsResource.d.ts +39 -0
  66. package/types/FinancialConnections/Transactions.d.ts +85 -0
  67. package/types/FinancialConnections/TransactionsResource.d.ts +48 -0
  68. package/types/GiftCards/Cards.d.ts +118 -0
  69. package/types/GiftCards/CardsResource.d.ts +159 -0
  70. package/types/GiftCards/Transactions.d.ts +129 -0
  71. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  72. package/types/InvoiceItemsResource.d.ts +88 -0
  73. package/types/Invoices.d.ts +42 -3
  74. package/types/InvoicesResource.d.ts +434 -0
  75. package/types/Issuing/Authorizations.d.ts +25 -0
  76. package/types/Issuing/CardBundles.d.ts +48 -0
  77. package/types/Issuing/CardBundlesResource.d.ts +63 -0
  78. package/types/Issuing/CardDesigns.d.ts +58 -0
  79. package/types/Issuing/CardDesignsResource.d.ts +113 -0
  80. package/types/Issuing/CardholdersResource.d.ts +4 -2
  81. package/types/Issuing/Cards.d.ts +5 -0
  82. package/types/Issuing/CardsResource.d.ts +5 -0
  83. package/types/Issuing/Transactions.d.ts +17 -0
  84. package/types/LineItems.d.ts +7 -0
  85. package/types/Mandates.d.ts +9 -0
  86. package/types/Orders.d.ts +963 -0
  87. package/types/OrdersResource.d.ts +2609 -0
  88. package/types/PaymentIntents.d.ts +63 -0
  89. package/types/PaymentIntentsResource.d.ts +337 -3
  90. package/types/PaymentLinks.d.ts +1 -0
  91. package/types/PaymentLinksResource.d.ts +2 -0
  92. package/types/PaymentMethods.d.ts +16 -1
  93. package/types/PaymentMethodsResource.d.ts +27 -2
  94. package/types/Prices.d.ts +22 -0
  95. package/types/PricesResource.d.ts +22 -0
  96. package/types/Products.d.ts +39 -0
  97. package/types/ProductsResource.d.ts +36 -0
  98. package/types/QuoteLines.d.ts +548 -0
  99. package/types/QuotePhases.d.ts +164 -0
  100. package/types/QuotePhasesResource.d.ts +67 -0
  101. package/types/Quotes.d.ts +520 -1
  102. package/types/QuotesResource.d.ts +2932 -199
  103. package/types/SetupAttempts.d.ts +4 -0
  104. package/types/SetupIntents.d.ts +38 -0
  105. package/types/SetupIntentsResource.d.ts +165 -3
  106. package/types/Sources.d.ts +23 -0
  107. package/types/SubscriptionItems.d.ts +23 -0
  108. package/types/SubscriptionItemsResource.d.ts +147 -0
  109. package/types/SubscriptionSchedules.d.ts +221 -0
  110. package/types/SubscriptionSchedulesResource.d.ts +1237 -6
  111. package/types/Subscriptions.d.ts +58 -1
  112. package/types/SubscriptionsResource.d.ts +453 -0
  113. package/types/Tax/Registrations.d.ts +76 -0
  114. package/types/Tax/RegistrationsResource.d.ts +112 -0
  115. package/types/Tax/Settings.d.ts +58 -0
  116. package/types/Tax/SettingsResource.d.ts +82 -0
  117. package/types/Terminal/Readers.d.ts +177 -0
  118. package/types/Terminal/ReadersResource.d.ts +171 -0
  119. package/types/TestHelpers/Issuing/CardDesignsResource.d.ts +55 -0
  120. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  121. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  122. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  123. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  124. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  125. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  126. package/types/WebhookEndpointsResource.d.ts +42 -0
  127. package/types/index.d.ts +47 -0
package/CHANGELOG.md CHANGED
@@ -1,10 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 12.2.0-beta.1 - 2023-04-13
4
+ * [#1751](https://github.com/stripe/stripe-node/pull/1751) Update generated code for beta
5
+ * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
6
+ * Add support for `paypal_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
7
+ * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
8
+ * Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal.Reader.action`
9
+ * Add support for `stripe_account` on `Terminal.Reader.action.process_payment_intent` and `Terminal.Reader.action.refund_payment`
10
+ * Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `Terminal.Reader.action.type`
11
+ * Add support for new value `terminal.reader.action_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
12
+
3
13
  ## 12.1.0 - 2023-04-13
4
14
  * [#1754](https://github.com/stripe/stripe-node/pull/1754) Update generated code
5
15
  * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
6
16
  * [#1749](https://github.com/stripe/stripe-node/pull/1749) Type extend and ResourceNamespace better
7
17
 
18
+ ## 12.1.0-beta.1 - 2023-04-06
19
+ * [#1737](https://github.com/stripe/stripe-node/pull/1737) Update generated code for beta
20
+ * Add support for `treasury_transaction` on `CapitalFinancingTransactionListParams`
21
+ * Add support for `transaction` on `Capital.FinancingTransaction.details`
22
+ * Add support for new value `link` on enums `Charge.payment_method_details.card.wallet.type` and `PaymentMethod.card.wallet.type`
23
+ * Change `IssuingCardholderCreateParams.type` to be optional
24
+ * Add support for `country` on `PaymentMethod.link`
25
+ * Add support for `status_details` on `PaymentMethod.us_bank_account`
26
+ * [#1750](https://github.com/stripe/stripe-node/pull/1750) Merge master into beta
27
+
8
28
  ## 12.0.0 - 2023-04-06
9
29
  * [#1743](https://github.com/stripe/stripe-node/pull/1743) Remove `Stripe.default` and `Stripe.Stripe`
10
30
  This was added to maintain backwards compatibility during the transition of stripe-node to a dual ES module / CommonJS package, and should not be functionally necessary.
@@ -47,6 +67,11 @@ This was added to maintain backwards compatibility during the transition of stri
47
67
  * Add support for `status_details` on `PaymentMethod.us_bank_account`
48
68
  * [#1747](https://github.com/stripe/stripe-node/pull/1747) (Typescript) remove deprecated properties
49
69
 
70
+ ## 11.18.0-beta.1 - 2023-03-30
71
+ * [#1735](https://github.com/stripe/stripe-node/pull/1735) Update generated code
72
+ * Add support for new value `ioss` on enums `Tax.Registration.type` and `TaxRegistrationCreateParams.type`
73
+ * Change `TerminalReaderCollectInputsParams.inputs[].custom_text.description` to be optional
74
+
50
75
  ## 11.17.0 - 2023-03-30
51
76
  * [#1734](https://github.com/stripe/stripe-node/pull/1734) Update generated code
52
77
  * Remove support for `create` method on resource `Tax.Transaction`
@@ -56,6 +81,21 @@ This was added to maintain backwards compatibility during the transition of stri
56
81
  * This is not a breaking change, as `deleted` was never returned or accepted as input.
57
82
  * Add support for `amount_tip` on `TerminalReaderPresentPaymentMethodParams.testHelpers`
58
83
 
84
+ ## 11.17.0-beta.1 - 2023-03-23
85
+ * [#1724](https://github.com/stripe/stripe-node/pull/1724) Update generated code for beta (new)
86
+ * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
87
+ * Add support for `collect_inputs` method on resource `Terminal.Reader`
88
+ * Add support for `financing_offer` on `Capital.FinancingSummary`
89
+ * Add support for new value `link` on enum `CheckoutSessionCreateParams.payment_method_types[]`
90
+ * Add support for `fx_rate` on `Checkout.Session.currency_conversion`
91
+ * Add support for new value `link` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
92
+ * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
93
+ * Remove support for `preview` on `TaxCalculationCreateParams`
94
+ * Change type of `Tax.Calculation.line_items[]` from `LineItem` to `Tax.CalculationLineItem`
95
+ * Change type of `Tax.Transaction.line_items[]` from `LineItem` to `Tax.TransactionLineItem`
96
+ * Add support for `collect_inputs` on `Terminal.Reader.action`
97
+ * Add support for new value `collect_inputs` on enum `Terminal.Reader.action.type`
98
+
59
99
  ## 11.16.0 - 2023-03-23
60
100
  * [#1730](https://github.com/stripe/stripe-node/pull/1730) Update generated code
61
101
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
@@ -67,6 +107,19 @@ This was added to maintain backwards compatibility during the transition of stri
67
107
  * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
68
108
  * [#1726](https://github.com/stripe/stripe-node/pull/1726) Add Deno entry point
69
109
 
110
+ ## 11.16.0-beta.1 - 2023-03-17
111
+ * [#1713](https://github.com/stripe/stripe-node/pull/1713) API Updates
112
+ * Add support for `create_from_calculation` method on resource `Tax.Transaction`
113
+ * Change type of `Invoice.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
114
+ * Add support for `paypal` on `Mandate.payment_method_details`, `SetupAttempt.payment_method_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, and `SetupIntentUpdateParams.payment_method_options`
115
+ * Add support for new value `automatic_async` on enums `Order.payment.settings.payment_method_options.afterpay_clearpay.capture_method`, `Order.payment.settings.payment_method_options.card.capture_method`, `OrderCreateParams.payment.settings.payment_method_options.afterpay_clearpay.capture_method`, `OrderCreateParams.payment.settings.payment_method_options.card.capture_method`, `OrderUpdateParams.payment.settings.payment_method_options.afterpay_clearpay.capture_method`, and `OrderUpdateParams.payment.settings.payment_method_options.card.capture_method`
116
+ * Add support for `setup_future_usage` on `Order.payment.settings.payment_method_options.paypal`, `OrderCreateParams.payment.settings.payment_method_options.paypal`, `OrderUpdateParams.payment.settings.payment_method_options.paypal`, `PaymentIntent.payment_method_options.paypal`, `PaymentIntentConfirmParams.payment_method_options.paypal`, `PaymentIntentCreateParams.payment_method_options.paypal`, and `PaymentIntentUpdateParams.payment_method_options.paypal`
117
+ * Change `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.hosted_instructions_url`, `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.mobile_auth_url`, `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.expires_at`, `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.image_url_png`, `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.image_url_svg`, `PaymentIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code`, `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.hosted_instructions_url`, `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.mobile_auth_url`, `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.expires_at`, `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.image_url_png`, `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code.image_url_svg`, and `SetupIntent.next_action.cashapp_handle_redirect_or_display_qr_code.qr_code` to be required
118
+ * Remove support for `applies_to` on `QuotePreviewInvoiceLinesParams`
119
+ * Add support for `shipping_cost` on `Tax.Calculation`, `Tax.Transaction`, `TaxCalculationCreateParams`, and `TaxTransactionCreateReversalParams`
120
+ * Add support for `tax_breakdown` on `Tax.Calculation`
121
+ * Remove support for `tax_summary` on `Tax.Calculation`
122
+
70
123
  ## 11.15.0 - 2023-03-16
71
124
  * [#1714](https://github.com/stripe/stripe-node/pull/1714) API Updates
72
125
  * Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -95,6 +148,16 @@ This was added to maintain backwards compatibility during the transition of stri
95
148
  * Add support for new value `cashapp` on enum `PaymentMethod.type`
96
149
  * Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
97
150
 
151
+ ## 11.15.0-beta.1 - 2023-03-09
152
+ * [#1705](https://github.com/stripe/stripe-node/pull/1705) API Updates for beta branch
153
+ * Updated stable APIs to the latest version
154
+ * Remove support for `list_transactions` method on resource `Tax.Transaction`
155
+ * Add support for `amendment_start` and `timestamp` on `SubscriptionScheduleAmendParams.prebilling[].bill_from`
156
+ * Change type of `SubscriptionScheduleAmendParams.prebilling[].bill_from.type` from `literal('now')` to `enum('amendment_start'|'now'|'timestamp')`
157
+ * Change type of `SubscriptionSchedule.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
158
+ * Add support for new value `lease_tax` on enum `Tax.Calculation.tax_summary[].tax_rate_details.tax_type`
159
+ * Add support for `tax_behavior` on `Tax.Settings.defaults` and `TaxSettingUpdateParams.defaults`
160
+
98
161
  ## 11.14.0 - 2023-03-09
99
162
  * [#1703](https://github.com/stripe/stripe-node/pull/1703) API Updates
100
163
  * Add support for `card_issuing` on `IssuingCardholderCreateParams.individual` and `IssuingCardholderUpdateParams.individual`
@@ -105,6 +168,25 @@ This was added to maintain backwards compatibility during the transition of stri
105
168
  * [#1695](https://github.com/stripe/stripe-node/pull/1695) Migrate generated files to ES module syntax
106
169
  * [#1699](https://github.com/stripe/stripe-node/pull/1699) Remove extra test directory
107
170
 
171
+ ## 11.14.0-beta.2 - 2023-03-03
172
+ * [#1698](https://github.com/stripe/stripe-node/pull/1698) API Updates for beta branch
173
+ * Updated stable APIs to the latest version
174
+ * Add support for `update_behavior` on `Subscription.prebilling`, `SubscriptionCreateParams.prebilling`, `SubscriptionSchedule.prebilling`, `SubscriptionScheduleCreateParams.prebilling`, `SubscriptionScheduleUpdateParams.prebilling`, and `SubscriptionUpdateParams.prebilling`
175
+ * Add support for `prebilling` on `SubscriptionScheduleAmendParams`
176
+ * Add support for `taxability_override` on `Tax.Calculation.customer_details`, `Tax.Transaction.customer_details`, and `TaxCalculationCreateParams.customer_details`
177
+ * Add support for `tax_summary` on `Tax.Calculation`
178
+ * Remove support for `tax_breakdown` on `Tax.Calculation`
179
+
180
+ ## 11.14.0-beta.1 - 2023-03-02
181
+ * [#1697](https://github.com/stripe/stripe-node/pull/1697) API Updates for beta branch
182
+ * Updated stable APIs to the latest version
183
+ * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
184
+ * Add support for `list` and `retrieve` methods on resource `CardBundle`
185
+ * Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
186
+ * Remove support for `controller` on `AccountUpdateParams`
187
+ * Add support for `card_design` on `Issuing.Card` and `IssuingCardCreateParams`
188
+ * Add support for new values `issuing_card_design.activated`, `issuing_card_design.deactivated`, and `issuing_card_design.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
189
+
108
190
  ## 11.13.0 - 2023-03-02
109
191
  * [#1696](https://github.com/stripe/stripe-node/pull/1696) API Updates
110
192
  * Add support for new values `electric_vehicle_charging`, `emergency_services_gcas_visa_use_only`, `government_licensed_horse_dog_racing_us_region_only`, `government_licensed_online_casions_online_gambling_us_region_only`, `government_owned_lotteries_non_us_region`, `government_owned_lotteries_us_region_only`, and `marketplaces` on spending control categories.
@@ -113,6 +195,14 @@ This was added to maintain backwards compatibility during the transition of stri
113
195
 
114
196
  * [#1689](https://github.com/stripe/stripe-node/pull/1689) Update v11.8.0 changelog with breaking change disclaimer
115
197
 
198
+ ## 11.13.0-beta.1 - 2023-02-23
199
+ * [#1690](https://github.com/stripe/stripe-node/pull/1690) API Updates for beta branch
200
+ * Updated stable APIs to the latest version
201
+ * Add support for `manual_entry` on `Checkout.Session.payment_method_options.us_bank_account.financial_connections`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntent.payment_method_options.us_bank_account.financial_connections`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, and `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`
202
+ * Add support for new value `igst` on enum `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`
203
+ * Change `TaxTransactionCreateParams.reference` to be required
204
+ * Add support for new values `capital.financing_offer.accepted`, `capital.financing_offer.canceled`, `capital.financing_offer.created`, `capital.financing_offer.expired`, `capital.financing_offer.fully_repaid`, `capital.financing_offer.paid_out`, `capital.financing_offer.rejected`, and `capital.financing_offer.replacement_created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
205
+
116
206
  ## 11.12.0 - 2023-02-23
117
207
  * [#1688](https://github.com/stripe/stripe-node/pull/1688) API Updates
118
208
  * Add support for new value `yoursafe` on enums `Charge.payment_method_details.ideal.bank`, `PaymentIntentConfirmParams.payment_method_data.ideal.bank`, `PaymentIntentCreateParams.payment_method_data.ideal.bank`, `PaymentIntentUpdateParams.payment_method_data.ideal.bank`, `PaymentMethod.ideal.bank`, `PaymentMethodCreateParams.ideal.bank`, `SetupAttempt.payment_method_details.ideal.bank`, `SetupIntentConfirmParams.payment_method_data.ideal.bank`, `SetupIntentCreateParams.payment_method_data.ideal.bank`, and `SetupIntentUpdateParams.payment_method_data.ideal.bank`
@@ -120,6 +210,15 @@ This was added to maintain backwards compatibility during the transition of stri
120
210
  * Add support for new value `igst` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
121
211
  * [#1687](https://github.com/stripe/stripe-node/pull/1687) Convert TypeScript files to use ES modules
122
212
 
213
+ ## 11.12.0-beta.1 - 2023-02-16
214
+ * [#1686](https://github.com/stripe/stripe-node/pull/1686) API Updates for beta branch
215
+ * Updated stable APIs to the latest version
216
+ * Change type of `Quote.status_details.canceled` from `QuotesResourceStatusDetailsCanceledStatusDetails | null` to `QuotesResourceStatusDetailsCanceledStatusDetails`
217
+ * Change type of `Quote.status_details.stale` from `QuotesResourceStatusDetailsStaleStatusDetails | null` to `QuotesResourceStatusDetailsStaleStatusDetails`
218
+ * Change `Quote.status_details.canceled` and `Quote.status_details.stale` to be optional
219
+ * Remove support for `reference` on `Tax.Calculation` and `TaxCalculationCreateParams`
220
+ * Add support for `reference` on `TaxTransactionCreateParams`
221
+
123
222
  ## 11.11.0 - 2023-02-16
124
223
  * [#1681](https://github.com/stripe/stripe-node/pull/1681) API Updates
125
224
  * Add support for `refund_payment` method on resource `Terminal.Reader`
@@ -134,9 +233,32 @@ This was added to maintain backwards compatibility during the transition of stri
134
233
  * [#1685](https://github.com/stripe/stripe-node/pull/1685) Add more webhook parsing checks
135
234
  * [#1684](https://github.com/stripe/stripe-node/pull/1684) Add infrastructure for mocked tests
136
235
 
236
+ ## 11.11.0-beta.1 - 2023-02-13
237
+ * [#1676](https://github.com/stripe/stripe-node/pull/1676) API Updates for beta branch
238
+ * Updated stable APIs to the latest version
239
+ * Add support for `currency_conversion` on `Checkout.Session`
240
+ * Add support for `limits` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
241
+ * Remove support for `enabled` on `FinancialConnectionsSessionCreateParams.manual_entry`
242
+
137
243
  ## 11.10.0 - 2023-02-09
138
244
  * [#1679](https://github.com/stripe/stripe-node/pull/1679) Enable library to work in worker environments without extra configuration.
139
245
 
246
+ ## 11.10.0-beta.1 - 2023-02-02
247
+ * [#1671](https://github.com/stripe/stripe-node/pull/1671) API Updates for beta branch
248
+ * Updated stable APIs to the latest version
249
+ * Add support for new resource `FinancialConnections.Transaction`
250
+ * Add support for `list` method on resource `Transaction`
251
+ * Add support for `prefetch` on `.payment_method_options.us_bank_account.financial_connections` across several APIs
252
+ * Change `CheckoutSessionCreateParams.payment_method_options.paypal.currency`, `IssuingCardholderCreateParams.individual.first_name`, `IssuingCardholderCreateParams.individual.last_name`, `IssuingCardholderUpdateParams.individual.first_name`, `IssuingCardholderUpdateParams.individual.last_name`, and `Quote.subscription_data_overrides[].bill_on_acceptance` to be optional
253
+ * Add support for new values `inferred_balances` and `transactions` on enum `FinancialConnectionsAccountRefreshParams.features[]`
254
+ * Add support for `inferred_balances_refresh`, `subscriptions`, and `transaction_refresh` on `FinancialConnections.Account`
255
+ * Add support for `manual_entry` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
256
+ * Add support for `status_details` and `status` on `FinancialConnections.Session`
257
+ * Add support for new value `ownership` on enums `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[]` and `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.permissions[]`
258
+ * Add support for `account_number` on `PaymentMethod.us_bank_account`
259
+ * Remove support for `id` on `QuoteCreateParams.lines[].starts_at.line_ends_at`
260
+ * Add support for new values `customer.subscription.paused`, `customer.subscription.resumed`, `financial_connections.account.refreshed_inferred_balances`, `financial_connections.account.refreshed_ownership`, `financial_connections.account.refreshed_transactions`, and `financial_connections.session.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
261
+
140
262
  ## 11.9.1 - 2023-02-03
141
263
  * [#1672](https://github.com/stripe/stripe-node/pull/1672) Update main entrypoint on package.json
142
264
 
@@ -162,12 +284,23 @@ This was added to maintain backwards compatibility during the transition of stri
162
284
  * [#1668](https://github.com/stripe/stripe-node/pull/1668) Use EventTarget in worker / browser runtimes
163
285
  * [#1667](https://github.com/stripe/stripe-node/pull/1667) fix: added support for TypeScript "NodeNext" module resolution
164
286
 
287
+ ## 11.9.0-beta.1 - 2023-01-26
288
+ * [#1666](https://github.com/stripe/stripe-node/pull/1666) API Updates for beta branch
289
+ * Updated stable APIs to the latest version
290
+ * Add support for `billing_agreement_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`
291
+ * Add support for `list_transactions` method on resource `Tax.Transaction`
292
+ * Change type of `QuoteUpdateParams.subscription_data_overrides` from `array(create_specs)` to `emptyStringable(array(update_specs))`
293
+
165
294
  ## 11.8.0 - 2023-01-26
166
295
  * [#1665](https://github.com/stripe/stripe-node/pull/1665) API Updates
167
296
  * Add support for new value `BE` on enums `Checkout.Session.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country`, `Invoice.payment_settings.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country`, `PaymentIntent.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country`, and `Subscription.payment_settings.payment_method_options.customer_balance.bank_transfer.eu_bank_transfer.country`
168
297
  * Add support for new values `cs-CZ`, `el-GR`, `en-CZ`, and `en-GR` on enums `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale`
169
298
  * [#1660](https://github.com/stripe/stripe-node/pull/1660) Introduce separate entry point for worker environments
170
- * This is technically a breaking change that explicitly defines package entry points and was mistakenly released in a minor version. If your application previously imported other internal files from stripe-node and this change breaks it, please open an issue detailing your use case.
299
+
300
+ ## 11.8.0-beta.1 - 2023-01-19
301
+ * [#1662](https://github.com/stripe/stripe-node/pull/1662) API Updates for beta branch
302
+ * Updated stable APIs to the latest version
303
+ * Add support for `Tax.Settings` resource.
171
304
 
172
305
  ## 11.7.0 - 2023-01-19
173
306
  * [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
@@ -175,10 +308,39 @@ This was added to maintain backwards compatibility during the transition of stri
175
308
  * Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
176
309
  * [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3
177
310
 
311
+ ## 11.7.0-beta.2 - 2023-01-12
312
+ * [#1653](https://github.com/stripe/stripe-node/pull/1653) API Updates for beta branch
313
+ * Updated stable APIs to the latest version
314
+ * Add support for new resource `Tax.Registration`
315
+ * Add support for `create`, `list`, and `update` methods on resource `Registration`
316
+ * Add support for `controller` on `AccountCreateParams` and `AccountUpdateParams`
317
+ * Add support for `application` and `dashboard` on `Account.controller`
318
+ * Change type of `Quote.subscription_data_overrides[].proration_behavior` from `enum('always_invoice'|'create_prorations'|'none')` to `enum('always_invoice'|'create_prorations'|'none') | null`
319
+ * Remove support for `timestamp` on `QuoteLine.actions[].add_discount.discount_end`
320
+ * Change type of `QuoteLine.actions[].add_discount.discount_end.type` from `literal('timestamp')` to `literal('line_ends_at')`
321
+ * Remove support for `index` on `QuoteLine.actions[].add_item.discounts[]`, `QuoteLine.actions[].remove_discount`, `QuoteLine.actions[].set_discounts[]`, `QuoteLine.actions[].set_items[].discounts[]`, `SubscriptionSchedule.phases[].add_invoice_items[].discounts[]`, `SubscriptionSchedule.phases[].discounts[]`, and `SubscriptionSchedule.phases[].items[].discounts[]`
322
+ * Change `QuoteLine.actions[].add_discount.index` to be required
323
+ * Add support for new values `quote.accepting`, `quote.reestimated`, and `quote.stale` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
324
+
325
+ * Change `quote.draft_quote` implementation from hitting `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
326
+
327
+ ## 11.7.0-beta.1 - 2023-01-05
328
+ * [#1648](https://github.com/stripe/stripe-node/pull/1648) API Updates for beta branch
329
+ * Updated stable APIs to the latest version
330
+ * Add support for `mark_stale_quote` method on resource `Quote`
331
+ * Add support for `duration` and `line_ends_at` on `QuoteCreateParams.subscription_data.bill_on_acceptance.bill_until`, `QuoteCreateParams.subscription_data_overrides[].bill_on_acceptance.bill_until`, `QuoteUpdateParams.subscription_data.bill_on_acceptance.bill_until`, and `QuoteUpdateParams.subscription_data_overrides[].bill_on_acceptance.bill_until`
332
+ * Remove support for `line_starts_at` on `QuoteCreateParams.subscription_data.bill_on_acceptance.bill_until`, `QuoteCreateParams.subscription_data_overrides[].bill_on_acceptance.bill_until`, `QuoteUpdateParams.subscription_data.bill_on_acceptance.bill_until`, and `QuoteUpdateParams.subscription_data_overrides[].bill_on_acceptance.bill_until`
333
+ * Add support for `metadata` on `Terminal.Reader.action.refund_payment` and `TerminalReaderRefundPaymentParams`
334
+
178
335
  ## 11.6.0 - 2023-01-05
179
336
  * [#1646](https://github.com/stripe/stripe-node/pull/1646) API Updates
180
337
  * Add support for `card_issuing` on `Issuing.Cardholder.individual`
181
338
 
339
+ ## 11.6.0-beta.1 - 2022-12-22
340
+ * [#1643](https://github.com/stripe/stripe-node/pull/1643) API Updates for beta branch
341
+ * Updated stable APIs to the latest version
342
+ * Move `stripe.taxCalculations` to `stripe.tax.calculations` and `stripe.taxTransactions` to `stripe.tax.transactions`.
343
+
182
344
  ## 11.5.0 - 2022-12-22
183
345
  * [#1642](https://github.com/stripe/stripe-node/pull/1642) API Updates
184
346
  * Add support for new value `merchant_default` on enums `CashBalanceUpdateParams.settings.reconciliation_mode`, `CustomerCreateParams.cash_balance.settings.reconciliation_mode`, and `CustomerUpdateParams.cash_balance.settings.reconciliation_mode`
@@ -186,6 +348,13 @@ This was added to maintain backwards compatibility during the transition of stri
186
348
  * Change `CheckoutSessionCreateParams.cancel_url` to be optional
187
349
  * Change type of `Checkout.Session.cancel_url` from `string` to `string | null`
188
350
 
351
+ ## 11.5.0-beta.1 - 2022-12-15
352
+ * [#1640](https://github.com/stripe/stripe-node/pull/1640) API Updates for beta branch
353
+ * Updated stable APIs to the latest version
354
+ * Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction`
355
+ * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
356
+ * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
357
+
189
358
  ## 11.4.0 - 2022-12-15
190
359
  * [#1639](https://github.com/stripe/stripe-node/pull/1639) API Updates
191
360
  * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
@@ -195,6 +364,12 @@ This was added to maintain backwards compatibility during the transition of stri
195
364
  * [#1634](https://github.com/stripe/stripe-node/pull/1634) API Updates
196
365
  * Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` to be optional
197
366
 
367
+ ## 11.3.0-beta.1 - 2022-12-08
368
+ * [#1635](https://github.com/stripe/stripe-node/pull/1635) API Updates for beta branch
369
+ * Updated stable APIs to the latest version
370
+ * [#1633](https://github.com/stripe/stripe-node/pull/1633) API Updates for beta branch
371
+ * Updated stable APIs to the latest version
372
+
198
373
  ## 11.2.0 - 2022-12-06
199
374
  * [#1632](https://github.com/stripe/stripe-node/pull/1632) API Updates
200
375
  * Add support for `flow_data` on `BillingPortalSessionCreateParams`
@@ -218,7 +393,6 @@ This was added to maintain backwards compatibility during the transition of stri
218
393
  * Add support for `custom_text` on `Checkout.Session`, `CheckoutSessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
219
394
  * Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code`
220
395
 
221
-
222
396
  ## 11.0.0 - 2022-11-16
223
397
 
224
398
  This release includes breaking changes resulting from moving to use the new API version "2022-11-15". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-11-15
@@ -231,62 +405,11 @@ This release includes breaking changes resulting from moving to use the new API
231
405
  * [#1615](https://github.com/stripe/stripe-node/pull/1615) API Updates
232
406
  * ⚠️ Remove support for `tos_shown_and_accepted` on `CheckoutSessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked.
233
407
 
234
- ### ⚠️ Changed
235
- * Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
236
- * Change `StripeSignatureVerificationError` to have `header` and `payload` fields instead of `detail`. To access these properties, use `err.header` and `err.payload` instead of `err.detail.header` and `err.detail.payload`. (#1574)
237
-
238
- ### ⚠️ Removed
239
- * Remove `Orders` resource. (#1580)
240
- * Remove `SKU` resource (#1583)
241
- * Remove deprecated `CheckoutSessionCreateParams.subscription_data.items`. (#1580)
242
- * Remove deprecated configuration setter methods (`setHost`, `setProtocol`, `setPort`, `setApiVersion`, `setApiKey`, `setTimeout`, `setAppInfo`, `setHttpAgent`, `setMaxNetworkRetries`, and `setTelemetryEnabled`). (#1597)
243
-
244
- Use the config object to set these options instead, for example:
245
- ```typescript
246
- const stripe = Stripe('sk_test_...', {
247
- apiVersion: '2019-08-08',
248
- maxNetworkRetries: 1,
249
- httpAgent: new ProxyAgent(process.env.http_proxy),
250
- timeout: 1000,
251
- host: 'api.example.com',
252
- port: 123,
253
- telemetry: true,
254
- });
255
- ```
256
- * Remove deprecated basic method definitions. (#1600)
257
- Use basic methods defined on the resource instead.
258
- ```typescript
259
- // Before
260
- basicMethods: true
261
-
262
- // After
263
- create: stripeMethod({
264
- method: 'POST',
265
- fullPath: '/v1/resource',
266
- }),
267
- list: stripeMethod({
268
- method: 'GET',
269
- methodType: 'list',
270
- fullPath: '/v1/resource',
271
- }),
272
- retrieve: stripeMethod({
273
- method: 'GET',
274
- fullPath: '/v1/resource/{id}',
275
- }),
276
- update: stripeMethod({
277
- method: 'POST',
278
- fullPath: '/v1/resource/{id}',
279
- }),
280
- // Avoid 'delete' keyword in JS
281
- del: stripeMethod({
282
- method: 'DELETE',
283
- fullPath: '/v1/resource/{id}',
284
- }),
285
- ```
286
- * Remove deprecated option names. Use the following option names instead (`OLD`->`NEW`): `api_key`->`apiKey`, `idempotency_key`->`idempotencyKey`, `stripe_account`->`stripeAccount`, `stripe_version`->`apiVersion`, `stripeVersion`->`apiVersion`. (#1600)
287
- * Remove `charges` field on `PaymentIntent` and replace it with `latest_charge`. (#1614 )
288
- * Remove deprecated `amount` field on `Checkout.Session.LineItem`. (#1614 )
289
- * Remove support for `tos_shown_and_accepted` on `Checkout.Session.PaymentMethodOptions.Paynow`. (#1614 )
408
+ ## 10.18.0-beta.1 - 2022-11-10
409
+ * [#1616](https://github.com/stripe/stripe-node/pull/1616) API Updates for beta branch
410
+ * Updated stable APIs to the latest version
411
+ * Add `discount_end` to `Discount`.
412
+ * Add `url` to `MerchantData`.
290
413
 
291
414
  ## 10.17.0 - 2022-11-08
292
415
  * [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates
@@ -300,6 +423,22 @@ This release includes breaking changes resulting from moving to use the new API
300
423
  * Add support for `on_behalf_of` on `CheckoutSessionCreateParams.subscription_data`, `SubscriptionCreateParams`, `SubscriptionSchedule.default_settings`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.default_settings`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.default_settings`, `SubscriptionScheduleUpdateParams.phases[]`, `SubscriptionUpdateParams`, and `Subscription`
301
424
  * Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]`
302
425
 
426
+ ## 10.16.0-beta.2 - 2022-11-02
427
+ * [#1598](https://github.com/stripe/stripe-node/pull/1598) API Updates for beta branch
428
+ * Updated beta APIs to the latest stable version
429
+ * Add support for `cashappPayments` and `zipPayments` on `Account`.
430
+ * Add support for `cashapp` and `zip` on `Charge`, `PaymentMethod`.
431
+ * Add support for `trialSettings` on `SubscriptionSchedule`.
432
+
433
+ ## 10.16.0-beta.1 - 2022-10-21
434
+ * [#1589](https://github.com/stripe/stripe-node/pull/1589) API Updates for beta branch
435
+ * Updated stable APIs to the latest version
436
+ * Add support for new value `revoked` on enum `CapitalFinancingOfferListParams.status`
437
+ * Add support for `paypal` on `Charge.payment_method_details` and `Source`
438
+ * Add support for `network_data` on `Issuing.Transaction`
439
+ * Add support for new value `paypal` on enum `Source.type`
440
+ * Add support for `billing_cycle_anchor` on `SubscriptionScheduleAmendParams.amendments[]`
441
+
303
442
  ## 10.15.0 - 2022-10-20
304
443
  * [#1588](https://github.com/stripe/stripe-node/pull/1588) API Updates
305
444
  * Add support for new values `jp_trn` and `ke_pin` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Order.tax_details.tax_ids[].type`, and `TaxId.type`
@@ -307,6 +446,11 @@ This release includes breaking changes resulting from moving to use the new API
307
446
  * Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `TerminalReaderProcessPaymentIntentParams.process_config`
308
447
  * [#1585](https://github.com/stripe/stripe-node/pull/1585) use native UUID method if available
309
448
 
449
+ ## 10.15.0-beta.1 - 2022-10-14
450
+ * Add support for `schedule_settings` on `SubscriptionScheduleAmendParams`
451
+ * Add support for new value `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_end.type`
452
+ * Add support for new values `schedule_end` and `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_start.type`
453
+
310
454
  ## 10.14.0 - 2022-10-13
311
455
  * [#1582](https://github.com/stripe/stripe-node/pull/1582) API Updates
312
456
  * Add support for new values `invalid_representative_country` and `verification_failed_residential_address` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `Capability.future_requirements.errors[].code`, `Capability.requirements.errors[].code`, `Person.future_requirements.errors[].code`, and `Person.requirements.errors[].code`
@@ -314,6 +458,11 @@ This release includes breaking changes resulting from moving to use the new API
314
458
  * Add support for `network_data` on `Issuing.Authorization`
315
459
  * ⚠️ Remove `currency`, `description`, `images`, and `name` from `Checkout.SessionCreateParams`. These properties do not work on the latest API version. (fixes #1575)
316
460
 
461
+ ## 10.14.0-beta.1 - 2022-10-07
462
+ * [#1572](https://github.com/stripe/stripe-node/pull/1572) API Updates for beta branch
463
+ * Updated stable APIs to the latest version
464
+ * Add `reference_id` to `Paypal` interface.
465
+
317
466
  ## 10.13.0 - 2022-10-06
318
467
  * [#1571](https://github.com/stripe/stripe-node/pull/1571) API Updates
319
468
  * Add support for new value `invalid_dob_age_under_18` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `Capability.future_requirements.errors[].code`, `Capability.requirements.errors[].code`, `Person.future_requirements.errors[].code`, and `Person.requirements.errors[].code`
@@ -334,6 +483,11 @@ This release includes breaking changes resulting from moving to use the new API
334
483
  * [#1562](https://github.com/stripe/stripe-node/pull/1562) Restore lib after generating
335
484
  * [#1551](https://github.com/stripe/stripe-node/pull/1551) Re-introduce Typescript changes
336
485
 
486
+ ## 10.12.0-beta.1 - 2022-09-26
487
+ * [#1561](https://github.com/stripe/stripe-node/pull/1561) API Updates for beta branch
488
+ * Updated stable APIs to the latest version
489
+ * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
490
+
337
491
  ## 10.11.0 - 2022-09-22
338
492
  * [#1560](https://github.com/stripe/stripe-node/pull/1560) API Updates
339
493
  * Add support for `terms_of_service` on `Checkout.Session.consent_collection`, `Checkout.Session.consent`, `CheckoutSessionCreateParams.consent_collection`, `PaymentLink.consent_collection`, and `PaymentLinkCreateParams.consent_collection`
@@ -341,7 +495,6 @@ This release includes breaking changes resulting from moving to use the new API
341
495
  * Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams`
342
496
  * Change `SubscriptionSchedule.phases[].currency` to be required
343
497
 
344
-
345
498
  ## 10.10.0 - 2022-09-15
346
499
  * [#1552](https://github.com/stripe/stripe-node/pull/1552) API Updates
347
500
  * Add support for `pix` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `CheckoutSessionCreateParams.payment_method_options`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
@@ -384,6 +537,11 @@ This release includes breaking changes resulting from moving to use the new API
384
537
  * [#1532](https://github.com/stripe/stripe-node/pull/1532) Update coveralls step to run for one node version, remove finish step
385
538
  * [#1531](https://github.com/stripe/stripe-node/pull/1531) Regen yarn.lock.
386
539
 
540
+ ## 10.6.0-beta.1 - 2022-08-26
541
+ * [#1529](https://github.com/stripe/stripe-node/pull/1529) API Updates for beta branch
542
+ * Updated stable APIs to the latest version
543
+ * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
544
+
387
545
  ## 10.5.0 - 2022-08-24
388
546
  * [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
389
547
  * [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation
@@ -398,6 +556,11 @@ This release includes breaking changes resulting from moving to use the new API
398
556
  * Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
399
557
  * This would generally be considered a breaking change, but we've worked with all existing users to migrate and are comfortable releasing this as a minor as it is solely a test helper method. This was essentially broken prior to this change.
400
558
 
559
+ ## 10.4.0-beta.1 - 2022-08-23
560
+ * [#1523](https://github.com/stripe/stripe-node/pull/1523) API Updates for beta branch
561
+ - Updated stable APIs to the latest version
562
+ - `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-node/blob/master/README.md#beta-sdks)
563
+ * [#1521](https://github.com/stripe/stripe-node/pull/1521) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
401
564
 
402
565
  ## 10.3.0 - 2022-08-19
403
566
  * [#1516](https://github.com/stripe/stripe-node/pull/1516) API Updates
@@ -410,11 +573,15 @@ This release includes breaking changes resulting from moving to use the new API
410
573
  * Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
411
574
  * [#1515](https://github.com/stripe/stripe-node/pull/1515) Add a support section to the readme
412
575
 
576
+ ## 10.3.0-beta.1 - 2022-08-11
577
+ * [#1511](https://github.com/stripe/stripe-node/pull/1511) API Updates for beta branch
578
+ - Updated stable APIs to the latest version
579
+ - Add refund_payment method to Terminal resource
580
+
413
581
  ## 10.2.0 - 2022-08-11
414
582
  * [#1510](https://github.com/stripe/stripe-node/pull/1510) API Updates
415
583
  * Add support for `payment_method_collection` on `Checkout.Session`, `CheckoutSessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
416
584
 
417
-
418
585
  ## 10.1.0 - 2022-08-09
419
586
  * [#1506](https://github.com/stripe/stripe-node/pull/1506) API Updates
420
587
  * Add support for `process_config` on `Terminal.Reader.action.process_payment_intent`
@@ -424,50 +591,22 @@ This release includes breaking changes resulting from moving to use the new API
424
591
  * [#1503](https://github.com/stripe/stripe-node/pull/1503) API Updates
425
592
  * Add support for `expires_at` on `Apps.Secret` and `AppsSecretCreateParams`
426
593
 
594
+ ## 10.1.0-beta.1 - 2022-08-03
595
+ * [#1498](https://github.com/stripe/stripe-node/pull/1498) API Updates for beta branch
596
+ - Updated stable APIs to the latest version
597
+ - Added the `Order` resource support
598
+
427
599
  ## 10.0.0 - 2022-08-02
428
600
 
429
- This release includes breaking changes resulting from:
601
+ Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
430
602
 
431
- * Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-08-01
432
- * Cleaning up the SDK to remove deprecated/unused APIs and rename classes/methods/properties to sync with product APIs. Read more detailed description at https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v10.
603
+ Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v10. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
433
604
 
434
605
  "⚠️" symbol highlights breaking changes.
435
606
 
436
607
  * [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates
437
608
  * [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes
438
609
 
439
- ### Added
440
- * Add support for new value `invalid_tos_acceptance` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `Capability.future_requirements.errors[].code`, `Capability.requirements.errors[].code`, `Person.future_requirements.errors[].code`, and `Person.requirements.errors[].code`
441
- * Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
442
-
443
- ### ⚠️ Changed
444
- * Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable.
445
- * Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`.
446
- * Change location of TypeScript definitions for `CreditNoteLineItemListPreviewParams`, `CreditNoteLineItemListPreviewParams.Line`, `CreditNoteLineItemListPreviewParams.Line.Type`, and `CreditNoteLineItemListPreviewParams.Line.Reason` interfaces from `CreditNoteLineItems.d.ts` to `CreditNotes.d.ts`.
447
- * Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable.
448
- * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
449
-
450
- ### ⚠️ Removed
451
- * Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions.
452
- * Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.
453
- * Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`.
454
- * Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions.
455
- * Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead.
456
- * Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.
457
- * Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
458
- * Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.
459
- * Remove `IssuerFraudRecords` resource.
460
- * Remove `Recipient` resource and`recipient` property from `Card` resource.
461
- * Remove `InvoiceMarkUncollectibleParams` definition.
462
- * Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions.
463
- * Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.
464
- * Remove `LineItemListParams` definition. The interface was no longer in use.
465
-
466
- ### ⚠️ Renamed
467
- * Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`.
468
- * Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`.
469
- * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
470
-
471
610
  ## 9.16.0 - 2022-07-26
472
611
  * [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates
473
612
  * Add support for new value `exempted` on enums `Charge.payment_method_details.card.three_d_secure.result` and `SetupAttempt.payment_method_details.card.three_d_secure.result`
@@ -484,6 +623,20 @@ This release includes breaking changes resulting from:
484
623
  * Add support for `mandate` on `InvoicePayParams`
485
624
  * Add support for `product_data` on `OrderCreateParams.line_items[]` and `OrderUpdateParams.line_items[]`
486
625
 
626
+ ## 9.15.0-beta.1 - 2022-07-22
627
+ * [#1485](https://github.com/stripe/stripe-node/pull/1485) API Updates for beta branch
628
+ - Updated stable APIs to the latest version
629
+ * [#1483](https://github.com/stripe/stripe-node/pull/1483) API Updates for beta branch
630
+ - Updated stable APIs to the latest version
631
+ - Add `QuotePhase` resource
632
+ * [#1479](https://github.com/stripe/stripe-node/pull/1479) API Updates for beta branch
633
+ - Updated stable APIs to the latest version
634
+ - Add `Price.migrate_to` property
635
+ - Add `SubscriptionSchedule.amend` method.
636
+ - Add `Discount.subscription_item` property.
637
+ - Add `Quote.subscription_data.billing_behavior`, `billing_cycle_anchor`, `end_behavior`, `from_schedule`, `from_subscription`, `prebilling`, `proration_behavior` properties.
638
+ - Add `phases` parameter to `Quote.create`
639
+ - Add `Subscription.discounts`, `prebilling` properties.
487
640
 
488
641
  ## 9.14.0 - 2022-07-18
489
642
  * [#1477](https://github.com/stripe/stripe-node/pull/1477) API Updates
@@ -506,6 +659,18 @@ This release includes breaking changes resulting from:
506
659
  * Change `Transfer.source_type` to be optional and not nullable
507
660
  * [#1471](https://github.com/stripe/stripe-node/pull/1471) Update readme to include a note on beta packages
508
661
 
662
+ ## 9.13.0-beta.1 - 2022-07-07
663
+ * [#1469](https://github.com/stripe/stripe-node/pull/1469) API Updates for beta branch
664
+ - Include `server_side_confirmation_beta=v1` beta
665
+ - Add `secretKeyConfirmation` to `PaymentIntent`
666
+ * [#1451](https://github.com/stripe/stripe-node/pull/1451) API Updates
667
+ - Updated stable APIs to the latest version
668
+ * [#1457](https://github.com/stripe/stripe-node/pull/1457) Use the generated API version
669
+ * [#1445](https://github.com/stripe/stripe-node/pull/1445) Support updating pre-release versions
670
+ * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
671
+ * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
672
+ * [#1444](https://github.com/stripe/stripe-node/pull/1444) Merge master branch into beta branch
673
+
509
674
  ## 9.12.0 - 2022-07-07
510
675
  * [#1468](https://github.com/stripe/stripe-node/pull/1468) API Updates
511
676
  * Add support for `currency` on `CheckoutSessionCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkCreateParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `Subscription`
@@ -568,6 +733,10 @@ This release includes breaking changes resulting from:
568
733
  * Change type of `Order.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `PaymentIntent.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, and `PaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]` from `literal('zengin')` to `enum`
569
734
  * Add support for `custom_unit_amount` on `PriceCreateParams` and `Price`
570
735
 
736
+ ## 9.8.0-beta.1 - 2022-06-08
737
+ * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
738
+ * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
739
+
571
740
  ## 9.7.0 - 2022-06-08
572
741
  * [#1441](https://github.com/stripe/stripe-node/pull/1441) API Updates
573
742
  * Add support for `affirm`, `bancontact`, `card`, `ideal`, `p24`, and `sofort` on `Checkout.Session.payment_method_options` and `CheckoutSessionCreateParams.payment_method_options`
@@ -588,7 +757,6 @@ This release includes breaking changes resulting from:
588
757
  * Add support for `network` on `SetupIntent.payment_method_options.card`
589
758
  * Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `TerminalReaderListParams.device_type`
590
759
 
591
-
592
760
  ## 9.5.0 - 2022-05-26
593
761
  * [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
594
762
  * Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -659,7 +827,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
659
827
  * Add support for `default_price` on `ProductUpdateParams` and `Product`
660
828
  * Add support for `instructions_email` on `RefundCreateParams` and `Refund`
661
829
 
662
-
663
830
  ## 8.221.0 - 2022-05-05
664
831
  * [#1413](https://github.com/stripe/stripe-node/pull/1413) API Updates
665
832
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
@@ -936,7 +1103,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
936
1103
  * [#1297](https://github.com/stripe/stripe-node/pull/1297) API Updates
937
1104
  * Add support for `automatic_payment_methods` on `PaymentIntentCreateParams` and `PaymentIntent`
938
1105
 
939
-
940
1106
  ## 8.189.0 - 2021-11-16
941
1107
  * [#1295](https://github.com/stripe/stripe-node/pull/1295) API Updates
942
1108
  * Add support for new resource `ShippingRate`
@@ -959,7 +1125,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
959
1125
  * Remove support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account`. This API was unused.
960
1126
  * Add support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account.company`
961
1127
 
962
-
963
1128
  ## 8.186.0 - 2021-11-01
964
1129
  * [#1283](https://github.com/stripe/stripe-node/pull/1283) API Updates
965
1130
  * Add support for `ownership_declaration` on `AccountUpdateParams.company`, `AccountCreateParams.company`, `Account.company`, and `TokenCreateParams.account.company`
@@ -1103,7 +1268,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1103
1268
  * Add support for `wallet` on `Issuing.Transaction`
1104
1269
  * Add support for `ideal` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
1105
1270
 
1106
-
1107
1271
  ## 8.163.0 - 2021-07-15
1108
1272
  * [#1102](https://github.com/stripe/stripe-node/pull/1102), [#1191](https://github.com/stripe/stripe-node/pull/1191) Add support for `stripeAccount` when initializing the client
1109
1273
 
@@ -2636,7 +2800,7 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
2636
2800
 
2637
2801
  - [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
2638
2802
 
2639
- ### 2.2.1 - 2013-12-01
2803
+ ## 2.2.1 - 2013-12-01
2640
2804
 
2641
2805
  - [BUGFIX] Fix user-agent header issue (see issue #75)
2642
2806
 
@@ -2699,3 +2863,4 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
2699
2863
  ## 0.0.2 - 2011-09-28
2700
2864
 
2701
2865
  - Initial release with customers and tokens APIs
2866
+