stripe 17.2.0-beta.2 → 17.2.0

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 (178) hide show
  1. package/CHANGELOG.md +112 -900
  2. package/README.md +4 -4
  3. package/VERSION +1 -1
  4. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  5. package/cjs/resources/Invoices.js +0 -17
  6. package/cjs/resources/PaymentIntents.js +0 -4
  7. package/cjs/resources/Quotes.js +0 -32
  8. package/cjs/resources/SubscriptionSchedules.js +0 -4
  9. package/cjs/resources/Terminal/Readers.js +0 -12
  10. package/cjs/resources/TestHelpers/Issuing/Cards.js +0 -4
  11. package/cjs/resources/V2/Core/Events.js +50 -7
  12. package/cjs/resources.js +10 -42
  13. package/cjs/stripe.core.js +1 -1
  14. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  15. package/esm/resources/Invoices.js +0 -17
  16. package/esm/resources/PaymentIntents.js +0 -4
  17. package/esm/resources/Quotes.js +0 -32
  18. package/esm/resources/SubscriptionSchedules.js +0 -4
  19. package/esm/resources/Terminal/Readers.js +0 -12
  20. package/esm/resources/TestHelpers/Issuing/Cards.js +0 -4
  21. package/esm/resources/V2/Core/Events.js +50 -7
  22. package/esm/resources.js +0 -29
  23. package/esm/stripe.core.js +1 -1
  24. package/package.json +1 -1
  25. package/types/AccountLinksResource.d.ts +1 -5
  26. package/types/AccountSessions.d.ts +5 -75
  27. package/types/AccountSessionsResource.d.ts +5 -354
  28. package/types/Accounts.d.ts +3 -127
  29. package/types/AccountsResource.d.ts +2 -296
  30. package/types/Billing/CreditGrants.d.ts +2 -2
  31. package/types/Billing/CreditGrantsResource.d.ts +2 -2
  32. package/types/Billing/Meters.d.ts +0 -2
  33. package/types/Charges.d.ts +0 -152
  34. package/types/ChargesResource.d.ts +0 -1294
  35. package/types/Checkout/Sessions.d.ts +5 -309
  36. package/types/Checkout/SessionsResource.d.ts +5 -356
  37. package/types/ConfirmationTokens.d.ts +0 -137
  38. package/types/Coupons.d.ts +1 -1
  39. package/types/CouponsResource.d.ts +1 -1
  40. package/types/CreditNotes.d.ts +0 -21
  41. package/types/CreditNotesResource.d.ts +0 -51
  42. package/types/CustomersResource.d.ts +2 -22
  43. package/types/Disputes.d.ts +0 -152
  44. package/types/DisputesResource.d.ts +0 -120
  45. package/types/EventTypes.d.ts +2 -564
  46. package/types/Events.d.ts +0 -91
  47. package/types/FinancialConnections/Accounts.d.ts +1 -29
  48. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  49. package/types/FinancialConnections/Sessions.d.ts +1 -49
  50. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  51. package/types/Forwarding/Requests.d.ts +0 -5
  52. package/types/InvoiceItems.d.ts +0 -5
  53. package/types/InvoiceItemsResource.d.ts +0 -98
  54. package/types/InvoiceLineItems.d.ts +1 -31
  55. package/types/Invoices.d.ts +3 -134
  56. package/types/InvoicesResource.d.ts +1836 -5515
  57. package/types/Issuing/Authorizations.d.ts +1 -1
  58. package/types/Issuing/AuthorizationsResource.d.ts +1 -1
  59. package/types/Issuing/CardholdersResource.d.ts +1 -2
  60. package/types/Issuing/Transactions.d.ts +0 -2
  61. package/types/Issuing/TransactionsResource.d.ts +0 -5
  62. package/types/LineItems.d.ts +0 -7
  63. package/types/Mandates.d.ts +0 -85
  64. package/types/PaymentIntents.d.ts +1 -643
  65. package/types/PaymentIntentsResource.d.ts +3463 -7739
  66. package/types/PaymentLinks.d.ts +0 -3
  67. package/types/PaymentLinksResource.d.ts +0 -6
  68. package/types/PaymentMethodConfigurations.d.ts +0 -36
  69. package/types/PaymentMethodConfigurationsResource.d.ts +2 -52
  70. package/types/PaymentMethods.d.ts +0 -137
  71. package/types/PaymentMethodsResource.d.ts +0 -158
  72. package/types/Persons.d.ts +1 -1
  73. package/types/Prices.d.ts +0 -22
  74. package/types/PricesResource.d.ts +0 -22
  75. package/types/Products.d.ts +0 -39
  76. package/types/ProductsResource.d.ts +0 -36
  77. package/types/Quotes.d.ts +1 -591
  78. package/types/QuotesResource.d.ts +199 -2531
  79. package/types/SetupAttempts.d.ts +0 -19
  80. package/types/SetupIntents.d.ts +1 -112
  81. package/types/SetupIntentsResource.d.ts +3 -669
  82. package/types/Sources.d.ts +0 -23
  83. package/types/SubscriptionItems.d.ts +0 -21
  84. package/types/SubscriptionItemsResource.d.ts +0 -109
  85. package/types/SubscriptionSchedules.d.ts +0 -200
  86. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  87. package/types/Subscriptions.d.ts +1 -82
  88. package/types/SubscriptionsResource.d.ts +3 -348
  89. package/types/Tax/CalculationLineItems.d.ts +0 -1
  90. package/types/Tax/Calculations.d.ts +1 -33
  91. package/types/Tax/CalculationsResource.d.ts +1 -7
  92. package/types/Tax/Registrations.d.ts +0 -82
  93. package/types/Tax/RegistrationsResource.d.ts +0 -109
  94. package/types/Tax/Transactions.d.ts +1 -8
  95. package/types/TaxIds.d.ts +1 -7
  96. package/types/TaxIdsResource.d.ts +1 -7
  97. package/types/TaxRates.d.ts +0 -25
  98. package/types/TaxRatesResource.d.ts +0 -2
  99. package/types/Terminal/Readers.d.ts +0 -278
  100. package/types/Terminal/ReadersResource.d.ts +0 -215
  101. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -112
  102. package/types/TestHelpers/Issuing/CardsResource.d.ts +0 -22
  103. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  104. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  105. package/types/TokensResource.d.ts +1 -1
  106. package/types/Treasury/FinancialAccounts.d.ts +1 -6
  107. package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
  108. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  109. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  110. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  111. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  112. package/types/UsageRecordSummaries.d.ts +1 -1
  113. package/types/V2/EventTypes.d.ts +3 -1
  114. package/types/WebhookEndpointsResource.d.ts +0 -66
  115. package/types/index.d.ts +0 -53
  116. package/cjs/resources/AccountNotices.js +0 -21
  117. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  118. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  119. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  120. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  121. package/cjs/resources/GiftCards/Cards.js +0 -23
  122. package/cjs/resources/GiftCards/Transactions.js +0 -33
  123. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  124. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  125. package/cjs/resources/Margins.js +0 -22
  126. package/cjs/resources/Orders.js +0 -24
  127. package/cjs/resources/Tax/Associations.js +0 -9
  128. package/cjs/resources/Tax/Forms.js +0 -20
  129. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  130. package/esm/resources/AccountNotices.js +0 -18
  131. package/esm/resources/Capital/FinancingOffers.js +0 -18
  132. package/esm/resources/Capital/FinancingSummary.js +0 -9
  133. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  134. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  135. package/esm/resources/GiftCards/Cards.js +0 -20
  136. package/esm/resources/GiftCards/Transactions.js +0 -30
  137. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  138. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  139. package/esm/resources/Margins.js +0 -19
  140. package/esm/resources/Orders.js +0 -21
  141. package/esm/resources/Tax/Associations.js +0 -6
  142. package/esm/resources/Tax/Forms.js +0 -17
  143. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  144. package/types/AccountNotices.d.ts +0 -113
  145. package/types/AccountNoticesResource.d.ts +0 -98
  146. package/types/Billing/MeterErrorReports.d.ts +0 -106
  147. package/types/Capital/FinancingOffers.d.ts +0 -188
  148. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  149. package/types/Capital/FinancingSummary.d.ts +0 -106
  150. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  151. package/types/Capital/FinancingTransactions.d.ts +0 -135
  152. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  153. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  154. package/types/FinancialConnections/Institutions.d.ts +0 -93
  155. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  156. package/types/GiftCards/Cards.d.ts +0 -118
  157. package/types/GiftCards/CardsResource.d.ts +0 -159
  158. package/types/GiftCards/Transactions.d.ts +0 -129
  159. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  160. package/types/InvoicePayments.d.ts +0 -138
  161. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  162. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  163. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  164. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  165. package/types/Issuing/Settlements.d.ts +0 -103
  166. package/types/Margins.d.ts +0 -56
  167. package/types/MarginsResource.d.ts +0 -114
  168. package/types/Orders.d.ts +0 -1154
  169. package/types/OrdersResource.d.ts +0 -2911
  170. package/types/QuoteLines.d.ts +0 -634
  171. package/types/QuotePreviewInvoices.d.ts +0 -1596
  172. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  173. package/types/Tax/Associations.d.ts +0 -126
  174. package/types/Tax/AssociationsResource.d.ts +0 -29
  175. package/types/Tax/Forms.d.ts +0 -133
  176. package/types/Tax/FormsResource.d.ts +0 -90
  177. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  178. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
package/CHANGELOG.md CHANGED
@@ -1,36 +1,7 @@
1
1
  # Changelog
2
-
3
- ## 17.2.0-beta.2 - 2024-10-08
4
- * [#2180](https://github.com/stripe/stripe-node/pull/2180) Update generated code for beta
5
- * Add support for `submit_card` test helper method on resource `Issuing.Card`
6
- * Add support for `groups` on `AccountCreateParams`, `AccountUpdateParams`, and `Account`
7
- * Add support for `disable_stripe_user_authentication` on `AccountSession.components.account_management.features`, `AccountSession.components.account_onboarding.features`, `AccountSession.components.balances.features`, `AccountSession.components.notification_banner.features`, `AccountSession.components.payouts.features`, `AccountSessionCreateParams.components.account_management.features`, `AccountSessionCreateParams.components.account_onboarding.features`, `AccountSessionCreateParams.components.balances.features`, `AccountSessionCreateParams.components.financial_account.features`, `AccountSessionCreateParams.components.notification_banner.features`, and `AccountSessionCreateParams.components.payouts.features`
8
- * Add support for `card_spend_dispute_management` and `spend_control_management` on `AccountSessionCreateParams.components.issuing_cards_list.features`
9
- * Add support for new value `payout_statement_descriptor_profanity` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
10
- * Add support for `kakao_pay` and `kr_card` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `Mandate.payment_method_details`, `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`, `SetupAttempt.payment_method_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
11
- * Add support for `naver_pay` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `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`, `PaymentMethodUpdateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
12
- * Add support for `payco` and `samsung_pay` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `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`
13
- * Add support for new values `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `Checkout.SessionCreateParams.payment_method_types[]`, `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
14
- * Add support for new values `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, and `uz_vat` on enums `Checkout.Session.collected_information.tax_ids[].type`, `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Order.tax_details.tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
15
- * Add support for new values `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
16
- * Add support for new values `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
17
- * Add support for new values `by_tin`, `ma_vat`, `md_vat`, `tz_vat`, `uz_tin`, and `uz_vat` 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`, `OrderCreateParams.tax_details.tax_ids[].type`, `OrderUpdateParams.tax_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
18
- * Add support for new value `refund.failed` on enum `Event.type`
19
- * Add support for `metadata` on `Forwarding.Request`
20
- * Add support for new value `retail_delivery_fee` on enums `InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`, `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`, `Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type`, `Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`, `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
21
- * Add support for new value `expired` on enums `Issuing.Authorization.status` and `Issuing.AuthorizationListParams.status`
22
- * Add support for `line_items` 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`
23
- * Add support for `flat_amount` and `rate_type` on `Tax.Calculation.tax_breakdown[].tax_rate_details` and `TaxRate`
24
- * Add support for `by`, `cr`, `ec`, `ma`, `md`, `rs`, `ru`, `tz`, and `uz` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
25
- * Add support for new value `state_retail_delivery_fee` on enums `Tax.Registration.country_options.us.type` and `Tax.RegistrationCreateParams.country_options.us.type`
26
- * Add support for new value `refund.failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
27
- * [#2203](https://github.com/stripe/stripe-node/pull/2203) Merge into beta using the merge script
28
-
29
- ## 17.2.0-beta.1 - 2024-10-03
30
- * [#2200](https://github.com/stripe/stripe-node/pull/2200) Updates beta branch with changes in master
31
- * Add support for `reporting_chart` on `AccountSessionCreateParams.components`
32
- * Remove support for `from_schedule` on `Quote.subscription_data`
33
- * Add support for `allow_redisplay` on `Terminal.ReaderCollectPaymentMethodParams.collect_config`
2
+ ## 17.2.0 - 2024-10-09
3
+ * [#2201](https://github.com/stripe/stripe-node/pull/2201) Add fetchRelatedObject to V2 Events if needed
4
+ * `fetchRelatedObject` is added to events retrieved using `stripe.v2.core.events` and can be used to easily fetch the Stripe object related to a retrieved event
34
5
 
35
6
  ## 17.1.0 - 2024-10-03
36
7
  * [#2199](https://github.com/stripe/stripe-node/pull/2199) Update generated code
@@ -63,32 +34,6 @@
63
34
 
64
35
  ### Changes
65
36
  * Change `BillingPortal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates` and `BillingPortal.ConfigurationCreateParams.features.subscription_update.products` to be optional
66
- * [#2195](https://github.com/stripe/stripe-node/pull/2195) Remove parseSnapshotEvent
67
- * [#2188](https://github.com/stripe/stripe-node/pull/2188) Revert "Add raw_request (#2185)"
68
- * [#2185](https://github.com/stripe/stripe-node/pull/2185) Add raw_request
69
- Adds the ability to make raw requests to the Stripe API, by providing an HTTP method and url.
70
-
71
- Example:
72
- ```node
73
- import Stripe from 'stripe';
74
- const stripe = new Stripe('sk_test_...');
75
-
76
- const response = await stripe.rawRequest(
77
- 'POST',
78
- '/v1/beta_endpoint',
79
- { param: 123 },
80
- { apiVersion: '2022-11-15; feature_beta=v3' }
81
- );
82
-
83
- ```
84
-
85
- ## 16.13.0-beta.1 - 2024-09-18
86
- * [#2178](https://github.com/stripe/stripe-node/pull/2178) Update generated code for beta
87
- * Remove support for resource `QuotePhase`
88
- * Remove support for `list_line_items` and `retrieve` methods on resource `QuotePhase`
89
- * Add support for `send_money` and `transfer_balance` on `AccountSessionCreateParams.components.financial_account.features`
90
- * Add support for new value `rechnung` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
91
- * Change `Quote.subscription_data_overrides[].end_behavior` to be optional
92
37
 
93
38
  ## 16.12.0 - 2024-09-18
94
39
  * [#2177](https://github.com/stripe/stripe-node/pull/2177) Update generated code
@@ -102,16 +47,6 @@
102
47
  * Add support for `automatically_finalizes_at` on `Invoice`
103
48
  * Add support for `state_sales_tax` on `Tax.Registration.country_options.us` and `Tax.RegistrationCreateParams.country_options.us`
104
49
 
105
- ## 16.12.0-beta.1 - 2024-09-13
106
- * [#2170](https://github.com/stripe/stripe-node/pull/2170) Update generated code for beta
107
- * Add support for new resources `Issuing.DisputeSettlementDetail` and `Issuing.Settlement`
108
- * Add support for `list` and `retrieve` methods on resource `DisputeSettlementDetail`
109
- * Remove support for `list` method on resource `QuotePhase`
110
- * Add support for new value `rechnung` on enum `Checkout.SessionCreateParams.payment_method_types[]`
111
- * Add support for new values `issuing_dispute_settlement_detail.created`, `issuing_dispute_settlement_detail.updated`, `issuing_settlement.created`, and `issuing_settlement.updated` on enum `Event.type`
112
- * Add support for `settlement` on `Issuing.TransactionListParams` and `Issuing.Transaction`
113
- * Add support for new values `issuing_dispute_settlement_detail.created`, `issuing_dispute_settlement_detail.updated`, `issuing_settlement.created`, and `issuing_settlement.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
114
-
115
50
  ## 16.11.0 - 2024-09-12
116
51
  * [#2171](https://github.com/stripe/stripe-node/pull/2171) Update generated code
117
52
  * Add support for new resource `InvoiceRenderingTemplate`
@@ -122,20 +57,6 @@
122
57
  * Add support for new value `submitted` on enum `Issuing.Card.shipping.status`
123
58
  * Change `TestHelpers.TestClock.status_details` to be required
124
59
 
125
- ## 16.11.0-beta.1 - 2024-09-05
126
- * [#2162](https://github.com/stripe/stripe-node/pull/2162) Update generated code for beta
127
- * Add support for new resources `Billing.MeterErrorReport` and `Terminal.ReaderCollectedData`
128
- * Add support for `retrieve` method on resource `ReaderCollectedData`
129
- * Add support for `recipients` on `AccountSessionCreateParams.components`
130
- * Add support for new value `terminal_reader_collected_data_invalid` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
131
- * Add support for new value `mb_way` on enum `Checkout.SessionCreateParams.payment_method_types[]`
132
- * Add support for `business_name`, `email`, `phone`, and `tax_ids` on `Checkout.Session.collected_information`
133
- * Add support for new value `billing.meter_error_report.triggered` on enum `Event.type`
134
- * Add support for `regulatory_reporting_file` on `Issuing.CreditUnderwritingRecordCorrectParams`, `Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams`, `Issuing.CreditUnderwritingRecordReportDecisionParams`, and `Issuing.CreditUnderwritingRecord`
135
- * Add support for new value `mb_way` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
136
- * Remove support for `rechnung` on `PaymentMethodUpdateParams`
137
- * Add support for new value `billing.meter_error_report.triggered` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
138
-
139
60
  ## 16.10.0 - 2024-09-05
140
61
  * [#2158](https://github.com/stripe/stripe-node/pull/2158) Update generated code
141
62
  * Add support for `subscription_item` and `subscription` on `Billing.AlertCreateParams.filter`
@@ -151,26 +72,6 @@
151
72
  * Change `Issuing.Card.shipping.address_validation` to be required
152
73
  * Add support for `status_details` on `TestHelpers.TestClock`
153
74
 
154
- ## 16.9.0-beta.2 - 2024-08-22
155
- * [#2159](https://github.com/stripe/stripe-node/pull/2159) Update generated code for beta
156
- * Add support for `mb_way_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
157
- * Add support for `mb_way` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `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`
158
- * Add support for new value `mb_way` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
159
- * Add support for new value `mb_way` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
160
- * Add support for new value `mb_way` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
161
- * Remove support for values `accepted`, `partner_rejected`, and `submitted` from enum `Dispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3.status`
162
- * Add support for new value `hr_oib` on enums `OrderCreateParams.tax_details.tax_ids[].type` and `OrderUpdateParams.tax_details.tax_ids[].type`
163
- * Add support for new value `hr_oib` on enum `Order.tax_details.tax_ids[].type`
164
- * Remove support for `phases` on `QuoteCreateParams` and `QuoteUpdateParams`
165
- * Remove support for `from_schedule` on `QuoteCreateParams.subscription_data`
166
-
167
- ## 16.9.0-beta.1 - 2024-08-15
168
- * [#2157](https://github.com/stripe/stripe-node/pull/2157) Update generated code for beta
169
- * Add support for `capital_financing_application` and `capital_financing` on `AccountSessionCreateParams.components`
170
- * Add support for `permissions` on `Checkout.SessionCreateParams` and `Checkout.Session`
171
- * Add support for `collected_information` on `Checkout.SessionUpdateParams` and `Checkout.Session`
172
- * Add support for `shipping_options` on `Checkout.SessionUpdateParams`
173
-
174
75
  ## 16.8.0 - 2024-08-15
175
76
  * [#2155](https://github.com/stripe/stripe-node/pull/2155) Update generated code
176
77
  * Add support for `authorization_code` on `Charge.payment_method_details.card`
@@ -180,16 +81,6 @@
180
81
  * Add support for `chips` on `Treasury.OutboundPayment.tracking_details.us_domestic_wire`, `Treasury.OutboundPaymentUpdateParams.testHelpers.tracking_details.us_domestic_wire`, `Treasury.OutboundTransfer.tracking_details.us_domestic_wire`, and `Treasury.OutboundTransferUpdateParams.testHelpers.tracking_details.us_domestic_wire`
181
82
  * Change type of `Treasury.OutboundPayment.tracking_details.us_domestic_wire.imad` and `Treasury.OutboundTransfer.tracking_details.us_domestic_wire.imad` from `string` to `string | null`
182
83
 
183
- ## 16.8.0-beta.1 - 2024-08-12
184
- * [#2148](https://github.com/stripe/stripe-node/pull/2148) Update generated code for beta
185
- * Add support for `capital_financing_application` and `capital_financing` on `AccountSession.components`
186
- * Add support for `payto` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
187
- * Add support for new value `payto` on enum `Checkout.SessionCreateParams.payment_method_types[]`
188
- * Add support for new value `custom` on enums `Checkout.Session.ui_mode` and `Checkout.SessionCreateParams.ui_mode`
189
- * ⚠️ Remove support for `risk_correlation_id` on `PaymentIntent.payment_method_options.rechnung`, `PaymentIntentConfirmParams.payment_method_options.rechnung`, `PaymentIntentCreateParams.payment_method_options.rechnung`, and `PaymentIntentUpdateParams.payment_method_options.rechnung`
190
- * Add support for new value `payto` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
191
- * Change `QuoteLine.cancel_subscription_schedule` to be required
192
-
193
84
  ## 16.7.0 - 2024-08-08
194
85
  * [#2147](https://github.com/stripe/stripe-node/pull/2147) Update generated code
195
86
  * Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Billing.Alert`
@@ -202,15 +93,6 @@
202
93
  * Add support for new value `girocard` on enums `PaymentIntent.payment_method_options.card.network`, `PaymentIntentConfirmParams.payment_method_options.card.network`, `PaymentIntentCreateParams.payment_method_options.card.network`, `PaymentIntentUpdateParams.payment_method_options.card.network`, `SetupIntent.payment_method_options.card.network`, `SetupIntentConfirmParams.payment_method_options.card.network`, `SetupIntentCreateParams.payment_method_options.card.network`, `SetupIntentUpdateParams.payment_method_options.card.network`, `Subscription.payment_settings.payment_method_options.card.network`, `SubscriptionCreateParams.payment_settings.payment_method_options.card.network`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.card.network`
203
94
  * Add support for new value `financial_addresses.aba.forwarding` on enums `Treasury.FinancialAccount.active_features[]`, `Treasury.FinancialAccount.pending_features[]`, and `Treasury.FinancialAccount.restricted_features[]`
204
95
 
205
- ## 16.7.0-beta.1 - 2024-08-01
206
- * [#2145](https://github.com/stripe/stripe-node/pull/2145) Update generated code for beta
207
- * Add support for `attach_payment` method on resource `Invoice`
208
- * Add support for `app_install` and `app_viewport` on `AccountSessionCreateParams.components`
209
- * Remove support for `partner_rejected_details` on `Dispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3`
210
- * Add support for `lines_invalid` on `Quote.status_details.stale.last_reason`
211
- * Add support for new value `lines_invalid` on enum `Quote.status_details.stale.last_reason.type`
212
- * Add support for `last_price_migration_error` on `SubscriptionSchedule` and `Subscription`
213
-
214
96
  ## 16.6.0 - 2024-08-01
215
97
  * [#2144](https://github.com/stripe/stripe-node/pull/2144) Update generated code
216
98
  * Add support for new resources `Billing.AlertTriggered` and `Billing.Alert`
@@ -219,17 +101,6 @@
219
101
  * Add support for new value `billing.alert.triggered` on enum `Event.type`
220
102
  * Add support for new value `billing.alert.triggered` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
221
103
 
222
- ## 16.6.0-beta.1 - 2024-07-25
223
- * [#2137](https://github.com/stripe/stripe-node/pull/2137) Update generated code for beta
224
- * Add support for new resources `Billing.AlertTriggered`, `Billing.Alert`, and `Tax.Association`
225
- * Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
226
- * Add support for `find` method on resource `Association`
227
- * Add support for `capital` on `Account.settings`, `AccountCreateParams.settings`, and `AccountUpdateParams.settings`
228
- * Add support for new values `issuing.account_closed_for_not_providing_business_model_clarification`, `issuing.account_closed_for_not_providing_url_clarification`, and `issuing.account_closed_for_not_providing_use_case_clarification` on enum `AccountNotice.reason`
229
- * Add support for `async_workflows` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentDecrementAuthorizationParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
230
- * Add support for `payto` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
231
- * Add support for `display_name` on `Treasury.FinancialAccountCreateParams`, `Treasury.FinancialAccountUpdateParams`, and `Treasury.FinancialAccount`
232
-
233
104
  ## 16.5.0 - 2024-07-25
234
105
  * [#2143](https://github.com/stripe/stripe-node/pull/2143) Update generated code
235
106
  * Add support for `tax_registrations` and `tax_settings` on `AccountSession.components` and `AccountSessionCreateParams.components`
@@ -254,12 +125,6 @@
254
125
  * Add support for new value `issuing_dispute.funds_rescinded` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
255
126
  * [#2136](https://github.com/stripe/stripe-node/pull/2136) Update changelog
256
127
 
257
- ## 16.4.0-beta.1 - 2024-07-11
258
- * [#2128](https://github.com/stripe/stripe-node/pull/2128) Update generated code for beta
259
- * Change `ConfirmationToken.payment_method_options` and `CustomerSession.components.payment_element` to be required
260
- * Add support for new value `not_qualified` on enum `Dispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3.status`
261
- * [#2134](https://github.com/stripe/stripe-node/pull/2134) Fix merge conflicts
262
-
263
128
  ## 16.3.0 - 2024-07-11
264
129
  * [#2130](https://github.com/stripe/stripe-node/pull/2130) Update generated code
265
130
  * ⚠️ Remove support for values `billing_policy_remote_function_response_invalid`, `billing_policy_remote_function_timeout`, `billing_policy_remote_function_unexpected_status_code`, and `billing_policy_remote_function_unreachable` from enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`.
@@ -273,27 +138,12 @@
273
138
  * [#2132](https://github.com/stripe/stripe-node/pull/2132) check `hasOwnProperty` when using `for..in`
274
139
  * [#2048](https://github.com/stripe/stripe-node/pull/2048) Add generateTestHeaderStringAsync function to Webhooks.ts
275
140
 
276
- ## 16.3.0-beta.1 - 2024-07-05
277
- * [#2126](https://github.com/stripe/stripe-node/pull/2126) Update generated code for beta
278
- * ⚠️ Remove support for `payment_method_update` on `CustomerSession.components.payment_element.features` and `CustomerSessionCreateParams.components.payment_element.features`. Users are expected to completely migrate from using `payment_method_update`.
279
- * Add support for new resource `FinancialConnections.Institution`
280
- * Add support for `list` and `retrieve` methods on resource `Institution`
281
- * Add support for `institution` on `Checkout.Session.payment_method_options.us_bank_account.financial_connections.filters`, `FinancialConnections.Session.filters`, `FinancialConnections.SessionCreateParams.filters`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections.filters`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters`, `SetupIntent.payment_method_options.us_bank_account.financial_connections.filters`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`
282
- * Add support for `payment_method_allow_redisplay_filters`, `payment_method_redisplay_limit`, `payment_method_redisplay`, and `payment_method_save_usage` on `CustomerSession.components.payment_element.features` and `CustomerSessionCreateParams.components.payment_element.features`
283
- * Add support for new value `balance` on enums `FinancialConnections.Account.subscriptions[]`, `FinancialConnections.AccountSubscribeParams.features[]`, and `FinancialConnections.AccountUnsubscribeParams.features[]`
284
-
285
141
  ## 16.2.0 - 2024-07-05
286
142
  * [#2125](https://github.com/stripe/stripe-node/pull/2125) Update generated code
287
143
  * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
288
144
  * Add support for new value `payment_intent_fx_quote_invalid` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
289
145
  * Add support for `posted_at` on `Tax.TransactionCreateFromCalculationParams` and `Tax.Transaction`
290
146
 
291
- ## 16.2.0-beta.1 - 2024-06-27
292
- * [#2110](https://github.com/stripe/stripe-node/pull/2110) Update generated code for beta
293
- * Remove support for `payment_method_set_as_default` on `CustomerSession.components.payment_element.features` and `CustomerSessionCreateParams.components.payment_element.features`
294
- * Add support for new value `ch_uid` on enums `OrderCreateParams.tax_details.tax_ids[].type` and `OrderUpdateParams.tax_details.tax_ids[].type`
295
- * Add support for new value `ch_uid` on enum `Order.tax_details.tax_ids[].type`
296
-
297
147
  ## 16.1.0 - 2024-06-27
298
148
  * [#2120](https://github.com/stripe/stripe-node/pull/2120) Update generated code
299
149
  * Add support for `filters` on `Checkout.Session.payment_method_options.us_bank_account.financial_connections`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceUpdateParams.payment_settings.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`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`
@@ -349,11 +199,6 @@
349
199
  * 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
350
200
  * 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
351
201
 
352
- ## 15.12.0-beta.1 - 2024-06-13
353
- * [#2103](https://github.com/stripe/stripe-node/pull/2103) Update generated code for beta
354
- * Add support for new value `de_stn` on enums `OrderCreateParams.tax_details.tax_ids[].type` and `OrderUpdateParams.tax_details.tax_ids[].type`
355
- * Add support for new value `de_stn` on enum `Order.tax_details.tax_ids[].type`
356
-
357
202
  ## 15.11.0 - 2024-06-13
358
203
  * [#2102](https://github.com/stripe/stripe-node/pull/2102) Update generated code
359
204
  * Add support for `multibanco_payments` and `twint_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -367,19 +212,11 @@
367
212
  * Add support for `multibanco_display_details` on `PaymentIntent.next_action`
368
213
  * Add support for `invoice_settings` on `Subscription`
369
214
 
370
- ## 15.11.0-beta.1 - 2024-06-06
371
- * [#2098](https://github.com/stripe/stripe-node/pull/2098) Update generated code for beta
372
- * Add support for `twint` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
373
-
374
215
  ## 15.10.0 - 2024-06-06
375
216
  * [#2101](https://github.com/stripe/stripe-node/pull/2101) Update generated code
376
217
  * Add support for `gb_bank_transfer_payments`, `jp_bank_transfer_payments`, `mx_bank_transfer_payments`, `sepa_bank_transfer_payments`, and `us_bank_transfer_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
377
218
  * Add support for new value `swish` on enums `Invoice.payment_settings.payment_method_types[]`, `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `Subscription.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]`
378
219
 
379
- ## 15.10.0-beta.1 - 2024-05-30
380
- * [#2094](https://github.com/stripe/stripe-node/pull/2094) Update generated code for beta
381
- * Add support for new values `en-RO` and `ro-RO` on enums `OrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale` and `OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale`
382
-
383
220
  ## 15.9.0 - 2024-05-30
384
221
  * [#2095](https://github.com/stripe/stripe-node/pull/2095) Update generated code
385
222
  * Add support for new value `verification_requires_additional_proof_of_registration` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, and `BankAccount.requirements.errors[].code`
@@ -390,19 +227,12 @@
390
227
  * Add support for new values `en-RO` and `ro-RO` on enums `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale`
391
228
  * Add support for new values `issuing_personalization_design.activated`, `issuing_personalization_design.deactivated`, `issuing_personalization_design.rejected`, and `issuing_personalization_design.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
392
229
 
393
- ## 15.9.0-beta.1 - 2024-05-23
394
- * [#2093](https://github.com/stripe/stripe-node/pull/2093) Update generated code for beta
395
- * Change `CreditNoteCreateParams.refunds[].refund`, `CreditNotePreviewLinesParams.refunds[].refund`, and `CreditNotePreviewParams.refunds[].refund` to be optional
396
-
397
230
  ## 15.8.0 - 2024-05-23
398
231
  * [#2092](https://github.com/stripe/stripe-node/pull/2092) Update generated code
399
232
  * Add support for `external_account_collection` on `AccountSession.components.balances.features`, `AccountSession.components.payouts.features`, `AccountSessionCreateParams.components.balances.features`, and `AccountSessionCreateParams.components.payouts.features`
400
233
  * Add support for new value `terminal_reader_invalid_location_for_payment` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
401
234
  * Add support for `payment_method_remove` on `Checkout.Session.saved_payment_method_options`
402
235
 
403
- ## 15.8.0-beta.1 - 2024-05-16
404
- * [#2087](https://github.com/stripe/stripe-node/pull/2087) Update generated code for beta
405
-
406
236
  ## 15.7.0 - 2024-05-16
407
237
  * [#2088](https://github.com/stripe/stripe-node/pull/2088) Update generated code
408
238
  * Add support for `fee_source` on `ApplicationFee`
@@ -420,10 +250,6 @@
420
250
  * Add support for `stripe_s700` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration`
421
251
  * Change `Treasury.OutboundPayment.tracking_details` and `Treasury.OutboundTransfer.tracking_details` to be required
422
252
 
423
- ## 15.7.0-beta.1 - 2024-05-09
424
- * [#2079](https://github.com/stripe/stripe-node/pull/2079) Update generated code for beta
425
- * No new beta features. Merging changes from the main branch.
426
-
427
253
  ## 15.6.0 - 2024-05-09
428
254
  * [#2086](https://github.com/stripe/stripe-node/pull/2086) Update generated code
429
255
  * Remove support for `pending_invoice_items_behavior` on `SubscriptionCreateParams`
@@ -437,18 +263,6 @@
437
263
  * Add support for new values `treasury.outbound_payment.tracking_details_updated` and `treasury.outbound_transfer.tracking_details_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
438
264
  * [#2085](https://github.com/stripe/stripe-node/pull/2085) Remove unnecessary pointer to description in deprecation message
439
265
 
440
- ## 15.6.0-beta.1 - 2024-05-02
441
- * [#2073](https://github.com/stripe/stripe-node/pull/2073) Update generated code for beta
442
- * Add support for `rechnung_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
443
- * Add support for `rechnung` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `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`, `PaymentMethodUpdateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
444
- * Add support for `multibanco` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
445
- * Add support for new value `multibanco` on enum `Checkout.SessionCreateParams.payment_method_types[]`
446
- * Add support for new value `rechnung` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
447
- * Add support for new value `rechnung` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
448
- * Add support for new value `rechnung` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
449
- * Change `GiftCards.Card.code` and `GiftCards.Card.transactions` to be optional
450
- * Change `Tax.Calculation.ship_from_details` and `Tax.Transaction.ship_from_details` to be required
451
-
452
266
  ## 15.5.0 - 2024-05-02
453
267
  * [#2072](https://github.com/stripe/stripe-node/pull/2072) Update generated code
454
268
  * Add support for new value `shipping_address_invalid` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
@@ -465,11 +279,6 @@
465
279
  - Mark as deprecated the `persistent_token` property on `ConfirmationToken.PaymentMethodPreview.Link`, `PaymentIntent.PaymentMethodOptions.Link`, `PaymentIntentResource.PaymentMethodOptions.Link`, `PaymentMethod.Link.persistent_token`. `SetupIntents.PaymentMethodOptions.Card.Link.persistent_token`, `SetupIntentsResource.persistent_token`. This is a legacy parameter that no longer has any function.
466
280
  * [#2074](https://github.com/stripe/stripe-node/pull/2074) Add a more explicit comment on `limit` param in `autoPagingToArray`
467
281
 
468
- ## 15.5.0-beta.1 - 2024-04-25
469
- * [#2070](https://github.com/stripe/stripe-node/pull/2070) Update generated code for beta
470
- * Add support for `payment_method_settings` on `AccountSessionCreateParams.components`
471
- * Add support for `cancel_subscription_schedule` on `QuoteCreateParams.lines[]`, `QuoteLine`, and `QuoteUpdateParams.lines[]`
472
-
473
282
  ## 15.4.0 - 2024-04-25
474
283
  * [#2071](https://github.com/stripe/stripe-node/pull/2071) Update generated code
475
284
  * Add support for `setup_future_usage` on `Checkout.Session.payment_method_options.amazon_pay`, `Checkout.Session.payment_method_options.revolut_pay`, `PaymentIntent.payment_method_options.amazon_pay`, and `PaymentIntent.payment_method_options.revolut_pay`
@@ -482,12 +291,6 @@
482
291
  * Add support for `mobilepay` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
483
292
  * [#2061](https://github.com/stripe/stripe-node/pull/2061) Make cloudflare package export
484
293
 
485
- ## 15.4.0-beta.1 - 2024-04-18
486
- * [#2065](https://github.com/stripe/stripe-node/pull/2065) Update generated code for beta
487
- * Add support for `capital_overview`, `tax_registrations`, and `tax_settings` on `AccountSessionCreateParams.components`
488
- * Add support for `external_account_collection` on `AccountSessionCreateParams.components.financial_account.features`
489
- * Add support for `subscription_trial_from_plan` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
490
-
491
294
  ## 15.3.0 - 2024-04-18
492
295
  * [#2069](https://github.com/stripe/stripe-node/pull/2069) Update generated code
493
296
  * Add support for `create_preview` method on resource `Invoice`
@@ -512,19 +315,6 @@
512
315
  * Add support for `swish` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
513
316
  * Add support for new value `entitlements.active_entitlement_summary.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
514
317
 
515
- ## 15.2.0-beta.1 - 2024-04-11
516
- * [#2058](https://github.com/stripe/stripe-node/pull/2058) Update generated code for beta
517
- * Add support for `retrieve` method on resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
518
- * Add support for `fees`, `losses`, `requirement_collection`, and `stripe_dashboard` on `AccountCreateParams.controller`
519
- * Change type of `Entitlements.Feature.metadata` from `map(string: string) | null` to `map(string: string)`
520
- * Change `FinancialConnections.Account.ownership_refresh.next_refresh_available_at` to be required
521
- * Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enums `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `OrderCreateParams.tax_details.tax_ids[].type`, and `OrderUpdateParams.tax_details.tax_ids[].type`
522
- * Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enum `Order.tax_details.tax_ids[].type`
523
- * Add support for `hosted_voucher_url` on `PaymentIntent.next_action.multibanco_display_details`
524
- * Add support for `toggles` on `Terminal.Reader.action.collect_inputs.inputs[]` and `Terminal.ReaderCollectInputsParams.inputs[]`
525
- * Add support for new values `email`, `numeric`, `phone`, and `text` on enum `Terminal.ReaderCollectInputsParams.inputs[].type`
526
- * Add support for `email`, `numeric`, `phone`, and `text` on `Terminal.Reader.action.collect_inputs.inputs[]`
527
-
528
318
  ## 15.1.0 - 2024-04-11
529
319
  * [#2062](https://github.com/stripe/stripe-node/pull/2062) Update generated code
530
320
  * Add support for `account_management` and `notification_banner` on `AccountSession.components` and `AccountSessionCreateParams.components`
@@ -603,14 +393,6 @@
603
393
  * Add support for `event_name` on `Billing.MeterEventAdjustmentCreateParams` and `Billing.MeterEventAdjustment`
604
394
  * Add support for `cancel` and `type` on `Billing.MeterEventAdjustment`
605
395
 
606
- ## 14.25.0-beta.1 - 2024-04-04
607
- * [#2054](https://github.com/stripe/stripe-node/pull/2054) Update generated code for beta
608
- * Add support for `update` method on resource `Entitlements.Feature`
609
- * Add support for `risk_controls` on `AccountCreateParams`, `AccountUpdateParams`, and `Account`
610
- * Change `Discount.subscription_item`, `QuoteLine.actions[].add_discount`, `QuoteLine.actions[].add_item.discounts`, `QuoteLine.actions[].remove_discount`, `QuoteLine.actions[].set_discounts`, `QuoteLine.actions[].set_items[].discounts`, `Subscription.discounts`, `SubscriptionItem.discounts`, `SubscriptionSchedule.phases[].add_invoice_items[].discounts`, `SubscriptionSchedule.phases[].discounts`, and `SubscriptionSchedule.phases[].items[].discounts` to be required
611
- * Add support for `promotion_code` on `InvoiceAddLinesParams.lines[].discounts[]`, `InvoiceUpdateLinesParams.lines[].discounts[]`, `QuoteCreateParams.line_items[].discounts[]`, `QuoteCreateParams.lines[].actions[].add_discount`, `QuoteCreateParams.phases[].line_items[].discounts[]`, `QuoteUpdateParams.line_items[].discounts[]`, `QuoteUpdateParams.lines[].actions[].add_discount`, and `QuoteUpdateParams.phases[].line_items[].discounts[]`
612
- * Change type of `QuoteLine.actions[].add_item.discounts`, `QuoteLine.actions[].set_items[].discounts`, `SubscriptionSchedule.phases[].add_invoice_items[].discounts`, `SubscriptionSchedule.phases[].discounts`, and `SubscriptionSchedule.phases[].items[].discounts` from `array(DiscountsResourceStackableDiscount) | null` to `array(DiscountsResourceStackableDiscount)`
613
- * Change type of `Subscription.discounts` and `SubscriptionItem.discounts` from `array(expandable(Discount)) | null` to `array(expandable(Discount))`
614
396
 
615
397
  ## 14.24.0 - 2024-04-04
616
398
  * [#2053](https://github.com/stripe/stripe-node/pull/2053) Update generated code
@@ -632,11 +414,6 @@
632
414
  * Add support for `card_present` on `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, and `SetupIntentUpdateParams.payment_method_options`
633
415
  * Add support for new value `mobile_phone_reader` on enums `Terminal.Reader.device_type` and `Terminal.ReaderListParams.device_type`
634
416
 
635
- ## 14.24.0-beta.1 - 2024-03-28
636
- * [#2047](https://github.com/stripe/stripe-node/pull/2047) Update generated code for beta
637
- * Add support for `financial_account_transactions`, `financial_account`, `issuing_card`, and `issuing_cards_list` on `AccountSessionCreateParams.components`
638
- * Remove support for `subscription_billing_cycle_anchor`, `subscription_cancel_at_period_end`, `subscription_cancel_at`, `subscription_cancel_now`, `subscription_default_tax_rates`, `subscription_items`, `subscription_prebilling`, `subscription_proration_behavior`, `subscription_proration_date`, `subscription_resume_at`, `subscription_start_date`, and `subscription_trial_end` on `InvoiceCreatePreviewParams`
639
-
640
417
  ## 14.23.0 - 2024-03-28
641
418
  * [#2046](https://github.com/stripe/stripe-node/pull/2046) Update generated code
642
419
  * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
@@ -650,23 +427,6 @@
650
427
  * Add support for `meter` on `PlanCreateParams`, `Plan`, `Price.recurring`, `PriceCreateParams.recurring`, and `PriceListParams.recurring`
651
428
  * [#2045](https://github.com/stripe/stripe-node/pull/2045) esbuild test project fixes
652
429
 
653
- ## 14.23.0-beta.1 - 2024-03-21
654
- * [#2039](https://github.com/stripe/stripe-node/pull/2039) Update generated code for beta
655
- * Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement`
656
- * Add support for `list` method on resource `ActiveEntitlement`
657
- * Add support for `mobilepay` on `ConfirmationToken.payment_method_preview` and `ConfirmationTokenCreateParams.testHelpers.payment_method_data`
658
- * Add support for new value `mobilepay` on enum `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`
659
- * Add support for `use_stripe_sdk` on `ConfirmationToken`
660
- * Remove support for `payment_method` on `ConfirmationToken`
661
- * Change type of `ConfirmationToken.mandate_data` from `ConfirmationTokensResourceMandateData` to `ConfirmationTokensResourceMandateData | null`
662
- * Add support for new value `mobilepay` on enum `ConfirmationToken.payment_method_preview.type`
663
- * Add support for `metadata` on `Entitlements.FeatureCreateParams` and `Entitlements.Feature`
664
- * Add support for `active` on `Entitlements.Feature`
665
- * Add support for new value `entitlements.active_entitlement_summary.updated` on enum `Event.type`
666
- * Remove support for value `customer.entitlement_summary.updated` from enum `Event.type`
667
- * Add support for new value `entitlements.active_entitlement_summary.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
668
- * Remove support for value `customer.entitlement_summary.updated` from enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
669
-
670
430
  ## 14.22.0 - 2024-03-21
671
431
  * [#2040](https://github.com/stripe/stripe-node/pull/2040) Update generated code
672
432
  * Add support for new resources `ConfirmationToken` and `Forwarding.Request`
@@ -684,18 +444,6 @@
684
444
  * Add support for `payout` on `Treasury.ReceivedDebit.linked_flows`
685
445
  * [#2043](https://github.com/stripe/stripe-node/pull/2043) Don't mutate error.type during minification
686
446
 
687
- ## 14.22.0-beta.1 - 2024-03-14
688
- * [#2036](https://github.com/stripe/stripe-node/pull/2036) Update generated code for beta
689
- * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
690
- * Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
691
- * Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
692
- * Add support for `create` test helper method on resource `ConfirmationToken`
693
- * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
694
- * Add support for `multibanco` payment method throughout the API.
695
- * Add support for `second_line` on `Issuing.PhysicalBundle.features`
696
- * Add support for `multibanco_display_details` on `PaymentIntent.next_action`
697
- * Add support for `meter` on `PlanCreateParams`, `Plan`, `Price.recurring`, `PriceCreateParams.recurring`, and `PriceListParams.recurring`
698
-
699
447
  ## 14.21.0 - 2024-03-14
700
448
  * [#2035](https://github.com/stripe/stripe-node/pull/2035) Update generated code
701
449
  * Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
@@ -705,10 +453,6 @@
705
453
  * Change type of `SubscriptionCreateParams.application_fee_percent` and `SubscriptionUpdateParams.application_fee_percent` from `number` to `emptyStringable(number)`
706
454
  * Add support for `sepa_debit` on `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options`
707
455
 
708
- ## 14.21.0-beta.1 - 2024-03-07
709
- * [#2032](https://github.com/stripe/stripe-node/pull/2032) Update generated code for beta
710
- * Add support for new value `billing_period_end` on enums `QuoteCreateParams.lines[].ends_at.type`, `QuoteLine.ends_at.type`, and `QuoteUpdateParams.lines[].ends_at.type`
711
-
712
456
  ## 14.20.0 - 2024-03-07
713
457
  * [#2033](https://github.com/stripe/stripe-node/pull/2033) Update generated code
714
458
  * Add support for `documents` on `AccountSession.components` and `AccountSessionCreateParams.components`
@@ -716,16 +460,6 @@
716
460
  * Add support for `created` on `CreditNoteListParams`
717
461
  * Add support for `sepa_debit` on `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, and `InvoiceUpdateParams.payment_settings.payment_method_options`
718
462
 
719
- ## 14.20.0-beta.1 - 2024-02-29
720
- * [#2026](https://github.com/stripe/stripe-node/pull/2026) Update generated code for beta
721
- * Remove support for resource `Entitlements.Event`
722
- * Change type of `ConfirmationToken.mandate_data` from `ConfirmationTokensResourceMandateData | null` to `ConfirmationTokensResourceMandateData`
723
- * Change `ConfirmationToken.mandate_data`, `ConfirmationToken.payment_method_options`, and `ConfirmationToken.payment_method` to be optional
724
- * Remove support for `quantity` and `type` on `Entitlements.FeatureCreateParams` and `Entitlements.Feature`
725
- * Add support for `livemode` on `Issuing.PersonalizationDesign`
726
- * Add support for `application_fee_amount`, `description`, `metadata`, and `transfer_data` on `PaymentIntentDecrementAuthorizationParams`
727
- * Add support for `enable_customer_cancellation` on `Terminal.Reader.action.collect_payment_method.collect_config` and `Terminal.ReaderCollectPaymentMethodParams.collect_config`
728
-
729
463
  ## 14.19.0 - 2024-02-29
730
464
  * [#2029](https://github.com/stripe/stripe-node/pull/2029) Update generated code
731
465
  * Change `Identity.VerificationReport.type`, `SubscriptionSchedule.default_settings.invoice_settings.account_tax_ids`, `SubscriptionSchedule.phases[].invoice_settings.account_tax_ids`, and `TaxId.owner` to be required
@@ -736,9 +470,6 @@
736
470
  * Add support for `payment_method` on `TokenCreateParams.bank_account`
737
471
  * [#2027](https://github.com/stripe/stripe-node/pull/2027) vscode settings: true -> "explicit"
738
472
 
739
- ## 14.19.0-beta.1 - 2024-02-22
740
- * [#2023](https://github.com/stripe/stripe-node/pull/2023) Update generated code for beta
741
-
742
473
  ## 14.18.0 - 2024-02-22
743
474
  * [#2022](https://github.com/stripe/stripe-node/pull/2022) Update generated code
744
475
  * Add support for `client_reference_id` on `Identity.VerificationReportListParams`, `Identity.VerificationReport`, `Identity.VerificationSessionCreateParams`, `Identity.VerificationSessionListParams`, and `Identity.VerificationSession`
@@ -794,16 +525,6 @@
794
525
  * [#2021](https://github.com/stripe/stripe-node/pull/2021) Add TaxIds API
795
526
  * Add support for `create`, `del`, `list`, and `retrieve` methods on resource `TaxId`
796
527
 
797
- ## 14.18.0-beta.1 - 2024-02-16
798
- * [#2017](https://github.com/stripe/stripe-node/pull/2017) Update generated code for beta
799
- * Add support for `payto` and `twint` payment method throughout the API
800
- * Add support for `decrement_authorization` method on resource `PaymentIntent`
801
- * Add support for `decremental_authorization` on `Charge.payment_method_details.card`
802
- * Add support for `display_brand` on `ConfirmationToken.payment_method_preview.card`
803
- * Add support for new value `no_voec` on enums `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `OrderCreateParams.tax_details.tax_ids[].type`, and `OrderUpdateParams.tax_details.tax_ids[].type`
804
- * Add support for new value `no_voec` on enum `Order.tax_details.tax_ids[].type`
805
- * Add support for `request_decremental_authorization` on `PaymentIntent.payment_method_options.card`, `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card`, and `PaymentIntentUpdateParams.payment_method_options.card`
806
-
807
528
  ## 14.17.0 - 2024-02-15
808
529
  * [#2018](https://github.com/stripe/stripe-node/pull/2018) Update generated code
809
530
  * Add support for `networks` on `Card`, `PaymentMethodCreateParams.card`, `PaymentMethodUpdateParams.card`, and `TokenCreateParams.card`
@@ -813,11 +534,6 @@
813
534
  * Add support for `display_brand` on `PaymentMethod.card`
814
535
  * Add support for new value `financial_connections.account.refreshed_ownership` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
815
536
 
816
- ## 14.17.0-beta.1 - 2024-02-08
817
- * [#2014](https://github.com/stripe/stripe-node/pull/2014) Update generated code for beta
818
- * Add support for `payment_method_options` on `ConfirmationToken`
819
- * Add support for new value `velobank` on enum `ConfirmationToken.payment_method_preview.p24.bank`
820
-
821
537
  ## 14.16.0 - 2024-02-08
822
538
  * [#2012](https://github.com/stripe/stripe-node/pull/2012) Update generated code
823
539
  * Add support for `invoices` on `Account.settings` and `AccountUpdateParams.settings`
@@ -835,37 +551,6 @@
835
551
  * [#2009](https://github.com/stripe/stripe-node/pull/2009) Remove https check for *.stripe.com
836
552
  * Stops throwing exceptions if `protocol: 'http'` is set for requests to `api.stripe.com`.
837
553
 
838
- ## 14.15.0-beta.2 - 2024-02-01
839
- * [#2002](https://github.com/stripe/stripe-node/pull/2002) Update generated code for beta
840
- * Add support for new resources `Entitlements.Event` and `Entitlements.Feature`
841
- * Add support for `create` method on resource `Event`
842
- * Add support for `create` and `list` methods on resource `Feature`
843
- * Add support for `swish` on `ConfirmationToken.payment_method_preview`
844
- * Add support for new value `swish` on enum `ConfirmationToken.payment_method_preview.type`
845
- * Add support for new value `customer.entitlement_summary.updated` on enum `Event.type`
846
- * Add support for `account_tax_ids` on `InvoiceCreatePreviewParams.schedule_details.phases[].invoice_settings`, `InvoiceUpcomingLinesParams.schedule_details.phases[].invoice_settings`, and `InvoiceUpcomingParams.schedule_details.phases[].invoice_settings`
847
- * Add support for `feature` on `Product.features[]`, `ProductCreateParams.features[]`, and `ProductUpdateParams.features[]`
848
- * Add support for new value `customer.entitlement_summary.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
849
-
850
- ## 14.15.0-beta.1 - 2024-01-25
851
- * [#1997](https://github.com/stripe/stripe-node/pull/1997) Update generated code for beta
852
- * Add support for `create_preview` method on resource `Invoice`
853
- * Add support for `charged_off_at` on `Capital.FinancingOffer`
854
- * Change `Checkout.Session.automatic_tax.liability`, `Checkout.Session.invoice_creation.invoice_data.issuer`, `PaymentLink.automatic_tax.liability`, `PaymentLink.invoice_creation.invoice_data.issuer`, `PaymentLink.subscription_data.invoice_settings.issuer`, `PaymentLink.subscription_data.invoice_settings`, `Quote.automatic_tax.liability`, `Quote.invoice_settings.issuer`, `SubscriptionSchedule.default_settings.automatic_tax.liability`, `SubscriptionSchedule.default_settings.invoice_settings.issuer`, `SubscriptionSchedule.phases[].automatic_tax.liability`, and `SubscriptionSchedule.phases[].invoice_settings.issuer` to be required
855
- * Add support for new values `disabled` and `enabled` on enums `CustomerSession.components.payment_element.features.payment_method_remove`, `CustomerSession.components.payment_element.features.payment_method_save`, `CustomerSession.components.payment_element.features.payment_method_set_as_default`, `CustomerSession.components.payment_element.features.payment_method_update`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_remove`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_save`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_set_as_default`, and `CustomerSessionCreateParams.components.payment_element.features.payment_method_update`
856
- * Remove support for values `auto` and `never` from enums `CustomerSession.components.payment_element.features.payment_method_remove`, `CustomerSession.components.payment_element.features.payment_method_save`, `CustomerSession.components.payment_element.features.payment_method_set_as_default`, `CustomerSession.components.payment_element.features.payment_method_update`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_remove`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_save`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_set_as_default`, and `CustomerSessionCreateParams.components.payment_element.features.payment_method_update`
857
- * Add support for `enhanced_evidence` on `Dispute.evidence` and `DisputeUpdateParams.evidence`
858
- * Add support for `enhanced_eligibility_types` on `Dispute`
859
- * Add support for `enhanced_eligibility` on `Dispute.evidence_details`
860
- * Add support for `promotion_code` on `InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].add`, `InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].remove`, `InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].set`, `InvoiceUpcomingLinesParams.schedule_details.amendments[].item_actions[].add.discounts[]`, `InvoiceUpcomingLinesParams.schedule_details.amendments[].item_actions[].set.discounts[]`, `InvoiceUpcomingLinesParams.schedule_details.phases[].add_invoice_items[].discounts[]`, `InvoiceUpcomingLinesParams.schedule_details.phases[].discounts[]`, `InvoiceUpcomingLinesParams.schedule_details.phases[].items[].discounts[]`, `InvoiceUpcomingLinesParams.subscription_details.items[].discounts[]`, `InvoiceUpcomingLinesParams.subscription_items[].discounts[]`, `InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].add`, `InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].remove`, `InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].set`, `InvoiceUpcomingParams.schedule_details.amendments[].item_actions[].add.discounts[]`, `InvoiceUpcomingParams.schedule_details.amendments[].item_actions[].set.discounts[]`, `InvoiceUpcomingParams.schedule_details.phases[].add_invoice_items[].discounts[]`, `InvoiceUpcomingParams.schedule_details.phases[].discounts[]`, `InvoiceUpcomingParams.schedule_details.phases[].items[].discounts[]`, `InvoiceUpcomingParams.subscription_details.items[].discounts[]`, `InvoiceUpcomingParams.subscription_items[].discounts[]`, `QuoteCreateParams.lines[].actions[].add_item.discounts[]`, `QuoteCreateParams.lines[].actions[].remove_discount`, `QuoteCreateParams.lines[].actions[].set_discounts[]`, `QuoteCreateParams.lines[].actions[].set_items[].discounts[]`, `QuoteCreateParams.phases[].discounts[]`, `QuoteLine.actions[].add_discount`, `QuoteLine.actions[].add_item.discounts[]`, `QuoteLine.actions[].remove_discount`, `QuoteLine.actions[].set_discounts[]`, `QuoteLine.actions[].set_items[].discounts[]`, `QuoteUpdateParams.lines[].actions[].add_item.discounts[]`, `QuoteUpdateParams.lines[].actions[].remove_discount`, `QuoteUpdateParams.lines[].actions[].set_discounts[]`, `QuoteUpdateParams.lines[].actions[].set_items[].discounts[]`, `QuoteUpdateParams.phases[].discounts[]`, `SubscriptionCreateParams.add_invoice_items[].discounts[]`, `SubscriptionCreateParams.discounts[]`, `SubscriptionCreateParams.items[].discounts[]`, `SubscriptionItemCreateParams.discounts[]`, `SubscriptionItemUpdateParams.discounts[]`, `SubscriptionSchedule.phases[].add_invoice_items[].discounts[]`, `SubscriptionSchedule.phases[].discounts[]`, `SubscriptionSchedule.phases[].items[].discounts[]`, `SubscriptionScheduleAmendParams.amendments[].discount_actions[].add`, `SubscriptionScheduleAmendParams.amendments[].discount_actions[].remove`, `SubscriptionScheduleAmendParams.amendments[].discount_actions[].set`, `SubscriptionScheduleAmendParams.amendments[].item_actions[].add.discounts[]`, `SubscriptionScheduleAmendParams.amendments[].item_actions[].set.discounts[]`, `SubscriptionScheduleCreateParams.phases[].add_invoice_items[].discounts[]`, `SubscriptionScheduleCreateParams.phases[].discounts[]`, `SubscriptionScheduleCreateParams.phases[].items[].discounts[]`, `SubscriptionScheduleUpdateParams.phases[].add_invoice_items[].discounts[]`, `SubscriptionScheduleUpdateParams.phases[].discounts[]`, `SubscriptionScheduleUpdateParams.phases[].items[].discounts[]`, `SubscriptionUpdateParams.add_invoice_items[].discounts[]`, `SubscriptionUpdateParams.discounts[]`, and `SubscriptionUpdateParams.items[].discounts[]`
861
- * [#1996](https://github.com/stripe/stripe-node/pull/1996) Update generated code for beta
862
- Release specs are identical.
863
- * [#1993](https://github.com/stripe/stripe-node/pull/1993) Update generated code for beta
864
- * Add support for new value `nn` on enum `ConfirmationToken.payment_method_preview.ideal.bank`
865
- * Add support for new value `NNBANL2G` on enum `ConfirmationToken.payment_method_preview.ideal.bic`
866
- * Change `Invoice.automatic_tax.liability`, `Invoice.issuer`, and `Subscription.automatic_tax.liability` to be required
867
- * [#1994](https://github.com/stripe/stripe-node/pull/1994) Beta: report `raw_request` usage
868
-
869
554
  ## 14.14.0 - 2024-01-25
870
555
  * [#1998](https://github.com/stripe/stripe-node/pull/1998) Update generated code
871
556
  * Add support for `annual_revenue` and `estimated_worker_count` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
@@ -891,15 +576,6 @@
891
576
  * Add support for `invoice_settings` on `SubscriptionCreateParams` and `SubscriptionUpdateParams`
892
577
  * [#1992](https://github.com/stripe/stripe-node/pull/1992) Add a hint about formatting during request forwarding
893
578
 
894
- ## 14.14.0-beta.1 - 2024-01-18
895
- * [#1996](https://github.com/stripe/stripe-node/pull/1996) Update generated code for beta
896
- Release specs are identical.
897
- * [#1993](https://github.com/stripe/stripe-node/pull/1993) Update generated code for beta
898
- * Add support for new value `nn` on enum `ConfirmationToken.payment_method_preview.ideal.bank`
899
- * Add support for new value `NNBANL2G` on enum `ConfirmationToken.payment_method_preview.ideal.bic`
900
- * Change `Invoice.automatic_tax.liability`, `Invoice.issuer`, and `Subscription.automatic_tax.liability` to be required
901
- * [#1994](https://github.com/stripe/stripe-node/pull/1994) Beta: report `raw_request` usage
902
-
903
579
  ## 14.13.0 - 2024-01-18
904
580
  * [#1995](https://github.com/stripe/stripe-node/pull/1995) Update generated code
905
581
  * Add support for providing `BankAccount`, `Card`, and `CardToken` details on the `external_account` parameter in `AccountUpdateParams`
@@ -915,17 +591,6 @@
915
591
  * Add support for `invoice_settings` on `SubscriptionCreateParams` and `SubscriptionUpdateParams`
916
592
  * [#1992](https://github.com/stripe/stripe-node/pull/1992) Add a hint about formatting during request forwarding
917
593
 
918
- ## 14.13.0-beta.1 - 2024-01-12
919
- * [#1989](https://github.com/stripe/stripe-node/pull/1989) Update generated code for beta
920
- * Add support for `amount` on `ChargeCaptureParams.payment_details.flight.segments[]`, `ChargeUpdateParams.payment_details.flight.segments[]`, `PaymentIntentCaptureParams.payment_details.flight.segments[]`, `PaymentIntentConfirmParams.payment_details.flight.segments[]`, `PaymentIntentCreateParams.payment_details.flight.segments[]`, and `PaymentIntentUpdateParams.payment_details.flight.segments[]`
921
- * Add support for `number_of_rooms` and `room_class` on `ChargeCaptureParams.payment_details.lodging`, `ChargeUpdateParams.payment_details.lodging`, `PaymentIntentCaptureParams.payment_details.lodging`, `PaymentIntentConfirmParams.payment_details.lodging`, `PaymentIntentCreateParams.payment_details.lodging`, and `PaymentIntentUpdateParams.payment_details.lodging`
922
- * Change `ConfirmationToken.setup_future_usage` to be required
923
- * Add support for `buy_button` on `CustomerSession.components` and `CustomerSessionCreateParams.components`
924
- * Add support for new values `high_risk_industry`, `insufficient_margin_ratio`, `insufficient_operating_profit`, `insufficient_reserves`, `insufficient_time_in_network`, `lacking_cash_account`, and `poor_payment_history_with_platform` on enums `Issuing.CreditUnderwritingRecord.decision.application_rejected.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.application_rejected.reasons[]`, and `Issuing.CreditUnderwritingRecordReportDecisionParams.decision.application_rejected.reasons[]`
925
- * Add support for new values `high_risk_industry`, `insufficient_margin_ratio`, `insufficient_operating_profit`, `insufficient_reserves`, `insufficient_time_in_network`, and `lacking_cash_account` on enums `Issuing.CreditUnderwritingRecord.decision.credit_limit_decreased.reasons[]`, `Issuing.CreditUnderwritingRecord.decision.credit_line_closed.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_limit_decreased.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_line_closed.reasons[]`, `Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_limit_decreased.reasons[]`, and `Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_line_closed.reasons[]`
926
- * [#1986](https://github.com/stripe/stripe-node/pull/1986) Update generated code for beta
927
- * Change `AccountSession.components.capital_financing_promotion.features` to be required
928
-
929
594
  ## 14.12.0 - 2024-01-12
930
595
  * [#1990](https://github.com/stripe/stripe-node/pull/1990) Update generated code
931
596
  * Add support for new resource `CustomerSession`
@@ -935,11 +600,6 @@
935
600
  * Remove support for value `obligation` from enum `Reporting.ReportRunCreateParams.parameters.reporting_category`
936
601
  * Add support for `billing_cycle_anchor_config` on `SubscriptionCreateParams` and `Subscription`
937
602
 
938
- ## 14.12.0-beta.1 - 2024-01-04
939
- * [#1986](https://github.com/stripe/stripe-node/pull/1986) Update generated code for beta
940
- * Change `AccountSession.components.capital_financing_promotion.features` to be required
941
- * Updated stable APIs to the latest version
942
-
943
603
  ## 14.11.0 - 2024-01-04
944
604
  * [#1985](https://github.com/stripe/stripe-node/pull/1985) Update generated code
945
605
  * Add support for `retrieve` method on resource `Tax.Registration`
@@ -947,15 +607,6 @@
947
607
  * Change type of `SubscriptionSchedule.default_settings.invoice_settings` from `InvoiceSettingSubscriptionScheduleSetting | null` to `InvoiceSettingSubscriptionScheduleSetting`
948
608
  * [#1987](https://github.com/stripe/stripe-node/pull/1987) Update docstrings to indicate removal of deprecated event types
949
609
 
950
- ## 14.11.0-beta.1 - 2023-12-22
951
- * [#1977](https://github.com/stripe/stripe-node/pull/1977) Update generated code for beta
952
- * Add support for `capital_financing_promotion` on `AccountSession.components` and `AccountSessionCreateParams.components`
953
- * Add support for new value `shipping_address_invalid` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
954
- * Change `FinancialConnections.Account.balance_refresh.next_refresh_available_at`, `FinancialConnections.Account.subscriptions`, and `FinancialConnections.Account.transaction_refresh` to be required
955
- * Change type of `Invoice.issuer` and `SubscriptionSchedule.default_settings.invoice_settings.issuer` from `ConnectAccountReference | null` to `ConnectAccountReference`
956
- * Change type of `PaymentLink.subscription_data.invoice_settings` from `PaymentLinksResourceSubscriptionDataInvoiceSettings | null` to `PaymentLinksResourceSubscriptionDataInvoiceSettings`
957
- * Add support for `ship_from_details` on `Tax.CalculationCreateParams`, `Tax.Calculation`, and `Tax.Transaction`
958
-
959
610
  ## 14.10.0 - 2023-12-22
960
611
  * [#1979](https://github.com/stripe/stripe-node/pull/1979) Update generated code
961
612
  * Add support for `collection_method` on `Mandate.payment_method_details.us_bank_account`
@@ -979,12 +630,6 @@
979
630
  * Add support for `destination_details` on `Refund`
980
631
  * Add support for new value `financial_connections.account.refreshed_transactions` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
981
632
 
982
- ## 14.10.0-beta.1 - 2023-12-14
983
- * [#1975](https://github.com/stripe/stripe-node/pull/1975) Update generated code for beta
984
- * Add support for `preview_mode` and `subscription_details` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
985
- * Remove support for `subscription_trial_from_plan` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
986
- * Add support for `billing_behavior`, `end_behavior`, and `proration_behavior` on `InvoiceUpcomingLinesParams.schedule_details` and `InvoiceUpcomingParams.schedule_details`
987
-
988
633
  ## 14.9.0 - 2023-12-14
989
634
  * [#1973](https://github.com/stripe/stripe-node/pull/1973) Add `usage` to X-Stripe-Client-Telemetry
990
635
  * [#1971](https://github.com/stripe/stripe-node/pull/1971) Update generated code
@@ -992,13 +637,6 @@
992
637
  * Add support for `after_submit` on `Checkout.Session.custom_text`, `Checkout.SessionCreateParams.custom_text`, `PaymentLink.custom_text`, `PaymentLinkCreateParams.custom_text`, and `PaymentLinkUpdateParams.custom_text`
993
638
  * Add support for `created` on `Radar.EarlyFraudWarningListParams`
994
639
 
995
- ## 14.9.0-beta.1 - 2023-12-08
996
- * [#1969](https://github.com/stripe/stripe-node/pull/1969) Update generated code for beta
997
- * Add support for `retrieve` method on resource `FinancialConnections.Transaction`
998
- * Remove support for `issuing_card` and `issuing_cards_list` on `AccountSessionCreateParams.components`
999
- * Add support for `payment_method_remove`, `payment_method_save`, and `payment_method_set_as_default` on `CustomerSession.components.payment_element.features` and `CustomerSessionCreateParams.components.payment_element.features`
1000
- * Remove support for `payment_method_detach` and `payment_method_set_as_customer_default` on `CustomerSession.components.payment_element.features` and `CustomerSessionCreateParams.components.payment_element.features`
1001
-
1002
640
  ## 14.8.0 - 2023-12-07
1003
641
  * [#1968](https://github.com/stripe/stripe-node/pull/1968) Update generated code
1004
642
  * Add support for `payment_details`, `payments`, and `payouts` on `AccountSession.components` and `AccountSessionCreateParams.components`
@@ -1012,9 +650,6 @@
1012
650
  * Add support for `transfer_group` on `PaymentLink.payment_intent_data`, `PaymentLinkCreateParams.payment_intent_data`, and `PaymentLinkUpdateParams.payment_intent_data`
1013
651
  * Add support for `trial_settings` on `PaymentLink.subscription_data`, `PaymentLinkCreateParams.subscription_data`, and `PaymentLinkUpdateParams.subscription_data`
1014
652
 
1015
- ## 14.8.0-beta.1 - 2023-11-30
1016
- * [#1967](https://github.com/stripe/stripe-node/pull/1967) Update generated code for beta
1017
-
1018
653
  ## 14.7.0 - 2023-11-30
1019
654
  * [#1965](https://github.com/stripe/stripe-node/pull/1965) Update generated code
1020
655
  * Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
@@ -1029,18 +664,6 @@
1029
664
  * Add support for new values `climate_order_purchase` and `climate_order_refund` on enum `Reporting.ReportRunCreateParams.parameters.reporting_category`
1030
665
  * Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1031
666
 
1032
- ## 14.7.0-beta.2 - 2023-11-27
1033
- * [#1966](https://github.com/stripe/stripe-node/pull/1966) beta: climate APIs
1034
- * Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
1035
- * Add support for new value `financial_connections_account_inactive` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
1036
- * Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enum `Event.type`
1037
- * Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1038
-
1039
- ## 14.7.0-beta.1 - 2023-11-21
1040
- * [#1962](https://github.com/stripe/stripe-node/pull/1962) Update generated code for beta
1041
- * Rename `.delivery.receipient` to `.delivery.recipient` on `Charge` and `PaymentIntent` APIs.
1042
- * Add support for `components` on `CustomerSessionCreateParams` and `CustomerSession`
1043
-
1044
667
  ## 14.6.0 - 2023-11-21
1045
668
  * [#1961](https://github.com/stripe/stripe-node/pull/1961) Update generated code
1046
669
  * Add support for `electronic_commerce_indicator` on `Charge.payment_method_details.card.three_d_secure` and `SetupAttempt.payment_method_details.card.three_d_secure`
@@ -1053,16 +676,6 @@
1053
676
  * Add support for `authorization_code` on `Issuing.Transaction.network_data`
1054
677
  * Add support for `three_d_secure` on `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card`, `PaymentIntentUpdateParams.payment_method_options.card`, `SetupIntentConfirmParams.payment_method_options.card`, `SetupIntentCreateParams.payment_method_options.card`, and `SetupIntentUpdateParams.payment_method_options.card`
1055
678
 
1056
- ## 14.6.0-beta.1 - 2023-11-16
1057
- * [#1959](https://github.com/stripe/stripe-node/pull/1959) Update generated code for beta
1058
- * Add support for `event_details` and `subscription` on `ChargeCaptureParams.payment_details`, `ChargeUpdateParams.payment_details`, `PaymentIntent.payment_details`, `PaymentIntentCaptureParams.payment_details`, `PaymentIntentConfirmParams.payment_details`, `PaymentIntentCreateParams.payment_details`, and `PaymentIntentUpdateParams.payment_details`
1059
- * Add support for `affiliate` and `delivery` on `ChargeCaptureParams.payment_details.car_rental`, `ChargeCaptureParams.payment_details.flight`, `ChargeCaptureParams.payment_details.lodging`, `ChargeUpdateParams.payment_details.car_rental`, `ChargeUpdateParams.payment_details.flight`, `ChargeUpdateParams.payment_details.lodging`, `PaymentIntent.payment_details.car_rental`, `PaymentIntentCaptureParams.payment_details.car_rental`, `PaymentIntentCaptureParams.payment_details.flight`, `PaymentIntentCaptureParams.payment_details.lodging`, `PaymentIntentConfirmParams.payment_details.car_rental`, `PaymentIntentConfirmParams.payment_details.flight`, `PaymentIntentConfirmParams.payment_details.lodging`, `PaymentIntentCreateParams.payment_details.car_rental`, `PaymentIntentCreateParams.payment_details.flight`, `PaymentIntentCreateParams.payment_details.lodging`, `PaymentIntentUpdateParams.payment_details.car_rental`, `PaymentIntentUpdateParams.payment_details.flight`, and `PaymentIntentUpdateParams.payment_details.lodging`
1060
- * Add support for `drivers` on `ChargeCaptureParams.payment_details.car_rental`, `ChargeUpdateParams.payment_details.car_rental`, `PaymentIntent.payment_details.car_rental`, `PaymentIntentCaptureParams.payment_details.car_rental`, `PaymentIntentConfirmParams.payment_details.car_rental`, `PaymentIntentCreateParams.payment_details.car_rental`, and `PaymentIntentUpdateParams.payment_details.car_rental`
1061
- * Add support for `passengers` on `ChargeCaptureParams.payment_details.flight`, `ChargeCaptureParams.payment_details.lodging`, `ChargeUpdateParams.payment_details.flight`, `ChargeUpdateParams.payment_details.lodging`, `PaymentIntentCaptureParams.payment_details.flight`, `PaymentIntentCaptureParams.payment_details.lodging`, `PaymentIntentConfirmParams.payment_details.flight`, `PaymentIntentConfirmParams.payment_details.lodging`, `PaymentIntentCreateParams.payment_details.flight`, `PaymentIntentCreateParams.payment_details.lodging`, `PaymentIntentUpdateParams.payment_details.flight`, and `PaymentIntentUpdateParams.payment_details.lodging`
1062
- * Add support for `created` on `CustomerSession`
1063
- * [#1954](https://github.com/stripe/stripe-node/pull/1954) Update generated code for beta
1064
- * Add support for `issuing_card` and `issuing_cards_list` on `AccountSessionCreateParams.components`
1065
-
1066
679
  ## 14.5.0 - 2023-11-16
1067
680
  * [#1957](https://github.com/stripe/stripe-node/pull/1957) Update generated code
1068
681
  * Add support for `bacs_debit_payments` on `AccountCreateParams.settings` and `AccountUpdateParams.settings`
@@ -1077,13 +690,6 @@
1077
690
  * [#1958](https://github.com/stripe/stripe-node/pull/1958) Move Webhooks instance to static field
1078
691
  * [#1952](https://github.com/stripe/stripe-node/pull/1952) Use AbortController for native fetch cancellation when available
1079
692
 
1080
- ## 14.5.0-beta.1 - 2023-11-10
1081
- * [#1948](https://github.com/stripe/stripe-node/pull/1948) Update generated code for beta
1082
- * Add support for new value `quote.reestimate_failed` on enum `Event.type`
1083
- * Add support for `metadata` on `QuoteCreateParams.phases[]`, `QuotePhase`, and `QuoteUpdateParams.phases[]`
1084
- * Add support for `last_reestimation_details` on `Quote.computed`
1085
- * Add support for new value `quote.reestimate_failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1086
-
1087
693
  ## 14.4.0 - 2023-11-09
1088
694
  * [#1947](https://github.com/stripe/stripe-node/pull/1947) Update generated code
1089
695
  * Add support for new value `terminal_reader_hardware_fault` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
@@ -1091,23 +697,6 @@
1091
697
  * Change `Product.features[].name` to be optional
1092
698
  * Add support for `metadata` on `Quote.subscription_data`, `QuoteCreateParams.subscription_data`, and `QuoteUpdateParams.subscription_data`
1093
699
 
1094
- ## 14.4.0-beta.1 - 2023-11-02
1095
- * [#1945](https://github.com/stripe/stripe-node/pull/1945) Update generated code for beta
1096
- * Add support for `attach_payment_intent` method on resource `Invoice`
1097
- * Add support for `revolut_pay` on `ConfirmationToken.payment_method_preview`
1098
- * Add support for new value `revolut_pay` on enum `ConfirmationToken.payment_method_preview.type`
1099
- * Change `ConfirmationToken.payment_method_preview.paypal.payer_email`, `ConfirmationToken.payment_method_preview.paypal.payer_id`, `Issuing.Authorization.merchant_data.url`, `Issuing.Authorization.verification_data.three_d_secure`, `Issuing.Transaction.merchant_data.url`, `Order.payment.settings.payment_method_options.paypal.reference`, and `QuoteLine.set_schedule_end` to be required
1100
- * Add support for `refunds` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, and `CreditNote`
1101
- * Add support for `post_payment_amount` and `pre_payment_amount` on `CreditNote`
1102
- * Add support for new value `invoice.payment.overpaid` on enum `Event.type`
1103
- * Add support for `schedule_details` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
1104
- * Add support for `amounts_due` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
1105
- * Add support for `payments` on `Invoice`
1106
- * Add support for `created` on `Issuing.PersonalizationDesign`
1107
- * Add support for `ending_before`, `limit`, and `starting_after` on `Tax.RegistrationListParams`
1108
- * Change type of `Tax.RegistrationCreateParams.active_from` to be `'now' | DateTime`
1109
- * Add support for new value `invoice.payment.overpaid` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1110
-
1111
700
  ## 14.3.0 - 2023-11-02
1112
701
  * [#1943](https://github.com/stripe/stripe-node/pull/1943) Update generated code
1113
702
  * Add support for new resource `Tax.Registration`
@@ -1125,37 +714,12 @@
1125
714
  * Add support for `description` on `PaymentLink.payment_intent_data`, `PaymentLinkCreateParams.payment_intent_data`, and `PaymentLinkUpdateParams.payment_intent_data`
1126
715
  * Add support for new value `unreconciled_customer_funds` on enum `Reporting.ReportRunCreateParams.parameters.reporting_category`
1127
716
 
1128
- ## 14.3.0-beta.1 - 2023-10-26
1129
- * [#1938](https://github.com/stripe/stripe-node/pull/1938) Update generated code for beta
1130
- * Add support for new resource `Margin`
1131
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
1132
- * Add support for `subsellers` on `Checkout.SessionCreateParams.payment_method_options.paypal`, `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`, `PaymentIntentUpdateParams.payment_method_options.paypal`, `SetupIntent.payment_method_options.paypal`, `SetupIntentConfirmParams.payment_method_options.paypal`, `SetupIntentCreateParams.payment_method_options.paypal`, and `SetupIntentUpdateParams.payment_method_options.paypal`
1133
- * Add support for `default_margins` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
1134
- * Add support for `total_margin_amounts` on `Invoice`
1135
- * Add support for `margins` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, and `InvoiceItem`
1136
- * Add support for new values `applicant_is_not_beneficial_owner`, `current_account_tier_ineligible`, `customer_requested_account_closure`, `dispute_rate_too_high`, and `invalid_business_license` on enums `Issuing.CreditUnderwritingRecord.decision.credit_limit_decreased.reasons[]`, `Issuing.CreditUnderwritingRecord.decision.credit_line_closed.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_limit_decreased.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_line_closed.reasons[]`, `Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_limit_decreased.reasons[]`, and `Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_line_closed.reasons[]`
1137
- * Add support for new values `applicant_is_not_beneficial_owner`, `current_account_tier_ineligible`, `customer_requested_account_closure`, `dispute_rate_too_high`, and `invalid_business_license` on enums `Issuing.CreditUnderwritingRecord.decision.application_rejected.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.application_rejected.reasons[]`, and `Issuing.CreditUnderwritingRecordReportDecisionParams.decision.application_rejected.reasons[]`
1138
- * Remove support for values `change_in_financial_state`, `change_in_utilization_of_credit_line`, `decrease_in_income_to_expense_ratio`, `decrease_in_social_media_performance`, `exceeds_acceptable_platform_exposure`, `has_recent_credit_limit_increase`, `insufficient_credit_utilization`, `insufficient_usage_as_qualified_expenses`, and `poor_payment_history_with_platform` from enums `Issuing.CreditUnderwritingRecord.decision.application_rejected.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.application_rejected.reasons[]`, and `Issuing.CreditUnderwritingRecordReportDecisionParams.decision.application_rejected.reasons[]`
1139
- * Add support for `is_default` on `Issuing.PersonalizationDesign.preferences`, `Issuing.PersonalizationDesignCreateParams.preferences`, `Issuing.PersonalizationDesignListParams.preferences`, and `Issuing.PersonalizationDesignUpdateParams.preferences`
1140
- * Add support for `is_platform_default` on `Issuing.PersonalizationDesign.preferences` and `Issuing.PersonalizationDesignListParams.preferences`
1141
- * Remove support for `account_default` on `Issuing.PersonalizationDesign.preferences`, `Issuing.PersonalizationDesignCreateParams.preferences`, `Issuing.PersonalizationDesignListParams.preferences`, and `Issuing.PersonalizationDesignUpdateParams.preferences`
1142
- * Remove support for `platform_default` on `Issuing.PersonalizationDesign.preferences` and `Issuing.PersonalizationDesignListParams.preferences`
1143
- * Add support for `liability` on `PaymentLink.automatic_tax`, `PaymentLinkCreateParams.automatic_tax`, and `PaymentLinkUpdateParams.automatic_tax`
1144
- * Add support for `issuer` on `PaymentLink.invoice_creation.invoice_data`, `PaymentLinkCreateParams.invoice_creation.invoice_data`, and `PaymentLinkUpdateParams.invoice_creation.invoice_data`
1145
- * Add support for `invoice_settings` on `PaymentLink.subscription_data`, `PaymentLinkCreateParams.subscription_data`, and `PaymentLinkUpdateParams.subscription_data`
1146
- * Add support for new value `accept_failed_validations` on enum `Quote.status_details.stale.last_reason.type`
1147
-
1148
717
  ## 14.2.0 - 2023-10-26
1149
718
  * [#1939](https://github.com/stripe/stripe-node/pull/1939) Update generated code
1150
719
  * Add support for new value `balance_invalid_parameter` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
1151
720
  * Change `Issuing.Cardholder.individual.card_issuing` to be optional
1152
721
  * [#1940](https://github.com/stripe/stripe-node/pull/1940) Do not require passing apiVersion
1153
722
 
1154
- ## 14.2.0-beta.1 - 2023-10-17
1155
- * [#1935](https://github.com/stripe/stripe-node/pull/1935) Update generated code for beta
1156
- * [#1930](https://github.com/stripe/stripe-node/pull/1930) Update generated code for beta
1157
- - Update pinned API version to `2023-10-16`
1158
-
1159
723
  ## 14.1.0 - 2023-10-17
1160
724
  * [#1933](https://github.com/stripe/stripe-node/pull/1933) Update generated code
1161
725
  * Add support for new value `invalid_dob_age_under_minimum` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, and `BankAccount.requirements.errors[].code`
@@ -1169,9 +733,6 @@
1169
733
  * Add support for `additional_tos_acceptances` on `TokenCreateParams.person`
1170
734
  * Add support for new value `2023-10-16` on enum `WebhookEndpointCreateParams.api_version`
1171
735
 
1172
- ## 13.12.0-beta.1 - 2023-10-16
1173
- * [#1925](https://github.com/stripe/stripe-node/pull/1925) Update generated code for beta
1174
-
1175
736
  ## 13.11.0 - 2023-10-16
1176
737
  * [#1924](https://github.com/stripe/stripe-node/pull/1924) Update generated code
1177
738
  * Add support for new values `issuing_token.created` and `issuing_token.updated` on enum `Event.type`
@@ -1179,17 +740,6 @@
1179
740
  * [#1926](https://github.com/stripe/stripe-node/pull/1926) Add named unions for all polymorphic types
1180
741
  * [#1921](https://github.com/stripe/stripe-node/pull/1921) Add event types
1181
742
 
1182
- ## 13.11.0-beta.1 - 2023-10-11
1183
- * [#1919](https://github.com/stripe/stripe-node/pull/1919) Update generated code for beta
1184
- * Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
1185
- * Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
1186
- * Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
1187
- * Change type of `Checkout.Session.automatic_tax.liability.account`, `Checkout.Session.invoice_creation.invoice_data.issuer.account`, `Invoice.automatic_tax.liability.account`, `Invoice.issuer.account`, `Quote.automatic_tax.liability.account`, `Quote.invoice_settings.issuer.account`, `Subscription.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.invoice_settings.issuer.account`, `SubscriptionSchedule.phases[].automatic_tax.liability.account`, and `SubscriptionSchedule.phases[].invoice_settings.issuer.account` from `expandable(Account) | null` to `expandable(Account)`
1188
- * Change `Checkout.Session.automatic_tax.liability.account`, `Checkout.Session.invoice_creation.invoice_data.issuer.account`, `Invoice.automatic_tax.liability.account`, `Invoice.issuer.account`, `Issuing.Transaction.network_data.processing_date`, `Quote.automatic_tax.liability.account`, `Quote.invoice_settings.issuer.account`, `Subscription.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.invoice_settings.issuer.account`, `SubscriptionSchedule.phases[].automatic_tax.liability.account`, and `SubscriptionSchedule.phases[].invoice_settings.issuer.account` to be optional
1189
- * Add support for new values `account_notice.created` and `account_notice.updated` on enum `Event.type`
1190
- * Add support for new values `local_amusement_tax` and `state_communications_tax` on enums `Tax.Registration.country_options.us.type` and `Tax.RegistrationCreateParams.country_options.us.type`
1191
- * Add support for new values `account_notice.created` and `account_notice.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1192
-
1193
743
  ## 13.10.0 - 2023-10-11
1194
744
  * [#1920](https://github.com/stripe/stripe-node/pull/1920) Update generated code
1195
745
  * Add support for `redirect_on_completion`, `return_url`, and `ui_mode` on `Checkout.SessionCreateParams` and `Checkout.Session`
@@ -1203,16 +753,6 @@
1203
753
  * Add support for `offline` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration`
1204
754
  * [#1914](https://github.com/stripe/stripe-node/pull/1914) Bump get-func-name from 2.0.0 to 2.0.2
1205
755
 
1206
- ## 13.10.0-beta.1 - 2023-10-05
1207
- * [#1917](https://github.com/stripe/stripe-node/pull/1917) Update generated code for beta
1208
- * Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
1209
- * Remove support for `draft_quote`, `mark_stale_quote`, and `preview_invoice_lines` methods on resource `Quote`
1210
- * Add support for `liability` on `Checkout.Session.automatic_tax` and `Checkout.SessionCreateParams.automatic_tax`
1211
- * Add support for `issuer` on `Checkout.Session.invoice_creation.invoice_data` and `Checkout.SessionCreateParams.invoice_creation.invoice_data`
1212
- * Add support for `invoice_settings` on `Checkout.SessionCreateParams.subscription_data`
1213
- * Add support for `personalization_design` on `Issuing.CardListParams`
1214
- * Add support for `allow_backdated_lines` on `QuoteCreateParams`, `QuoteUpdateParams`, and `Quote`
1215
-
1216
756
  ## 13.9.0 - 2023-10-05
1217
757
  * [#1916](https://github.com/stripe/stripe-node/pull/1916) Update generated code
1218
758
  * Add support for new resource `Issuing.Token`
@@ -1227,49 +767,15 @@
1227
767
  * Add support for `statement_descriptor_suffix` and `statement_descriptor` on `PaymentLink.payment_intent_data` and `PaymentLinkCreateParams.payment_intent_data`
1228
768
  * Add support for `payment_intent_data` and `subscription_data` on `PaymentLinkUpdateParams`
1229
769
 
1230
- ## 13.9.0-beta.1 - 2023-09-28
1231
- * [#1910](https://github.com/stripe/stripe-node/pull/1910) Update generated code for beta
1232
- * Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
1233
- * Add support for new values `capital_financing_offer` and `capital_financing_reporting` on enum `AccountLinkCreateParams.type`
1234
- * Add support for `features` on `AccountSession.components.payment_details`, `AccountSession.components.payments`, `AccountSession.components.payouts`, `AccountSessionCreateParams.components.account_onboarding`, `AccountSessionCreateParams.components.payment_details`, `AccountSessionCreateParams.components.payments`, and `AccountSessionCreateParams.components.payouts`
1235
- * Change `ConfirmationToken.payment_method_preview.us_bank_account.financial_connections_account` and `ConfirmationToken.payment_method_preview.us_bank_account.status_details` to be required
1236
- * Add support for `reason` on `Event`
1237
-
1238
770
  ## 13.8.0 - 2023-09-28
1239
771
  * [#1911](https://github.com/stripe/stripe-node/pull/1911) Update generated code
1240
772
  * Add support for `rendering` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
1241
773
  * Change `PaymentMethod.us_bank_account.financial_connections_account` and `PaymentMethod.us_bank_account.status_details` to be required
1242
774
 
1243
- ## 13.8.0-beta.1 - 2023-09-21
1244
- * [#1906](https://github.com/stripe/stripe-node/pull/1906) Update generated code for beta
1245
- * Remove support for `customer` on `ConfirmationToken`
1246
- * Add support for `issuer` on `InvoiceCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `InvoiceUpdateParams`, `Invoice`, `Quote.invoice_settings`, `QuoteCreateParams.invoice_settings`, `QuoteUpdateParams.invoice_settings`, `SubscriptionSchedule.default_settings.invoice_settings`, `SubscriptionSchedule.phases[].invoice_settings`, `SubscriptionScheduleCreateParams.default_settings.invoice_settings`, `SubscriptionScheduleCreateParams.phases[].invoice_settings`, `SubscriptionScheduleUpdateParams.default_settings.invoice_settings`, and `SubscriptionScheduleUpdateParams.phases[].invoice_settings`
1247
- * Add support for `on_behalf_of` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
1248
- * Add support for `liability` on `Invoice.automatic_tax`, `InvoiceCreateParams.automatic_tax`, `InvoiceUpcomingLinesParams.automatic_tax`, `InvoiceUpcomingParams.automatic_tax`, `InvoiceUpdateParams.automatic_tax`, `Quote.automatic_tax`, `QuoteCreateParams.automatic_tax`, `QuoteUpdateParams.automatic_tax`, `Subscription.automatic_tax`, `SubscriptionCreateParams.automatic_tax`, `SubscriptionSchedule.default_settings.automatic_tax`, `SubscriptionSchedule.phases[].automatic_tax`, `SubscriptionScheduleCreateParams.default_settings.automatic_tax`, `SubscriptionScheduleCreateParams.phases[].automatic_tax`, `SubscriptionScheduleUpdateParams.default_settings.automatic_tax`, `SubscriptionScheduleUpdateParams.phases[].automatic_tax`, and `SubscriptionUpdateParams.automatic_tax`
1249
- * Change type of `Issuing.CardDesignUpdateParams.carrier_text` from `carrier_text_param` to `emptyStringable(carrier_text_param)`
1250
- * Add support for `invoice_settings` on `SubscriptionCreateParams` and `SubscriptionUpdateParams`
1251
-
1252
775
  ## 13.7.0 - 2023-09-21
1253
776
  * [#1907](https://github.com/stripe/stripe-node/pull/1907) Update generated code
1254
777
  * Add support for `terms_of_service_acceptance` on `Checkout.Session.custom_text`, `Checkout.SessionCreateParams.custom_text`, `PaymentLink.custom_text`, `PaymentLinkCreateParams.custom_text`, and `PaymentLinkUpdateParams.custom_text`
1255
778
 
1256
- ## 13.7.0-beta.1 - 2023-09-14
1257
- * [#1900](https://github.com/stripe/stripe-node/pull/1900) Update generated code for beta
1258
- * Add support for new resource `ConfirmationToken`
1259
- * Add support for `retrieve` method on resource `ConfirmationToken`
1260
- * Add support for `create` method on resource `Issuing.CardDesign`
1261
- * Add support for `reject_testmode` test helper method on resource `Issuing.CardDesign`
1262
- * Add support for new value `issuing_card_design.rejected` on enum `Event.type`
1263
- * Add support for `features` on `Issuing.CardBundle`
1264
- * Add support for `preferences` on `Issuing.CardDesignListParams`, `Issuing.CardDesignUpdateParams`, and `Issuing.CardDesign`
1265
- * Remove support for `preference` on `Issuing.CardDesignListParams`, `Issuing.CardDesignUpdateParams`, and `Issuing.CardDesign`
1266
- * Add support for `card_bundle` on `Issuing.CardDesignUpdateParams`
1267
- * Add support for `card_logo` and `carrier_text` on `Issuing.CardDesignUpdateParams` and `Issuing.CardDesign`
1268
- * Change type of `Issuing.CardDesignUpdateParams.lookup_key` and `Issuing.CardDesignUpdateParams.name` from `string` to `emptyStringable(string)`
1269
- * Add support for `rejection_reasons` on `Issuing.CardDesign`
1270
- * Add support for `confirmation_token` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `SetupIntentConfirmParams`, and `SetupIntentCreateParams`
1271
- * Add support for new value `issuing_card_design.rejected` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1272
-
1273
779
  ## 13.6.0 - 2023-09-14
1274
780
  * [#1905](https://github.com/stripe/stripe-node/pull/1905) Update generated code
1275
781
  * Add support for new resource `PaymentMethodConfiguration`
@@ -1286,16 +792,6 @@
1286
792
  * [#1895](https://github.com/stripe/stripe-node/pull/1895) feat: webhook signing Nestjs
1287
793
  * [#1878](https://github.com/stripe/stripe-node/pull/1878) Use src/apiVersion.ts, not API_VERSION as source of truth
1288
794
 
1289
- ## 13.6.0-beta.1 - 2023-09-07
1290
- * [#1898](https://github.com/stripe/stripe-node/pull/1898) Update generated code for beta
1291
- * Release specs are identical.
1292
- * [#1892](https://github.com/stripe/stripe-node/pull/1892) Update generated code for beta
1293
- * Remove support for `submit_card` test helper method on resource `Issuing.Card`
1294
- * Add support for `tax_forms` on `Account.settings`, `AccountCreateParams.settings`, and `AccountUpdateParams.settings`
1295
- * Add support for `card_design` on `Issuing.CardUpdateParams`
1296
- * Remove support for value `submitted` from enum `Issuing.Card.shipping.status`
1297
- * Add support for new value `platform_default` on enums `Issuing.CardDesign.preference` and `Issuing.CardDesignListParams.preference`
1298
-
1299
795
  ## 13.5.0 - 2023-09-07
1300
796
  * [#1893](https://github.com/stripe/stripe-node/pull/1893) Update generated code
1301
797
  * Add support for new resource `PaymentMethodDomain`
@@ -1307,10 +803,6 @@
1307
803
  * Add support for `features` on `ProductCreateParams`, `ProductUpdateParams`, and `Product`
1308
804
  * Remove support for value `invoiceitem.updated` from enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1309
805
 
1310
- ## 13.5.0-beta.1 - 2023-08-31
1311
- * [#1883](https://github.com/stripe/stripe-node/pull/1883) Update generated code for beta
1312
- * Rename `Quote.listPreviewSubscriptionSchedules` to `Quote.listPreviewSchedules` and `Quote.listPreview
1313
-
1314
806
  ## 13.4.0 - 2023-08-31
1315
807
  * [#1884](https://github.com/stripe/stripe-node/pull/1884) Update generated code
1316
808
  * Add support for new resource `AccountSession`
@@ -1377,37 +869,12 @@
1377
869
  * These fields are not fully operational.
1378
870
  * ⚠️Add support for new value `2023-08-16` on enum `WebhookEndpointCreateParams.api_version`
1379
871
 
1380
- ## 13.0.0-beta.1 - 2023-08-24
1381
- * [#1873](https://github.com/stripe/stripe-node/pull/1873) Update generated code for beta
1382
- * Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
1383
- * Change `Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch`, `FinancialConnections.Session.prefetch`, `Invoice.charge`, `Invoice.customer`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch`, `SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch`, and `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch` to be required
1384
- * Remove support for `applies_to` on `Invoice` and `SubscriptionSchedule`
1385
- * Add support for `cl`, `co`, `id`, `kr`, `mx`, `my`, `sa`, `th`, `tr`, and `vn` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
1386
- * Remove support for `hk` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
1387
-
1388
- ## 12.19.0-beta.1 - 2023-08-10
1389
- * [#1868](https://github.com/stripe/stripe-node/pull/1868) Update generated code for beta
1390
- * Add support for `paypal` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
1391
- * Add support for new value `quote.accept_failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1392
-
1393
872
  ## 12.18.0 - 2023-08-10
1394
873
  * [#1867](https://github.com/stripe/stripe-node/pull/1867) Update generated code
1395
874
  * Add support for new values `incorporated_partnership` and `unincorporated_partnership` on enums `Account.company.structure`, `AccountCreateParams.company.structure`, `AccountUpdateParams.company.structure`, and `TokenCreateParams.account.company.structure`
1396
875
  * Add support for new value `payment_reversal` on enum `BalanceTransaction.type`
1397
876
  * Change `Invoice.subscription_details.metadata` and `Invoice.subscription_details` to be required
1398
877
 
1399
- ## 12.18.0-beta.1 - 2023-08-03
1400
- * [#1861](https://github.com/stripe/stripe-node/pull/1861) Update generated code for beta
1401
- * Add support for `submit_card` test helper method on resource `Issuing.Card`
1402
- * Add support for `address_validation` on `Issuing.Card.shipping` and `Issuing.CardCreateParams.shipping`
1403
- * Add support for `shipping` on `Issuing.CardUpdateParams`
1404
- * Add support for new value `submitted` on enum `Issuing.Card.shipping.status`
1405
- * Change type of `OrderCreateParams.line_items[].product_data.description`, `OrderCreateParams.line_items[].product_data.tax_code`, `OrderCreateParams.shipping_details.phone`, `OrderUpdateParams.description`, `OrderUpdateParams.line_items[].product_data.description`, `OrderUpdateParams.line_items[].product_data.tax_code`, `OrderUpdateParams.shipping_details.phone`, `PaymentMethodConfigurationListParams.application`, and `QuoteUpdateParams.subscription_data_overrides[].description` from `string` to `emptyStringable(string)`
1406
- * Add support for `reason` on `QuoteMarkStaleQuoteParams`
1407
- * Add support for `marked_stale` on `Quote.status_details.stale.last_reason`
1408
- * Change `Tax.FormListParams.payee.type` to be optional
1409
- * [#1864](https://github.com/stripe/stripe-node/pull/1864) Remove developer_message support
1410
-
1411
878
  ## 12.17.0 - 2023-08-03
1412
879
  * [#1863](https://github.com/stripe/stripe-node/pull/1863) Update generated code
1413
880
  * Change many types from `string` to `emptyStringable(string)`
@@ -1416,14 +883,14 @@
1416
883
  * Add support for new values `sepa_debit_fingerprint` and `us_bank_account_fingerprint` on enums `Radar.ValueList.item_type` and `Radar.ValueListCreateParams.item_type`
1417
884
  * [#1866](https://github.com/stripe/stripe-node/pull/1866) Allow monkey patching http / https
1418
885
 
1419
- ## 12.17.0-beta.1 - 2023-07-27
1420
- * Updated stable APIs to the latest version
1421
-
1422
886
  ## 12.16.0 - 2023-07-27
1423
887
  * [#1853](https://github.com/stripe/stripe-node/pull/1853) Update generated code
1424
888
  * Add support for `monthly_estimated_revenue` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
1425
889
  * [#1859](https://github.com/stripe/stripe-node/pull/1859) Revert "import * as http -> import http from 'http'"
1426
890
 
891
+ ## 12.15.0 - 2023-07-27 (DEPRECATED ⚠️ )
892
+ * This version included a breaking change [#1859](https://github.com/stripe/stripe-node/pull/1859) that we should not have released. It has been deprecated on npmjs.org. Please do not use this version.
893
+
1427
894
  ## 12.14.0 - 2023-07-20
1428
895
  * [#1842](https://github.com/stripe/stripe-node/pull/1842) Update generated code
1429
896
  * Add support for new value `ro_tin` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, and `Tax.Transaction.customer_details.tax_ids[].type`
@@ -1434,17 +901,6 @@
1434
901
  * [#1849](https://github.com/stripe/stripe-node/pull/1849) Changelog: fix delimiterless namespaced param types
1435
902
  * [#1848](https://github.com/stripe/stripe-node/pull/1848) Changelog: `CheckoutSessionCreateParams` -> `Checkout.SessionCreateParams`
1436
903
 
1437
- ## 12.14.0-beta.1 - 2023-07-13
1438
- * [#1840](https://github.com/stripe/stripe-node/pull/1840) Update generated code for beta
1439
- Release specs are identical.
1440
- * [#1837](https://github.com/stripe/stripe-node/pull/1837) Update generated code for beta
1441
- * Add support for new resource `PaymentMethodConfiguration`
1442
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
1443
- * Add support for `payment_method_configuration` on `PaymentIntentCreateParams` and `PaymentIntentUpdateParams`
1444
- * Add support for `payment_method_configuration_details` on `PaymentIntent`
1445
- * Rename `Tax.SettingRetrieveParam` to `Tax.SettingsRetrieveParam` and `Tax.SettingUpdateParams` to `Tax.SettingsUpdateParams` (parity with main release)
1446
- * [#1832](https://github.com/stripe/stripe-node/pull/1832) Update generated code for beta
1447
-
1448
904
  ## 12.13.0 - 2023-07-13
1449
905
  * [#1838](https://github.com/stripe/stripe-node/pull/1838) Update generated code
1450
906
  * Add support for new resource `Tax.Settings`
@@ -1461,11 +917,6 @@
1461
917
  * Add support for `numeric` and `text` on `PaymentLink.custom_fields[]`
1462
918
  * Add support for `automatic_tax` on `SubscriptionListParams`
1463
919
 
1464
- ## 12.12.0-beta.1 - 2023-06-29
1465
- * [#1824](https://github.com/stripe/stripe-node/pull/1824) Update generated code for beta
1466
- * Add support for `metadata` on `Invoice.subscription_details`
1467
- * Change `Invoice.subscription_details.pause_collection` to be optional
1468
-
1469
920
  ## 12.11.0 - 2023-06-29
1470
921
  * [#1823](https://github.com/stripe/stripe-node/pull/1823) Update generated code
1471
922
  * Add support for new value `application_fees_not_allowed` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
@@ -1473,26 +924,16 @@
1473
924
  * Add support for `effective_at` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
1474
925
  * [#1828](https://github.com/stripe/stripe-node/pull/1828) Better CryptoProvider error
1475
926
 
1476
- ## 12.11.0-beta.1 - 2023-06-22
1477
- * [#1821](https://github.com/stripe/stripe-node/pull/1821) Update generated code for beta
1478
- * Add support for new resource `CustomerSession`
1479
- * Add support for `create` method on resource `CustomerSession`
1480
- * Change type of `Tax.Registration.country_options.us.type` and `TaxRegistrationCreateParams.country_options.us.type` from `literal('state_sales_tax')` to `enum('local_lease_tax'|'state_sales_tax')`
1481
-
1482
927
  ## 12.10.0 - 2023-06-22
1483
928
  * [#1820](https://github.com/stripe/stripe-node/pull/1820) Update generated code
1484
929
  * Add support for `on_behalf_of` on `Mandate`
930
+ * [#1817](https://github.com/stripe/stripe-node/pull/1817) Update README.md
931
+ * [#1819](https://github.com/stripe/stripe-node/pull/1819) Update generated code
932
+ * Release specs are identical.
1485
933
  * [#1813](https://github.com/stripe/stripe-node/pull/1813) Update generated code
1486
934
  * Change type of `Checkout.Session.success_url` from `string` to `string | null`
1487
-
1488
- ## 12.10.0-beta.2 - 2023-06-15
1489
- * [#1818](https://github.com/stripe/stripe-node/pull/1818) Update generated code for beta
1490
- * Add support for `payment_details` on `ChargeCaptureParams`, `ChargeUpdateParams`, `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
1491
- * Add support for `statement_details` on `PaymentIntent.payment_method_options.card`, `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card`, and `PaymentIntentUpdateParams.payment_method_options.card`
1492
- * [#1814](https://github.com/stripe/stripe-node/pull/1814) Update generated code for beta
1493
-
1494
- ## 12.10.0-beta.1 - 2023-06-08
1495
- * [#1811](https://github.com/stripe/stripe-node/pull/1811) Update generated code for beta
935
+ * Change type of `FileCreateParams.file` from `string` to `file`
936
+ * [#1815](https://github.com/stripe/stripe-node/pull/1815) Generate FileCreateParams
1496
937
 
1497
938
  ## 12.9.0 - 2023-06-08
1498
939
  * [#1809](https://github.com/stripe/stripe-node/pull/1809) Update generated code
@@ -1500,20 +941,6 @@
1500
941
  * Add support for `taxability_reason` on `Tax.Calculation.tax_breakdown[]`
1501
942
  * [#1812](https://github.com/stripe/stripe-node/pull/1812) More helpful error when signing secrets contain whitespace
1502
943
 
1503
- ## 12.9.0-beta.1 - 2023-06-01
1504
- * [#1801](https://github.com/stripe/stripe-node/pull/1801) Update generated code for beta
1505
- * Add support for `subscription_details` on `Invoice`
1506
- * Add support for new values `aba` and `swift` on enums `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[]`, and `OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`
1507
- * Add support for new value `us_bank_transfer` on enums `Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type`, `OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type`, and `OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type`
1508
- * Add support for `set_pause_collection` on `QuoteCreateParams.lines[]`, `QuoteLine`, `QuoteUpdateParams.lines[]`, and `SubscriptionScheduleAmendParams.amendments[]`
1509
- * Add support for new value `pause_collection_start` on enums `Quote.subscription_data.bill_on_acceptance.bill_from.type`, `Quote.subscription_data_overrides[].bill_on_acceptance.bill_from.type`, `QuoteCreateParams.subscription_data.bill_on_acceptance.bill_from.type`, `QuoteCreateParams.subscription_data_overrides[].bill_on_acceptance.bill_from.type`, `QuoteUpdateParams.subscription_data.bill_on_acceptance.bill_from.type`, and `QuoteUpdateParams.subscription_data_overrides[].bill_on_acceptance.bill_from.type`
1510
- * Add support for `pause_collection` on `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, and `SubscriptionScheduleUpdateParams.phases[]`
1511
- * Add support for `local_amusement_tax` on `Tax.Registration.country_options.us` and `TaxRegistrationCreateParams.country_options.us`
1512
- * Remove support for `locations` on `Tax.Settings` and `TaxSettingUpdateParams`
1513
- * Add support for new values `customer.subscription.collection_paused` and `customer.subscription.collection_resumed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1514
- * [#1775](https://github.com/stripe/stripe-node/pull/1775) Introduce stripe.rawRequest as a canonical way to request APIs without definitions
1515
- * Please refer to the [Custom Requests README section](https://github.com/stripe/stripe-node/tree/beta#custom-requests) for usage instructions.
1516
-
1517
944
  ## 12.8.0 - 2023-06-01
1518
945
  * [#1799](https://github.com/stripe/stripe-node/pull/1799) Update generated code
1519
946
  * Add support for `numeric` and `text` on `Checkout.SessionCreateParams.custom_fields[]`, `PaymentLinkCreateParams.custom_fields[]`, and `PaymentLinkUpdateParams.custom_fields[]`
@@ -1524,9 +951,6 @@
1524
951
  * Add support for `description`, `iin`, and `issuer` on `PaymentMethod.card_present` and `PaymentMethod.interac_present`
1525
952
  * Add support for `payer_email` on `PaymentMethod.paypal`
1526
953
 
1527
- ## 12.8.0-beta.1 - 2023-05-25
1528
- * [#1795](https://github.com/stripe/stripe-node/pull/1795) Update generated code for beta
1529
-
1530
954
  ## 12.7.0 - 2023-05-25
1531
955
  * [#1797](https://github.com/stripe/stripe-node/pull/1797) Update generated code
1532
956
  * Add support for `zip_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -1537,13 +961,6 @@
1537
961
  * Add support for new value `zip` on enums `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
1538
962
  * Add support for new value `zip` on enum `PaymentMethod.type`
1539
963
 
1540
- ## 12.7.0-beta.1 - 2023-05-19
1541
- * [#1788](https://github.com/stripe/stripe-node/pull/1788) Update generated code for beta
1542
- * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
1543
- * Add support for `next_refresh_available_at` on `FinancialConnections.Account.balance_refresh`, `FinancialConnections.Account.inferred_balances_refresh`, `FinancialConnections.Account.ownership_refresh`, and `FinancialConnections.Account.transaction_refresh`
1544
- * Add support for `status_details` and `status` on `Tax.Settings`
1545
- * Add support for new value `tax.settings.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1546
-
1547
964
  ## 12.6.0 - 2023-05-19
1548
965
  * [#1787](https://github.com/stripe/stripe-node/pull/1787) Update generated code
1549
966
  * Add support for `subscription_update_confirm` and `subscription_update` on `BillingPortal.Session.flow` and `BillingPortal.SessionCreateParams.flow_data`
@@ -1552,18 +969,6 @@
1552
969
  * Add support for `buyer_id` and `cashtag` on `Charge.payment_method_details.cashapp` and `PaymentMethod.cashapp`
1553
970
  * Add support for new values `amusement_tax` and `communications_tax` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
1554
971
 
1555
- ## 12.6.0-beta.1 - 2023-05-11
1556
- * [#1786](https://github.com/stripe/stripe-node/pull/1786) Update generated code for beta
1557
- * Add support for `payer_email`, `payer_name`, and `seller_protection` on `Charge.payment_method_details.paypal`
1558
- * Change `Charge.payment_method_details.paypal.payer_id`, `Charge.payment_method_details.paypal.verified_email`, `Charge.payment_method_details.paypal.verified_name`, `SetupIntent.payment_method_options.paypal.currency`, and `Tax.Settings.locations` to be optional
1559
- * Add support for `capture_method`, `preferred_locale`, `reference_id`, and `setup_future_usage` on `CheckoutSessionCreateParams.payment_method_options.paypal`
1560
- * Add support for `reference` on `CheckoutSessionCreateParams.payment_method_options.paypal`, `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`
1561
- * Add support for `risk_correlation_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`, `OrderCreateParams.payment.settings.payment_method_options.paypal`, `OrderUpdateParams.payment.settings.payment_method_options.paypal`, `PaymentIntentConfirmParams.payment_method_options.paypal`, `PaymentIntentCreateParams.payment_method_options.paypal`, and `PaymentIntentUpdateParams.payment_method_options.paypal`
1562
- * Remove support for `billing_agreement_id` and `currency` on `CheckoutSessionCreateParams.payment_method_options.paypal`
1563
- * Add support for `fingerprint`, `payer_id`, and `verified_email` on `Mandate.payment_method_details.paypal` and `PaymentMethod.paypal`
1564
- * Add support for `taxability_reason` and `taxable_amount` on `Order.shipping_cost.taxes[]`, `Order.total_details.breakdown.taxes[]`, and `QuotePhase.total_details.breakdown.taxes[]`
1565
- * Add support for `head_office` on `Tax.Settings` and `TaxSettingUpdateParams`
1566
-
1567
972
  ## 12.5.0 - 2023-05-11
1568
973
  * [#1785](https://github.com/stripe/stripe-node/pull/1785) Update generated code
1569
974
  * Add support for `paypal` on `Charge.payment_method_details`, `Checkout.SessionCreateParams.payment_method_options`, `Mandate.payment_method_details`, `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`, `SetupAttempt.payment_method_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentCreateParams.payment_method_options`, `SetupIntentUpdateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_options`
@@ -1581,34 +986,12 @@
1581
986
  * Add support for `effective_percentage` on `TaxRate`
1582
987
  * Add support for `gb_bank_transfer` and `jp_bank_transfer` on `CustomerCashBalanceTransaction.Funded.BankTransfer`
1583
988
 
1584
- ## 12.5.0-beta.1 - 2023-05-04
1585
- * [#1773](https://github.com/stripe/stripe-node/pull/1773) Update generated code for beta
1586
- * Updated stable APIs to the latest version
1587
-
1588
989
  ## 12.4.0 - 2023-05-04
1589
990
  * [#1774](https://github.com/stripe/stripe-node/pull/1774) Update generated code
1590
991
  * Add support for `link` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
1591
992
  * Add support for `brand`, `country`, `description`, `exp_month`, `exp_year`, `fingerprint`, `funding`, `iin`, `issuer`, `last4`, `network`, and `wallet` on `SetupAttempt.payment_method_details.card`
1592
993
  * [#1782](https://github.com/stripe/stripe-node/pull/1782) Let user supply a timestamp when verifying webhooks
1593
994
 
1594
- ## 12.4.0-beta.1 - 2023-04-27
1595
- * [#1769](https://github.com/stripe/stripe-node/pull/1769) Update generated code for beta
1596
- * Add support for `billing_cycle_anchor` and `proration_behavior` on `CheckoutSessionCreateParams.subscription_data`
1597
- * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
1598
- * Add support for `metadata` on `PaymentIntentCaptureParams`
1599
- * Add support for `checks` on `SetupAttempt.payment_method_details.card`
1600
- * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
1601
- * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
1602
-
1603
- ## 12.3.0 - 2023-04-27
1604
- * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
1605
- * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
1606
- * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
1607
- * Add support for `metadata` on `PaymentIntentCaptureParams`
1608
- * Add support for `checks` on `SetupAttempt.payment_method_details.card`
1609
- * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
1610
- * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
1611
-
1612
995
  ## 12.3.0 - 2023-04-27
1613
996
  * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
1614
997
  * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
@@ -1617,12 +1000,6 @@
1617
1000
  * Add support for `checks` on `SetupAttempt.payment_method_details.card`
1618
1001
  * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
1619
1002
 
1620
- ## 12.3.0-beta.1 - 2023-04-20
1621
- * [#1760](https://github.com/stripe/stripe-node/pull/1760) Update generated code for beta
1622
- * Add support for `zip` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
1623
- * Add support for `country_options` on `Tax.Registration` and `TaxRegistrationCreateParams`
1624
- * Remove support for `state` and `type` on `Tax.Registration` and `TaxRegistrationCreateParams`
1625
-
1626
1003
  ## 12.2.0 - 2023-04-20
1627
1004
  * [#1759](https://github.com/stripe/stripe-node/pull/1759) Update generated code
1628
1005
  * Change `Checkout.Session.currency_conversion` to be required
@@ -1632,16 +1009,6 @@
1632
1009
  * [#1762](https://github.com/stripe/stripe-node/pull/1762) Add Deno webhook signing example
1633
1010
  * [#1761](https://github.com/stripe/stripe-node/pull/1761) Add Deno usage instructions in README
1634
1011
 
1635
- ## 12.2.0-beta.1 - 2023-04-13
1636
- * [#1751](https://github.com/stripe/stripe-node/pull/1751) Update generated code for beta
1637
- * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
1638
- * Add support for `paypal_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
1639
- * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
1640
- * Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal.Reader.action`
1641
- * Add support for `stripe_account` on `Terminal.Reader.action.process_payment_intent` and `Terminal.Reader.action.refund_payment`
1642
- * Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `Terminal.Reader.action.type`
1643
- * Add support for new value `terminal.reader.action_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1644
-
1645
1012
  ## 12.1.1 - 2023-04-13
1646
1013
  No product changes.
1647
1014
 
@@ -1650,16 +1017,6 @@ No product changes.
1650
1017
  * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
1651
1018
  * [#1749](https://github.com/stripe/stripe-node/pull/1749) Type extend and ResourceNamespace better
1652
1019
 
1653
- ## 12.1.0-beta.1 - 2023-04-06
1654
- * [#1737](https://github.com/stripe/stripe-node/pull/1737) Update generated code for beta
1655
- * Add support for `treasury_transaction` on `CapitalFinancingTransactionListParams`
1656
- * Add support for `transaction` on `Capital.FinancingTransaction.details`
1657
- * Add support for new value `link` on enums `Charge.payment_method_details.card.wallet.type` and `PaymentMethod.card.wallet.type`
1658
- * Change `IssuingCardholderCreateParams.type` to be optional
1659
- * Add support for `country` on `PaymentMethod.link`
1660
- * Add support for `status_details` on `PaymentMethod.us_bank_account`
1661
- * [#1750](https://github.com/stripe/stripe-node/pull/1750) Merge master into beta
1662
-
1663
1020
  ## 12.0.0 - 2023-04-06
1664
1021
  * [#1743](https://github.com/stripe/stripe-node/pull/1743) Remove `Stripe.default` and `Stripe.Stripe`
1665
1022
  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.
@@ -1702,11 +1059,6 @@ This was added to maintain backwards compatibility during the transition of stri
1702
1059
  * Add support for `status_details` on `PaymentMethod.us_bank_account`
1703
1060
  * [#1747](https://github.com/stripe/stripe-node/pull/1747) (Typescript) remove deprecated properties
1704
1061
 
1705
- ## 11.18.0-beta.1 - 2023-03-30
1706
- * [#1735](https://github.com/stripe/stripe-node/pull/1735) Update generated code
1707
- * Add support for new value `ioss` on enums `Tax.Registration.type` and `TaxRegistrationCreateParams.type`
1708
- * Change `TerminalReaderCollectInputsParams.inputs[].custom_text.description` to be optional
1709
-
1710
1062
  ## 11.17.0 - 2023-03-30
1711
1063
  * [#1734](https://github.com/stripe/stripe-node/pull/1734) Update generated code
1712
1064
  * Remove support for `create` method on resource `Tax.Transaction`
@@ -1716,21 +1068,6 @@ This was added to maintain backwards compatibility during the transition of stri
1716
1068
  * This is not a breaking change, as `deleted` was never returned or accepted as input.
1717
1069
  * Add support for `amount_tip` on `Terminal.ReaderPresentPaymentMethodParams.testHelpers`
1718
1070
 
1719
- ## 11.17.0-beta.1 - 2023-03-23
1720
- * [#1724](https://github.com/stripe/stripe-node/pull/1724) Update generated code for beta (new)
1721
- * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
1722
- * Add support for `collect_inputs` method on resource `Terminal.Reader`
1723
- * Add support for `financing_offer` on `Capital.FinancingSummary`
1724
- * Add support for new value `link` on enum `CheckoutSessionCreateParams.payment_method_types[]`
1725
- * Add support for `fx_rate` on `Checkout.Session.currency_conversion`
1726
- * Add support for new value `link` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
1727
- * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
1728
- * Remove support for `preview` on `TaxCalculationCreateParams`
1729
- * Change type of `Tax.Calculation.line_items[]` from `LineItem` to `Tax.CalculationLineItem`
1730
- * Change type of `Tax.Transaction.line_items[]` from `LineItem` to `Tax.TransactionLineItem`
1731
- * Add support for `collect_inputs` on `Terminal.Reader.action`
1732
- * Add support for new value `collect_inputs` on enum `Terminal.Reader.action.type`
1733
-
1734
1071
  ## 11.16.0 - 2023-03-23
1735
1072
  * [#1730](https://github.com/stripe/stripe-node/pull/1730) Update generated code
1736
1073
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
@@ -1742,19 +1079,6 @@ This was added to maintain backwards compatibility during the transition of stri
1742
1079
  * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
1743
1080
  * [#1726](https://github.com/stripe/stripe-node/pull/1726) Add Deno entry point
1744
1081
 
1745
- ## 11.16.0-beta.1 - 2023-03-17
1746
- * [#1713](https://github.com/stripe/stripe-node/pull/1713) API Updates
1747
- * Add support for `create_from_calculation` method on resource `Tax.Transaction`
1748
- * Change type of `Invoice.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
1749
- * 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`
1750
- * 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`
1751
- * 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`
1752
- * 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
1753
- * Remove support for `applies_to` on `QuotePreviewInvoiceLinesParams`
1754
- * Add support for `shipping_cost` on `Tax.Calculation`, `Tax.Transaction`, `TaxCalculationCreateParams`, and `TaxTransactionCreateReversalParams`
1755
- * Add support for `tax_breakdown` on `Tax.Calculation`
1756
- * Remove support for `tax_summary` on `Tax.Calculation`
1757
-
1758
1082
  ## 11.15.0 - 2023-03-16
1759
1083
  * [#1714](https://github.com/stripe/stripe-node/pull/1714) API Updates
1760
1084
  * Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -1783,16 +1107,6 @@ This was added to maintain backwards compatibility during the transition of stri
1783
1107
  * Add support for new value `cashapp` on enum `PaymentMethod.type`
1784
1108
  * Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1785
1109
 
1786
- ## 11.15.0-beta.1 - 2023-03-09
1787
- * [#1705](https://github.com/stripe/stripe-node/pull/1705) API Updates for beta branch
1788
- * Updated stable APIs to the latest version
1789
- * Remove support for `list_transactions` method on resource `Tax.Transaction`
1790
- * Add support for `amendment_start` and `timestamp` on `SubscriptionScheduleAmendParams.prebilling[].bill_from`
1791
- * Change type of `SubscriptionScheduleAmendParams.prebilling[].bill_from.type` from `literal('now')` to `enum('amendment_start'|'now'|'timestamp')`
1792
- * Change type of `SubscriptionSchedule.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
1793
- * Add support for new value `lease_tax` on enum `Tax.Calculation.tax_summary[].tax_rate_details.tax_type`
1794
- * Add support for `tax_behavior` on `Tax.Settings.defaults` and `TaxSettingUpdateParams.defaults`
1795
-
1796
1110
  ## 11.14.0 - 2023-03-09
1797
1111
  * [#1703](https://github.com/stripe/stripe-node/pull/1703) API Updates
1798
1112
  * Add support for `card_issuing` on `Issuing.CardholderCreateParams.individual` and `Issuing.CardholderUpdateParams.individual`
@@ -1803,25 +1117,6 @@ This was added to maintain backwards compatibility during the transition of stri
1803
1117
  * [#1695](https://github.com/stripe/stripe-node/pull/1695) Migrate generated files to ES module syntax
1804
1118
  * [#1699](https://github.com/stripe/stripe-node/pull/1699) Remove extra test directory
1805
1119
 
1806
- ## 11.14.0-beta.2 - 2023-03-03
1807
- * [#1698](https://github.com/stripe/stripe-node/pull/1698) API Updates for beta branch
1808
- * Updated stable APIs to the latest version
1809
- * Add support for `update_behavior` on `Subscription.prebilling`, `SubscriptionCreateParams.prebilling`, `SubscriptionSchedule.prebilling`, `SubscriptionScheduleCreateParams.prebilling`, `SubscriptionScheduleUpdateParams.prebilling`, and `SubscriptionUpdateParams.prebilling`
1810
- * Add support for `prebilling` on `SubscriptionScheduleAmendParams`
1811
- * Add support for `taxability_override` on `Tax.Calculation.customer_details`, `Tax.Transaction.customer_details`, and `TaxCalculationCreateParams.customer_details`
1812
- * Add support for `tax_summary` on `Tax.Calculation`
1813
- * Remove support for `tax_breakdown` on `Tax.Calculation`
1814
-
1815
- ## 11.14.0-beta.1 - 2023-03-02
1816
- * [#1697](https://github.com/stripe/stripe-node/pull/1697) API Updates for beta branch
1817
- * Updated stable APIs to the latest version
1818
- * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
1819
- * Add support for `list` and `retrieve` methods on resource `CardBundle`
1820
- * Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
1821
- * Remove support for `controller` on `AccountUpdateParams`
1822
- * Add support for `card_design` on `Issuing.Card` and `IssuingCardCreateParams`
1823
- * 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[]`
1824
-
1825
1120
  ## 11.13.0 - 2023-03-02
1826
1121
  * [#1696](https://github.com/stripe/stripe-node/pull/1696) API Updates
1827
1122
  * 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.
@@ -1830,14 +1125,6 @@ This was added to maintain backwards compatibility during the transition of stri
1830
1125
 
1831
1126
  * [#1689](https://github.com/stripe/stripe-node/pull/1689) Update v11.8.0 changelog with breaking change disclaimer
1832
1127
 
1833
- ## 11.13.0-beta.1 - 2023-02-23
1834
- * [#1690](https://github.com/stripe/stripe-node/pull/1690) API Updates for beta branch
1835
- * Updated stable APIs to the latest version
1836
- * 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`
1837
- * Add support for new value `igst` on enum `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`
1838
- * Change `TaxTransactionCreateParams.reference` to be required
1839
- * 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[]`
1840
-
1841
1128
  ## 11.12.0 - 2023-02-23
1842
1129
  * [#1688](https://github.com/stripe/stripe-node/pull/1688) API Updates
1843
1130
  * 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`
@@ -1845,15 +1132,6 @@ This was added to maintain backwards compatibility during the transition of stri
1845
1132
  * Add support for new value `igst` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
1846
1133
  * [#1687](https://github.com/stripe/stripe-node/pull/1687) Convert TypeScript files to use ES modules
1847
1134
 
1848
- ## 11.12.0-beta.1 - 2023-02-16
1849
- * [#1686](https://github.com/stripe/stripe-node/pull/1686) API Updates for beta branch
1850
- * Updated stable APIs to the latest version
1851
- * Change type of `Quote.status_details.canceled` from `QuotesResourceStatusDetailsCanceledStatusDetails | null` to `QuotesResourceStatusDetailsCanceledStatusDetails`
1852
- * Change type of `Quote.status_details.stale` from `QuotesResourceStatusDetailsStaleStatusDetails | null` to `QuotesResourceStatusDetailsStaleStatusDetails`
1853
- * Change `Quote.status_details.canceled` and `Quote.status_details.stale` to be optional
1854
- * Remove support for `reference` on `Tax.Calculation` and `TaxCalculationCreateParams`
1855
- * Add support for `reference` on `TaxTransactionCreateParams`
1856
-
1857
1135
  ## 11.11.0 - 2023-02-16
1858
1136
  * [#1681](https://github.com/stripe/stripe-node/pull/1681) API Updates
1859
1137
  * Add support for `refund_payment` method on resource `Terminal.Reader`
@@ -1868,32 +1146,9 @@ This was added to maintain backwards compatibility during the transition of stri
1868
1146
  * [#1685](https://github.com/stripe/stripe-node/pull/1685) Add more webhook parsing checks
1869
1147
  * [#1684](https://github.com/stripe/stripe-node/pull/1684) Add infrastructure for mocked tests
1870
1148
 
1871
- ## 11.11.0-beta.1 - 2023-02-13
1872
- * [#1676](https://github.com/stripe/stripe-node/pull/1676) API Updates for beta branch
1873
- * Updated stable APIs to the latest version
1874
- * Add support for `currency_conversion` on `Checkout.Session`
1875
- * Add support for `limits` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
1876
- * Remove support for `enabled` on `FinancialConnectionsSessionCreateParams.manual_entry`
1877
-
1878
1149
  ## 11.10.0 - 2023-02-09
1879
1150
  * [#1679](https://github.com/stripe/stripe-node/pull/1679) Enable library to work in worker environments without extra configuration.
1880
1151
 
1881
- ## 11.10.0-beta.1 - 2023-02-02
1882
- * [#1671](https://github.com/stripe/stripe-node/pull/1671) API Updates for beta branch
1883
- * Updated stable APIs to the latest version
1884
- * Add support for new resource `FinancialConnections.Transaction`
1885
- * Add support for `list` method on resource `Transaction`
1886
- * Add support for `prefetch` on `.payment_method_options.us_bank_account.financial_connections` across several APIs
1887
- * 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
1888
- * Add support for new values `inferred_balances` and `transactions` on enum `FinancialConnectionsAccountRefreshParams.features[]`
1889
- * Add support for `inferred_balances_refresh`, `subscriptions`, and `transaction_refresh` on `FinancialConnections.Account`
1890
- * Add support for `manual_entry` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
1891
- * Add support for `status_details` and `status` on `FinancialConnections.Session`
1892
- * 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[]`
1893
- * Add support for `account_number` on `PaymentMethod.us_bank_account`
1894
- * Remove support for `id` on `QuoteCreateParams.lines[].starts_at.line_ends_at`
1895
- * 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[]`
1896
-
1897
1152
  ## 11.9.1 - 2023-02-03
1898
1153
  * [#1672](https://github.com/stripe/stripe-node/pull/1672) Update main entrypoint on package.json
1899
1154
 
@@ -1919,23 +1174,12 @@ This was added to maintain backwards compatibility during the transition of stri
1919
1174
  * [#1668](https://github.com/stripe/stripe-node/pull/1668) Use EventTarget in worker / browser runtimes
1920
1175
  * [#1667](https://github.com/stripe/stripe-node/pull/1667) fix: added support for TypeScript "NodeNext" module resolution
1921
1176
 
1922
- ## 11.9.0-beta.1 - 2023-01-26
1923
- * [#1666](https://github.com/stripe/stripe-node/pull/1666) API Updates for beta branch
1924
- * Updated stable APIs to the latest version
1925
- * Add support for `billing_agreement_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`
1926
- * Add support for `list_transactions` method on resource `Tax.Transaction`
1927
- * Change type of `QuoteUpdateParams.subscription_data_overrides` from `array(create_specs)` to `emptyStringable(array(update_specs))`
1928
-
1929
1177
  ## 11.8.0 - 2023-01-26
1930
1178
  * [#1665](https://github.com/stripe/stripe-node/pull/1665) API Updates
1931
1179
  * 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`
1932
1180
  * 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`
1933
1181
  * [#1660](https://github.com/stripe/stripe-node/pull/1660) Introduce separate entry point for worker environments
1934
-
1935
- ## 11.8.0-beta.1 - 2023-01-19
1936
- * [#1662](https://github.com/stripe/stripe-node/pull/1662) API Updates for beta branch
1937
- * Updated stable APIs to the latest version
1938
- * Add support for `Tax.Settings` resource.
1182
+ * 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.
1939
1183
 
1940
1184
  ## 11.7.0 - 2023-01-19
1941
1185
  * [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
@@ -1943,39 +1187,10 @@ This was added to maintain backwards compatibility during the transition of stri
1943
1187
  * Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1944
1188
  * [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3
1945
1189
 
1946
- ## 11.7.0-beta.2 - 2023-01-12
1947
- * [#1653](https://github.com/stripe/stripe-node/pull/1653) API Updates for beta branch
1948
- * Updated stable APIs to the latest version
1949
- * Add support for new resource `Tax.Registration`
1950
- * Add support for `create`, `list`, and `update` methods on resource `Registration`
1951
- * Add support for `controller` on `AccountCreateParams` and `AccountUpdateParams`
1952
- * Add support for `application` and `dashboard` on `Account.controller`
1953
- * Change type of `Quote.subscription_data_overrides[].proration_behavior` from `enum('always_invoice'|'create_prorations'|'none')` to `enum('always_invoice'|'create_prorations'|'none') | null`
1954
- * Remove support for `timestamp` on `QuoteLine.actions[].add_discount.discount_end`
1955
- * Change type of `QuoteLine.actions[].add_discount.discount_end.type` from `literal('timestamp')` to `literal('line_ends_at')`
1956
- * 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[]`
1957
- * Change `QuoteLine.actions[].add_discount.index` to be required
1958
- * Add support for new values `quote.accepting`, `quote.reestimated`, and `quote.stale` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1959
-
1960
- * Change `quote.draft_quote` implementation from hitting `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
1961
-
1962
- ## 11.7.0-beta.1 - 2023-01-05
1963
- * [#1648](https://github.com/stripe/stripe-node/pull/1648) API Updates for beta branch
1964
- * Updated stable APIs to the latest version
1965
- * Add support for `mark_stale_quote` method on resource `Quote`
1966
- * 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`
1967
- * 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`
1968
- * Add support for `metadata` on `Terminal.Reader.action.refund_payment` and `TerminalReaderRefundPaymentParams`
1969
-
1970
1190
  ## 11.6.0 - 2023-01-05
1971
1191
  * [#1646](https://github.com/stripe/stripe-node/pull/1646) API Updates
1972
1192
  * Add support for `card_issuing` on `Issuing.Cardholder.individual`
1973
1193
 
1974
- ## 11.6.0-beta.1 - 2022-12-22
1975
- * [#1643](https://github.com/stripe/stripe-node/pull/1643) API Updates for beta branch
1976
- * Updated stable APIs to the latest version
1977
- * Move `stripe.taxCalculations` to `stripe.tax.calculations` and `stripe.taxTransactions` to `stripe.tax.transactions`.
1978
-
1979
1194
  ## 11.5.0 - 2022-12-22
1980
1195
  * [#1642](https://github.com/stripe/stripe-node/pull/1642) API Updates
1981
1196
  * 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`
@@ -1983,13 +1198,6 @@ This was added to maintain backwards compatibility during the transition of stri
1983
1198
  * Change `Checkout.SessionCreateParams.cancel_url` to be optional
1984
1199
  * Change type of `Checkout.Session.cancel_url` from `string` to `string | null`
1985
1200
 
1986
- ## 11.5.0-beta.1 - 2022-12-15
1987
- * [#1640](https://github.com/stripe/stripe-node/pull/1640) API Updates for beta branch
1988
- * Updated stable APIs to the latest version
1989
- * Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction`
1990
- * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
1991
- * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
1992
-
1993
1201
  ## 11.4.0 - 2022-12-15
1994
1202
  * [#1639](https://github.com/stripe/stripe-node/pull/1639) API Updates
1995
1203
  * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
@@ -1999,12 +1207,6 @@ This was added to maintain backwards compatibility during the transition of stri
1999
1207
  * [#1634](https://github.com/stripe/stripe-node/pull/1634) API Updates
2000
1208
  * Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` to be optional
2001
1209
 
2002
- ## 11.3.0-beta.1 - 2022-12-08
2003
- * [#1635](https://github.com/stripe/stripe-node/pull/1635) API Updates for beta branch
2004
- * Updated stable APIs to the latest version
2005
- * [#1633](https://github.com/stripe/stripe-node/pull/1633) API Updates for beta branch
2006
- * Updated stable APIs to the latest version
2007
-
2008
1210
  ## 11.2.0 - 2022-12-06
2009
1211
  * [#1632](https://github.com/stripe/stripe-node/pull/1632) API Updates
2010
1212
  * Add support for `flow_data` on `BillingPortal.SessionCreateParams`
@@ -2028,6 +1230,7 @@ This was added to maintain backwards compatibility during the transition of stri
2028
1230
  * Add support for `custom_text` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
2029
1231
  * Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code`
2030
1232
 
1233
+
2031
1234
  ## 11.0.0 - 2022-11-16
2032
1235
 
2033
1236
  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
@@ -2040,11 +1243,62 @@ This release includes breaking changes resulting from moving to use the new API
2040
1243
  * [#1615](https://github.com/stripe/stripe-node/pull/1615) API Updates
2041
1244
  * ⚠️ Remove support for `tos_shown_and_accepted` on `Checkout.SessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked.
2042
1245
 
2043
- ## 10.18.0-beta.1 - 2022-11-10
2044
- * [#1616](https://github.com/stripe/stripe-node/pull/1616) API Updates for beta branch
2045
- * Updated stable APIs to the latest version
2046
- * Add `discount_end` to `Discount`.
2047
- * Add `url` to `MerchantData`.
1246
+ ### ⚠️ Changed
1247
+ * Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
1248
+ * 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)
1249
+
1250
+ ### ⚠️ Removed
1251
+ * Remove `Orders` resource. (#1580)
1252
+ * Remove `SKU` resource (#1583)
1253
+ * Remove deprecated `Checkout.SessionCreateParams.subscription_data.items`. (#1580)
1254
+ * Remove deprecated configuration setter methods (`setHost`, `setProtocol`, `setPort`, `setApiVersion`, `setApiKey`, `setTimeout`, `setAppInfo`, `setHttpAgent`, `setMaxNetworkRetries`, and `setTelemetryEnabled`). (#1597)
1255
+
1256
+ Use the config object to set these options instead, for example:
1257
+ ```typescript
1258
+ const stripe = Stripe('sk_test_...', {
1259
+ apiVersion: '2019-08-08',
1260
+ maxNetworkRetries: 1,
1261
+ httpAgent: new ProxyAgent(process.env.http_proxy),
1262
+ timeout: 1000,
1263
+ host: 'api.example.com',
1264
+ port: 123,
1265
+ telemetry: true,
1266
+ });
1267
+ ```
1268
+ * Remove deprecated basic method definitions. (#1600)
1269
+ Use basic methods defined on the resource instead.
1270
+ ```typescript
1271
+ // Before
1272
+ basicMethods: true
1273
+
1274
+ // After
1275
+ create: stripeMethod({
1276
+ method: 'POST',
1277
+ fullPath: '/v1/resource',
1278
+ }),
1279
+ list: stripeMethod({
1280
+ method: 'GET',
1281
+ methodType: 'list',
1282
+ fullPath: '/v1/resource',
1283
+ }),
1284
+ retrieve: stripeMethod({
1285
+ method: 'GET',
1286
+ fullPath: '/v1/resource/{id}',
1287
+ }),
1288
+ update: stripeMethod({
1289
+ method: 'POST',
1290
+ fullPath: '/v1/resource/{id}',
1291
+ }),
1292
+ // Avoid 'delete' keyword in JS
1293
+ del: stripeMethod({
1294
+ method: 'DELETE',
1295
+ fullPath: '/v1/resource/{id}',
1296
+ }),
1297
+ ```
1298
+ * 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)
1299
+ * Remove `charges` field on `PaymentIntent` and replace it with `latest_charge`. (#1614 )
1300
+ * Remove deprecated `amount` field on `Checkout.Session.LineItem`. (#1614 )
1301
+ * Remove support for `tos_shown_and_accepted` on `Checkout.Session.PaymentMethodOptions.Paynow`. (#1614 )
2048
1302
 
2049
1303
  ## 10.17.0 - 2022-11-08
2050
1304
  * [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates
@@ -2058,22 +1312,6 @@ This release includes breaking changes resulting from moving to use the new API
2058
1312
  * Add support for `on_behalf_of` on `Checkout.SessionCreateParams.subscription_data`, `SubscriptionCreateParams`, `SubscriptionSchedule.default_settings`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.default_settings`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.default_settings`, `SubscriptionScheduleUpdateParams.phases[]`, `SubscriptionUpdateParams`, and `Subscription`
2059
1313
  * Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]`
2060
1314
 
2061
- ## 10.16.0-beta.2 - 2022-11-02
2062
- * [#1598](https://github.com/stripe/stripe-node/pull/1598) API Updates for beta branch
2063
- * Updated beta APIs to the latest stable version
2064
- * Add support for `cashappPayments` and `zipPayments` on `Account`.
2065
- * Add support for `cashapp` and `zip` on `Charge`, `PaymentMethod`.
2066
- * Add support for `trialSettings` on `SubscriptionSchedule`.
2067
-
2068
- ## 10.16.0-beta.1 - 2022-10-21
2069
- * [#1589](https://github.com/stripe/stripe-node/pull/1589) API Updates for beta branch
2070
- * Updated stable APIs to the latest version
2071
- * Add support for new value `revoked` on enum `CapitalFinancingOfferListParams.status`
2072
- * Add support for `paypal` on `Charge.payment_method_details` and `Source`
2073
- * Add support for `network_data` on `Issuing.Transaction`
2074
- * Add support for new value `paypal` on enum `Source.type`
2075
- * Add support for `billing_cycle_anchor` on `SubscriptionScheduleAmendParams.amendments[]`
2076
-
2077
1315
  ## 10.15.0 - 2022-10-20
2078
1316
  * [#1588](https://github.com/stripe/stripe-node/pull/1588) API Updates
2079
1317
  * 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`
@@ -2081,11 +1319,6 @@ This release includes breaking changes resulting from moving to use the new API
2081
1319
  * Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `Terminal.ReaderProcessPaymentIntentParams.process_config`
2082
1320
  * [#1585](https://github.com/stripe/stripe-node/pull/1585) use native UUID method if available
2083
1321
 
2084
- ## 10.15.0-beta.1 - 2022-10-14
2085
- * Add support for `schedule_settings` on `SubscriptionScheduleAmendParams`
2086
- * Add support for new value `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_end.type`
2087
- * Add support for new values `schedule_end` and `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_start.type`
2088
-
2089
1322
  ## 10.14.0 - 2022-10-13
2090
1323
  * [#1582](https://github.com/stripe/stripe-node/pull/1582) API Updates
2091
1324
  * 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`
@@ -2093,11 +1326,6 @@ This release includes breaking changes resulting from moving to use the new API
2093
1326
  * Add support for `network_data` on `Issuing.Authorization`
2094
1327
  * ⚠️ Remove `currency`, `description`, `images`, and `name` from `Checkout.SessionCreateParams`. These properties do not work on the latest API version. (fixes #1575)
2095
1328
 
2096
- ## 10.14.0-beta.1 - 2022-10-07
2097
- * [#1572](https://github.com/stripe/stripe-node/pull/1572) API Updates for beta branch
2098
- * Updated stable APIs to the latest version
2099
- * Add `reference_id` to `Paypal` interface.
2100
-
2101
1329
  ## 10.13.0 - 2022-10-06
2102
1330
  * [#1571](https://github.com/stripe/stripe-node/pull/1571) API Updates
2103
1331
  * 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`
@@ -2118,11 +1346,6 @@ This release includes breaking changes resulting from moving to use the new API
2118
1346
  * [#1562](https://github.com/stripe/stripe-node/pull/1562) Restore lib after generating
2119
1347
  * [#1551](https://github.com/stripe/stripe-node/pull/1551) Re-introduce Typescript changes
2120
1348
 
2121
- ## 10.12.0-beta.1 - 2022-09-26
2122
- * [#1561](https://github.com/stripe/stripe-node/pull/1561) API Updates for beta branch
2123
- * Updated stable APIs to the latest version
2124
- * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
2125
-
2126
1349
  ## 10.11.0 - 2022-09-22
2127
1350
  * [#1560](https://github.com/stripe/stripe-node/pull/1560) API Updates
2128
1351
  * Add support for `terms_of_service` on `Checkout.Session.consent_collection`, `Checkout.Session.consent`, `Checkout.SessionCreateParams.consent_collection`, `PaymentLink.consent_collection`, and `PaymentLinkCreateParams.consent_collection`
@@ -2130,6 +1353,7 @@ This release includes breaking changes resulting from moving to use the new API
2130
1353
  * Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams`
2131
1354
  * Change `SubscriptionSchedule.phases[].currency` to be required
2132
1355
 
1356
+
2133
1357
  ## 10.10.0 - 2022-09-15
2134
1358
  * [#1552](https://github.com/stripe/stripe-node/pull/1552) API Updates
2135
1359
  * Add support for `pix` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.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`
@@ -2172,11 +1396,6 @@ This release includes breaking changes resulting from moving to use the new API
2172
1396
  * [#1532](https://github.com/stripe/stripe-node/pull/1532) Update coveralls step to run for one node version, remove finish step
2173
1397
  * [#1531](https://github.com/stripe/stripe-node/pull/1531) Regen yarn.lock.
2174
1398
 
2175
- ## 10.6.0-beta.1 - 2022-08-26
2176
- * [#1529](https://github.com/stripe/stripe-node/pull/1529) API Updates for beta branch
2177
- * Updated stable APIs to the latest version
2178
- * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
2179
-
2180
1399
  ## 10.5.0 - 2022-08-24
2181
1400
  * [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
2182
1401
  * [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation
@@ -2191,11 +1410,6 @@ This release includes breaking changes resulting from moving to use the new API
2191
1410
  * Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
2192
1411
  * 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.
2193
1412
 
2194
- ## 10.4.0-beta.1 - 2022-08-23
2195
- * [#1523](https://github.com/stripe/stripe-node/pull/1523) API Updates for beta branch
2196
- - Updated stable APIs to the latest version
2197
- - `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)
2198
- * [#1521](https://github.com/stripe/stripe-node/pull/1521) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
2199
1413
 
2200
1414
  ## 10.3.0 - 2022-08-19
2201
1415
  * [#1516](https://github.com/stripe/stripe-node/pull/1516) API Updates
@@ -2208,15 +1422,11 @@ This release includes breaking changes resulting from moving to use the new API
2208
1422
  * Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
2209
1423
  * [#1515](https://github.com/stripe/stripe-node/pull/1515) Add a support section to the readme
2210
1424
 
2211
- ## 10.3.0-beta.1 - 2022-08-11
2212
- * [#1511](https://github.com/stripe/stripe-node/pull/1511) API Updates for beta branch
2213
- - Updated stable APIs to the latest version
2214
- - Add refund_payment method to Terminal resource
2215
-
2216
1425
  ## 10.2.0 - 2022-08-11
2217
1426
  * [#1510](https://github.com/stripe/stripe-node/pull/1510) API Updates
2218
1427
  * Add support for `payment_method_collection` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
2219
1428
 
1429
+
2220
1430
  ## 10.1.0 - 2022-08-09
2221
1431
  * [#1506](https://github.com/stripe/stripe-node/pull/1506) API Updates
2222
1432
  * Add support for `process_config` on `Terminal.Reader.action.process_payment_intent`
@@ -2226,22 +1436,50 @@ This release includes breaking changes resulting from moving to use the new API
2226
1436
  * [#1503](https://github.com/stripe/stripe-node/pull/1503) API Updates
2227
1437
  * Add support for `expires_at` on `Apps.Secret` and `Apps.SecretCreateParams`
2228
1438
 
2229
- ## 10.1.0-beta.1 - 2022-08-03
2230
- * [#1498](https://github.com/stripe/stripe-node/pull/1498) API Updates for beta branch
2231
- - Updated stable APIs to the latest version
2232
- - Added the `Order` resource support
2233
-
2234
1439
  ## 10.0.0 - 2022-08-02
2235
1440
 
2236
- Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
1441
+ This release includes breaking changes resulting from:
2237
1442
 
2238
- 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.
1443
+ * 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
1444
+ * 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.
2239
1445
 
2240
1446
  "⚠️" symbol highlights breaking changes.
2241
1447
 
2242
1448
  * [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates
2243
1449
  * [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes
2244
1450
 
1451
+ ### Added
1452
+ * 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`
1453
+ * Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
1454
+
1455
+ ### ⚠️ Changed
1456
+ * Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable.
1457
+ * Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`.
1458
+ * 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`.
1459
+ * Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable.
1460
+ * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
1461
+
1462
+ ### ⚠️ Removed
1463
+ * Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions.
1464
+ * Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.
1465
+ * Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`.
1466
+ * Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions.
1467
+ * Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead.
1468
+ * Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.
1469
+ * Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
1470
+ * Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.
1471
+ * Remove `IssuerFraudRecords` resource.
1472
+ * Remove `Recipient` resource and`recipient` property from `Card` resource.
1473
+ * Remove `InvoiceMarkUncollectibleParams` definition.
1474
+ * Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions.
1475
+ * Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.
1476
+ * Remove `LineItemListParams` definition. The interface was no longer in use.
1477
+
1478
+ ### ⚠️ Renamed
1479
+ * Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`.
1480
+ * Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`.
1481
+ * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
1482
+
2245
1483
  ## 9.16.0 - 2022-07-26
2246
1484
  * [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates
2247
1485
  * 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`
@@ -2258,20 +1496,6 @@ Breaking changes that arose during code generation of the library that we postpo
2258
1496
  * Add support for `mandate` on `InvoicePayParams`
2259
1497
  * Add support for `product_data` on `OrderCreateParams.line_items[]` and `OrderUpdateParams.line_items[]`
2260
1498
 
2261
- ## 9.15.0-beta.1 - 2022-07-22
2262
- * [#1485](https://github.com/stripe/stripe-node/pull/1485) API Updates for beta branch
2263
- - Updated stable APIs to the latest version
2264
- * [#1483](https://github.com/stripe/stripe-node/pull/1483) API Updates for beta branch
2265
- - Updated stable APIs to the latest version
2266
- - Add `QuotePhase` resource
2267
- * [#1479](https://github.com/stripe/stripe-node/pull/1479) API Updates for beta branch
2268
- - Updated stable APIs to the latest version
2269
- - Add `Price.migrate_to` property
2270
- - Add `SubscriptionSchedule.amend` method.
2271
- - Add `Discount.subscription_item` property.
2272
- - Add `Quote.subscription_data.billing_behavior`, `billing_cycle_anchor`, `end_behavior`, `from_schedule`, `from_subscription`, `prebilling`, `proration_behavior` properties.
2273
- - Add `phases` parameter to `Quote.create`
2274
- - Add `Subscription.discounts`, `prebilling` properties.
2275
1499
 
2276
1500
  ## 9.14.0 - 2022-07-18
2277
1501
  * [#1477](https://github.com/stripe/stripe-node/pull/1477) API Updates
@@ -2295,18 +1519,6 @@ Breaking changes that arose during code generation of the library that we postpo
2295
1519
  * Change `Transfer.source_type` to be optional and not nullable
2296
1520
  * [#1471](https://github.com/stripe/stripe-node/pull/1471) Update readme to include a note on beta packages
2297
1521
 
2298
- ## 9.13.0-beta.1 - 2022-07-07
2299
- * [#1469](https://github.com/stripe/stripe-node/pull/1469) API Updates for beta branch
2300
- - Include `server_side_confirmation_beta=v1` beta
2301
- - Add `secretKeyConfirmation` to `PaymentIntent`
2302
- * [#1451](https://github.com/stripe/stripe-node/pull/1451) API Updates
2303
- - Updated stable APIs to the latest version
2304
- * [#1457](https://github.com/stripe/stripe-node/pull/1457) Use the generated API version
2305
- * [#1445](https://github.com/stripe/stripe-node/pull/1445) Support updating pre-release versions
2306
- * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
2307
- * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
2308
- * [#1444](https://github.com/stripe/stripe-node/pull/1444) Merge master branch into beta branch
2309
-
2310
1522
  ## 9.12.0 - 2022-07-07
2311
1523
  * [#1468](https://github.com/stripe/stripe-node/pull/1468) API Updates
2312
1524
  * Add support for `currency` on `Checkout.SessionCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkCreateParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `Subscription`
@@ -2369,10 +1581,6 @@ Breaking changes that arose during code generation of the library that we postpo
2369
1581
  * 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`
2370
1582
  * Add support for `custom_unit_amount` on `PriceCreateParams` and `Price`
2371
1583
 
2372
- ## 9.8.0-beta.1 - 2022-06-08
2373
- * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
2374
- * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
2375
-
2376
1584
  ## 9.7.0 - 2022-06-08
2377
1585
  * [#1441](https://github.com/stripe/stripe-node/pull/1441) API Updates
2378
1586
  * Add support for `affirm`, `bancontact`, `card`, `ideal`, `p24`, and `sofort` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
@@ -2393,6 +1601,7 @@ Breaking changes that arose during code generation of the library that we postpo
2393
1601
  * Add support for `network` on `SetupIntent.payment_method_options.card`
2394
1602
  * Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `Terminal.ReaderListParams.device_type`
2395
1603
 
1604
+
2396
1605
  ## 9.5.0 - 2022-05-26
2397
1606
  * [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
2398
1607
  * Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -2463,6 +1672,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
2463
1672
  * Add support for `default_price` on `ProductUpdateParams` and `Product`
2464
1673
  * Add support for `instructions_email` on `RefundCreateParams` and `Refund`
2465
1674
 
1675
+
2466
1676
  ## 8.221.0 - 2022-05-05
2467
1677
  * [#1413](https://github.com/stripe/stripe-node/pull/1413) API Updates
2468
1678
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
@@ -2739,6 +1949,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
2739
1949
  * [#1297](https://github.com/stripe/stripe-node/pull/1297) API Updates
2740
1950
  * Add support for `automatic_payment_methods` on `PaymentIntentCreateParams` and `PaymentIntent`
2741
1951
 
1952
+
2742
1953
  ## 8.189.0 - 2021-11-16
2743
1954
  * [#1295](https://github.com/stripe/stripe-node/pull/1295) API Updates
2744
1955
  * Add support for new resource `ShippingRate`
@@ -2761,6 +1972,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
2761
1972
  * Remove support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account`. This API was unused.
2762
1973
  * Add support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account.company`
2763
1974
 
1975
+
2764
1976
  ## 8.186.0 - 2021-11-01
2765
1977
  * [#1283](https://github.com/stripe/stripe-node/pull/1283) API Updates
2766
1978
  * Add support for `ownership_declaration` on `AccountUpdateParams.company`, `AccountCreateParams.company`, `Account.company`, and `TokenCreateParams.account.company`
@@ -2904,6 +2116,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
2904
2116
  * Add support for `wallet` on `Issuing.Transaction`
2905
2117
  * Add support for `ideal` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
2906
2118
 
2119
+
2907
2120
  ## 8.163.0 - 2021-07-15
2908
2121
  * [#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
2909
2122
 
@@ -4436,7 +3649,7 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
4436
3649
 
4437
3650
  - [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
4438
3651
 
4439
- ## 2.2.1 - 2013-12-01
3652
+ ### 2.2.1 - 2013-12-01
4440
3653
 
4441
3654
  - [BUGFIX] Fix user-agent header issue (see issue #75)
4442
3655
 
@@ -4499,4 +3712,3 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
4499
3712
  ## 0.0.2 - 2011-09-28
4500
3713
 
4501
3714
  - Initial release with customers and tokens APIs
4502
-