stripe 13.7.0-beta.1 → 13.7.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 (173) hide show
  1. package/CHANGELOG.md +114 -419
  2. package/README.md +0 -33
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +5 -65
  5. package/cjs/StripeResource.js +1 -1
  6. package/cjs/apiVersion.js +1 -2
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -13
  9. package/cjs/resources/OAuth.js +1 -1
  10. package/cjs/resources/Quotes.js +0 -32
  11. package/cjs/resources/SubscriptionSchedules.js +0 -4
  12. package/cjs/resources/Terminal/Readers.js +0 -12
  13. package/cjs/resources.js +10 -44
  14. package/cjs/stripe.core.js +3 -6
  15. package/cjs/utils.js +3 -30
  16. package/esm/RequestSender.js +6 -66
  17. package/esm/StripeResource.js +2 -2
  18. package/esm/apiVersion.js +0 -1
  19. package/esm/multipart.js +2 -2
  20. package/esm/resources/FinancialConnections/Accounts.js +0 -13
  21. package/esm/resources/OAuth.js +2 -2
  22. package/esm/resources/Quotes.js +0 -32
  23. package/esm/resources/SubscriptionSchedules.js +0 -4
  24. package/esm/resources/Terminal/Readers.js +0 -12
  25. package/esm/resources.js +0 -30
  26. package/esm/stripe.core.js +3 -6
  27. package/esm/utils.js +1 -27
  28. package/package.json +1 -1
  29. package/types/AccountSessions.d.ts +0 -27
  30. package/types/AccountSessionsResource.d.ts +0 -36
  31. package/types/Accounts.d.ts +4 -49
  32. package/types/AccountsResource.d.ts +8 -103
  33. package/types/ApplePayDomains.d.ts +3 -0
  34. package/types/Applications.d.ts +3 -0
  35. package/types/BankAccounts.d.ts +3 -0
  36. package/types/Cards.d.ts +3 -0
  37. package/types/Charges.d.ts +0 -26
  38. package/types/ChargesResource.d.ts +0 -580
  39. package/types/Checkout/Sessions.d.ts +15 -22
  40. package/types/Checkout/SessionsResource.d.ts +17 -14
  41. package/types/Coupons.d.ts +4 -1
  42. package/types/CouponsResource.d.ts +1 -1
  43. package/types/Customers.d.ts +3 -0
  44. package/types/Discounts.d.ts +3 -10
  45. package/types/Events.d.ts +0 -26
  46. package/types/FileLinks.d.ts +3 -3
  47. package/types/FileLinksResource.d.ts +2 -2
  48. package/types/Files.d.ts +10 -10
  49. package/types/FilesResource.d.ts +8 -8
  50. package/types/FinancialConnections/Accounts.d.ts +0 -74
  51. package/types/FinancialConnections/AccountsResource.d.ts +1 -75
  52. package/types/FinancialConnections/Sessions.d.ts +1 -44
  53. package/types/FinancialConnections/SessionsResource.d.ts +1 -33
  54. package/types/InvoiceItems.d.ts +3 -0
  55. package/types/InvoiceItemsResource.d.ts +0 -88
  56. package/types/Invoices.d.ts +5 -39
  57. package/types/InvoicesResource.d.ts +2 -424
  58. package/types/Issuing/Authorizations.d.ts +0 -25
  59. package/types/Issuing/AuthorizationsResource.d.ts +4 -4
  60. package/types/Issuing/CardholdersResource.d.ts +2 -4
  61. package/types/Issuing/Cards.d.ts +0 -39
  62. package/types/Issuing/CardsResource.d.ts +0 -132
  63. package/types/Issuing/Transactions.d.ts +0 -17
  64. package/types/LineItems.d.ts +0 -7
  65. package/types/Mandates.d.ts +0 -11
  66. package/types/PaymentIntents.d.ts +1 -181
  67. package/types/PaymentIntentsResource.d.ts +73 -1437
  68. package/types/PaymentLinks.d.ts +14 -2
  69. package/types/PaymentLinksResource.d.ts +32 -4
  70. package/types/PaymentMethods.d.ts +0 -16
  71. package/types/PaymentMethodsResource.d.ts +3 -0
  72. package/types/Persons.d.ts +4 -1
  73. package/types/Plans.d.ts +3 -0
  74. package/types/Prices.d.ts +3 -22
  75. package/types/PricesResource.d.ts +0 -22
  76. package/types/Products.d.ts +3 -39
  77. package/types/ProductsResource.d.ts +0 -36
  78. package/types/Quotes.d.ts +1 -527
  79. package/types/QuotesResource.d.ts +214 -3020
  80. package/types/Radar/ValueListItems.d.ts +3 -0
  81. package/types/Radar/ValueLists.d.ts +3 -0
  82. package/types/SetupAttempts.d.ts +0 -4
  83. package/types/SetupIntents.d.ts +1 -29
  84. package/types/SetupIntentsResource.d.ts +3 -89
  85. package/types/Sources.d.ts +0 -23
  86. package/types/SubscriptionItems.d.ts +2 -22
  87. package/types/SubscriptionItemsResource.d.ts +0 -147
  88. package/types/SubscriptionSchedules.d.ts +0 -214
  89. package/types/SubscriptionSchedulesResource.d.ts +15 -1310
  90. package/types/Subscriptions.d.ts +2 -53
  91. package/types/SubscriptionsResource.d.ts +2 -443
  92. package/types/TaxIds.d.ts +6 -3
  93. package/types/Terminal/Configurations.d.ts +3 -0
  94. package/types/Terminal/Locations.d.ts +3 -0
  95. package/types/Terminal/Readers.d.ts +3 -183
  96. package/types/Terminal/ReadersResource.d.ts +0 -171
  97. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +0 -22
  98. package/types/TestHelpers/Issuing/TransactionsResource.d.ts +0 -4
  99. package/types/TestHelpers/TestClocks.d.ts +3 -0
  100. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  101. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  102. package/types/TokensResource.d.ts +4 -4
  103. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  104. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  105. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  106. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  107. package/types/WebhookEndpoints.d.ts +3 -0
  108. package/types/WebhookEndpointsResource.d.ts +0 -52
  109. package/types/index.d.ts +0 -71
  110. package/types/lib.d.ts +0 -12
  111. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  112. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  113. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  114. package/cjs/resources/ConfirmationTokens.js +0 -12
  115. package/cjs/resources/CustomerSessions.js +0 -9
  116. package/cjs/resources/FinancialConnections/Transactions.js +0 -13
  117. package/cjs/resources/GiftCards/Cards.js +0 -23
  118. package/cjs/resources/GiftCards/Transactions.js +0 -33
  119. package/cjs/resources/Issuing/CardBundles.js +0 -17
  120. package/cjs/resources/Issuing/CardDesigns.js +0 -22
  121. package/cjs/resources/Orders.js +0 -24
  122. package/cjs/resources/QuotePhases.js +0 -22
  123. package/cjs/resources/Tax/Forms.js +0 -20
  124. package/cjs/resources/Tax/Registrations.js +0 -18
  125. package/cjs/resources/TestHelpers/Issuing/CardDesigns.js +0 -20
  126. package/esm/resources/Capital/FinancingOffers.js +0 -18
  127. package/esm/resources/Capital/FinancingSummary.js +0 -9
  128. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  129. package/esm/resources/ConfirmationTokens.js +0 -9
  130. package/esm/resources/CustomerSessions.js +0 -6
  131. package/esm/resources/FinancialConnections/Transactions.js +0 -10
  132. package/esm/resources/GiftCards/Cards.js +0 -20
  133. package/esm/resources/GiftCards/Transactions.js +0 -30
  134. package/esm/resources/Issuing/CardBundles.js +0 -14
  135. package/esm/resources/Issuing/CardDesigns.js +0 -19
  136. package/esm/resources/Orders.js +0 -21
  137. package/esm/resources/QuotePhases.js +0 -19
  138. package/esm/resources/Tax/Forms.js +0 -17
  139. package/esm/resources/Tax/Registrations.js +0 -15
  140. package/esm/resources/TestHelpers/Issuing/CardDesigns.js +0 -17
  141. package/types/Capital/FinancingOffers.d.ts +0 -183
  142. package/types/Capital/FinancingOffersResource.d.ts +0 -94
  143. package/types/Capital/FinancingSummary.d.ts +0 -106
  144. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  145. package/types/Capital/FinancingTransactions.d.ts +0 -135
  146. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  147. package/types/ConfirmationTokens.d.ts +0 -1164
  148. package/types/ConfirmationTokensResource.d.ts +0 -27
  149. package/types/CustomerSessions.d.ts +0 -38
  150. package/types/CustomerSessionsResource.d.ts +0 -27
  151. package/types/FinancialConnections/InferredBalances.d.ts +0 -38
  152. package/types/FinancialConnections/Transactions.d.ts +0 -85
  153. package/types/FinancialConnections/TransactionsResource.d.ts +0 -48
  154. package/types/GiftCards/Cards.d.ts +0 -118
  155. package/types/GiftCards/CardsResource.d.ts +0 -159
  156. package/types/GiftCards/Transactions.d.ts +0 -129
  157. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  158. package/types/Issuing/CardBundles.d.ts +0 -68
  159. package/types/Issuing/CardBundlesResource.d.ts +0 -63
  160. package/types/Issuing/CardDesigns.d.ts +0 -132
  161. package/types/Issuing/CardDesignsResource.d.ts +0 -251
  162. package/types/Orders.d.ts +0 -1044
  163. package/types/OrdersResource.d.ts +0 -2681
  164. package/types/QuoteLines.d.ts +0 -580
  165. package/types/QuotePhases.d.ts +0 -193
  166. package/types/QuotePhasesResource.d.ts +0 -67
  167. package/types/QuotePreviewInvoices.d.ts +0 -1345
  168. package/types/QuotePreviewSchedules.d.ts +0 -660
  169. package/types/Tax/Forms.d.ts +0 -133
  170. package/types/Tax/FormsResource.d.ts +0 -90
  171. package/types/Tax/Registrations.d.ts +0 -1006
  172. package/types/Tax/RegistrationsResource.d.ts +0 -1280
  173. package/types/TestHelpers/Issuing/CardDesignsResource.d.ts +0 -113
package/CHANGELOG.md CHANGED
@@ -1,21 +1,8 @@
1
1
  # Changelog
2
2
 
3
- ## 13.7.0-beta.1 - 2023-09-14
4
- * [#1900](https://github.com/stripe/stripe-node/pull/1900) Update generated code for beta
5
- * Add support for new resource `ConfirmationToken`
6
- * Add support for `retrieve` method on resource `ConfirmationToken`
7
- * Add support for `create` method on resource `Issuing.CardDesign`
8
- * Add support for `reject_testmode` test helper method on resource `Issuing.CardDesign`
9
- * Add support for new value `issuing_card_design.rejected` on enum `Event.type`
10
- * Add support for `features` on `Issuing.CardBundle`
11
- * Add support for `preferences` on `Issuing.CardDesignListParams`, `Issuing.CardDesignUpdateParams`, and `Issuing.CardDesign`
12
- * Remove support for `preference` on `Issuing.CardDesignListParams`, `Issuing.CardDesignUpdateParams`, and `Issuing.CardDesign`
13
- * Add support for `card_bundle` on `Issuing.CardDesignUpdateParams`
14
- * Add support for `card_logo` and `carrier_text` on `Issuing.CardDesignUpdateParams` and `Issuing.CardDesign`
15
- * Change type of `Issuing.CardDesignUpdateParams.lookup_key` and `Issuing.CardDesignUpdateParams.name` from `string` to `emptyStringable(string)`
16
- * Add support for `rejection_reasons` on `Issuing.CardDesign`
17
- * Add support for `confirmation_token` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `SetupIntentConfirmParams`, and `SetupIntentCreateParams`
18
- * Add support for new value `issuing_card_design.rejected` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
3
+ ## 13.7.0 - 2023-09-21
4
+ * [#1907](https://github.com/stripe/stripe-node/pull/1907) Update generated code
5
+ * 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`
19
6
 
20
7
  ## 13.6.0 - 2023-09-14
21
8
  * [#1905](https://github.com/stripe/stripe-node/pull/1905) Update generated code
@@ -30,16 +17,8 @@
30
17
  * Add support for `nonce` on `EphemeralKeyCreateParams`
31
18
  * Add support for `cashback_amount` on `Issuing.Authorization.amount_details`, `Issuing.Authorization.pending_request.amount_details`, `Issuing.Authorization.request_history[].amount_details`, and `Issuing.Transaction.amount_details`
32
19
  * Add support for `serial_number` on `Terminal.ReaderListParams`
33
-
34
- ## 13.6.0-beta.1 - 2023-09-07
35
- * [#1898](https://github.com/stripe/stripe-node/pull/1898) Update generated code for beta
36
- * Release specs are identical.
37
- * [#1892](https://github.com/stripe/stripe-node/pull/1892) Update generated code for beta
38
- * Remove support for `submit_card` test helper method on resource `Issuing.Card`
39
- * Add support for `tax_forms` on `Account.settings`, `AccountCreateParams.settings`, and `AccountUpdateParams.settings`
40
- * Add support for `card_design` on `Issuing.CardUpdateParams`
41
- * Remove support for value `submitted` from enum `Issuing.Card.shipping.status`
42
- * Add support for new value `platform_default` on enums `Issuing.CardDesign.preference` and `Issuing.CardDesignListParams.preference`
20
+ * [#1895](https://github.com/stripe/stripe-node/pull/1895) feat: webhook signing Nestjs
21
+ * [#1878](https://github.com/stripe/stripe-node/pull/1878) Use src/apiVersion.ts, not API_VERSION as source of truth
43
22
 
44
23
  ## 13.5.0 - 2023-09-07
45
24
  * [#1893](https://github.com/stripe/stripe-node/pull/1893) Update generated code
@@ -52,10 +31,6 @@
52
31
  * Add support for `features` on `ProductCreateParams`, `ProductUpdateParams`, and `Product`
53
32
  * Remove support for value `invoiceitem.updated` from enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
54
33
 
55
- ## 13.5.0-beta.1 - 2023-08-31
56
- * [#1883](https://github.com/stripe/stripe-node/pull/1883) Update generated code for beta
57
- * Rename `Quote.listPreviewSubscriptionSchedules` to `Quote.listPreviewSchedules` and `Quote.listPreview
58
-
59
34
  ## 13.4.0 - 2023-08-31
60
35
  * [#1884](https://github.com/stripe/stripe-node/pull/1884) Update generated code
61
36
  * Add support for new resource `AccountSession`
@@ -122,37 +97,12 @@
122
97
  * These fields are not fully operational.
123
98
  * ⚠️Add support for new value `2023-08-16` on enum `WebhookEndpointCreateParams.api_version`
124
99
 
125
- ## 13.0.0-beta.1 - 2023-08-24
126
- * [#1873](https://github.com/stripe/stripe-node/pull/1873) Update generated code for beta
127
- * Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
128
- * 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
129
- * Remove support for `applies_to` on `Invoice` and `SubscriptionSchedule`
130
- * Add support for `cl`, `co`, `id`, `kr`, `mx`, `my`, `sa`, `th`, `tr`, and `vn` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
131
- * Remove support for `hk` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
132
-
133
- ## 12.19.0-beta.1 - 2023-08-10
134
- * [#1868](https://github.com/stripe/stripe-node/pull/1868) Update generated code for beta
135
- * Add support for `paypal` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
136
- * Add support for new value `quote.accept_failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
137
-
138
100
  ## 12.18.0 - 2023-08-10
139
101
  * [#1867](https://github.com/stripe/stripe-node/pull/1867) Update generated code
140
102
  * 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`
141
103
  * Add support for new value `payment_reversal` on enum `BalanceTransaction.type`
142
104
  * Change `Invoice.subscription_details.metadata` and `Invoice.subscription_details` to be required
143
105
 
144
- ## 12.18.0-beta.1 - 2023-08-03
145
- * [#1861](https://github.com/stripe/stripe-node/pull/1861) Update generated code for beta
146
- * Add support for `submit_card` test helper method on resource `Issuing.Card`
147
- * Add support for `address_validation` on `Issuing.Card.shipping` and `Issuing.CardCreateParams.shipping`
148
- * Add support for `shipping` on `Issuing.CardUpdateParams`
149
- * Add support for new value `submitted` on enum `Issuing.Card.shipping.status`
150
- * 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)`
151
- * Add support for `reason` on `QuoteMarkStaleQuoteParams`
152
- * Add support for `marked_stale` on `Quote.status_details.stale.last_reason`
153
- * Change `Tax.FormListParams.payee.type` to be optional
154
- * [#1864](https://github.com/stripe/stripe-node/pull/1864) Remove developer_message support
155
-
156
106
  ## 12.17.0 - 2023-08-03
157
107
  * [#1863](https://github.com/stripe/stripe-node/pull/1863) Update generated code
158
108
  * Change many types from `string` to `emptyStringable(string)`
@@ -161,14 +111,14 @@
161
111
  * Add support for new values `sepa_debit_fingerprint` and `us_bank_account_fingerprint` on enums `Radar.ValueList.item_type` and `Radar.ValueListCreateParams.item_type`
162
112
  * [#1866](https://github.com/stripe/stripe-node/pull/1866) Allow monkey patching http / https
163
113
 
164
- ## 12.17.0-beta.1 - 2023-07-27
165
- * Updated stable APIs to the latest version
166
-
167
114
  ## 12.16.0 - 2023-07-27
168
115
  * [#1853](https://github.com/stripe/stripe-node/pull/1853) Update generated code
169
116
  * Add support for `monthly_estimated_revenue` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
170
117
  * [#1859](https://github.com/stripe/stripe-node/pull/1859) Revert "import * as http -> import http from 'http'"
171
118
 
119
+ ## 12.15.0 - 2023-07-27 (DEPRECATED ⚠️ )
120
+ * 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.
121
+
172
122
  ## 12.14.0 - 2023-07-20
173
123
  * [#1842](https://github.com/stripe/stripe-node/pull/1842) Update generated code
174
124
  * 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`
@@ -179,17 +129,6 @@
179
129
  * [#1849](https://github.com/stripe/stripe-node/pull/1849) Changelog: fix delimiterless namespaced param types
180
130
  * [#1848](https://github.com/stripe/stripe-node/pull/1848) Changelog: `CheckoutSessionCreateParams` -> `Checkout.SessionCreateParams`
181
131
 
182
- ## 12.14.0-beta.1 - 2023-07-13
183
- * [#1840](https://github.com/stripe/stripe-node/pull/1840) Update generated code for beta
184
- Release specs are identical.
185
- * [#1837](https://github.com/stripe/stripe-node/pull/1837) Update generated code for beta
186
- * Add support for new resource `PaymentMethodConfiguration`
187
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
188
- * Add support for `payment_method_configuration` on `PaymentIntentCreateParams` and `PaymentIntentUpdateParams`
189
- * Add support for `payment_method_configuration_details` on `PaymentIntent`
190
- * Rename `Tax.SettingRetrieveParam` to `Tax.SettingsRetrieveParam` and `Tax.SettingUpdateParams` to `Tax.SettingsUpdateParams` (parity with main release)
191
- * [#1832](https://github.com/stripe/stripe-node/pull/1832) Update generated code for beta
192
-
193
132
  ## 12.13.0 - 2023-07-13
194
133
  * [#1838](https://github.com/stripe/stripe-node/pull/1838) Update generated code
195
134
  * Add support for new resource `Tax.Settings`
@@ -206,11 +145,6 @@
206
145
  * Add support for `numeric` and `text` on `PaymentLink.custom_fields[]`
207
146
  * Add support for `automatic_tax` on `SubscriptionListParams`
208
147
 
209
- ## 12.12.0-beta.1 - 2023-06-29
210
- * [#1824](https://github.com/stripe/stripe-node/pull/1824) Update generated code for beta
211
- * Add support for `metadata` on `Invoice.subscription_details`
212
- * Change `Invoice.subscription_details.pause_collection` to be optional
213
-
214
148
  ## 12.11.0 - 2023-06-29
215
149
  * [#1823](https://github.com/stripe/stripe-node/pull/1823) Update generated code
216
150
  * 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`
@@ -218,26 +152,16 @@
218
152
  * Add support for `effective_at` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
219
153
  * [#1828](https://github.com/stripe/stripe-node/pull/1828) Better CryptoProvider error
220
154
 
221
- ## 12.11.0-beta.1 - 2023-06-22
222
- * [#1821](https://github.com/stripe/stripe-node/pull/1821) Update generated code for beta
223
- * Add support for new resource `CustomerSession`
224
- * Add support for `create` method on resource `CustomerSession`
225
- * 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')`
226
-
227
155
  ## 12.10.0 - 2023-06-22
228
156
  * [#1820](https://github.com/stripe/stripe-node/pull/1820) Update generated code
229
157
  * Add support for `on_behalf_of` on `Mandate`
158
+ * [#1817](https://github.com/stripe/stripe-node/pull/1817) Update README.md
159
+ * [#1819](https://github.com/stripe/stripe-node/pull/1819) Update generated code
160
+ * Release specs are identical.
230
161
  * [#1813](https://github.com/stripe/stripe-node/pull/1813) Update generated code
231
162
  * Change type of `Checkout.Session.success_url` from `string` to `string | null`
232
-
233
- ## 12.10.0-beta.2 - 2023-06-15
234
- * [#1818](https://github.com/stripe/stripe-node/pull/1818) Update generated code for beta
235
- * Add support for `payment_details` on `ChargeCaptureParams`, `ChargeUpdateParams`, `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
236
- * 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`
237
- * [#1814](https://github.com/stripe/stripe-node/pull/1814) Update generated code for beta
238
-
239
- ## 12.10.0-beta.1 - 2023-06-08
240
- * [#1811](https://github.com/stripe/stripe-node/pull/1811) Update generated code for beta
163
+ * Change type of `FileCreateParams.file` from `string` to `file`
164
+ * [#1815](https://github.com/stripe/stripe-node/pull/1815) Generate FileCreateParams
241
165
 
242
166
  ## 12.9.0 - 2023-06-08
243
167
  * [#1809](https://github.com/stripe/stripe-node/pull/1809) Update generated code
@@ -245,20 +169,6 @@
245
169
  * Add support for `taxability_reason` on `Tax.Calculation.tax_breakdown[]`
246
170
  * [#1812](https://github.com/stripe/stripe-node/pull/1812) More helpful error when signing secrets contain whitespace
247
171
 
248
- ## 12.9.0-beta.1 - 2023-06-01
249
- * [#1801](https://github.com/stripe/stripe-node/pull/1801) Update generated code for beta
250
- * Add support for `subscription_details` on `Invoice`
251
- * 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[]`
252
- * 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`
253
- * Add support for `set_pause_collection` on `QuoteCreateParams.lines[]`, `QuoteLine`, `QuoteUpdateParams.lines[]`, and `SubscriptionScheduleAmendParams.amendments[]`
254
- * 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`
255
- * Add support for `pause_collection` on `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, and `SubscriptionScheduleUpdateParams.phases[]`
256
- * Add support for `local_amusement_tax` on `Tax.Registration.country_options.us` and `TaxRegistrationCreateParams.country_options.us`
257
- * Remove support for `locations` on `Tax.Settings` and `TaxSettingUpdateParams`
258
- * Add support for new values `customer.subscription.collection_paused` and `customer.subscription.collection_resumed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
259
- * [#1775](https://github.com/stripe/stripe-node/pull/1775) Introduce stripe.rawRequest as a canonical way to request APIs without definitions
260
- * Please refer to the [Custom Requests README section](https://github.com/stripe/stripe-node/tree/beta#custom-requests) for usage instructions.
261
-
262
172
  ## 12.8.0 - 2023-06-01
263
173
  * [#1799](https://github.com/stripe/stripe-node/pull/1799) Update generated code
264
174
  * Add support for `numeric` and `text` on `Checkout.SessionCreateParams.custom_fields[]`, `PaymentLinkCreateParams.custom_fields[]`, and `PaymentLinkUpdateParams.custom_fields[]`
@@ -269,9 +179,6 @@
269
179
  * Add support for `description`, `iin`, and `issuer` on `PaymentMethod.card_present` and `PaymentMethod.interac_present`
270
180
  * Add support for `payer_email` on `PaymentMethod.paypal`
271
181
 
272
- ## 12.8.0-beta.1 - 2023-05-25
273
- * [#1795](https://github.com/stripe/stripe-node/pull/1795) Update generated code for beta
274
-
275
182
  ## 12.7.0 - 2023-05-25
276
183
  * [#1797](https://github.com/stripe/stripe-node/pull/1797) Update generated code
277
184
  * Add support for `zip_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -282,13 +189,6 @@
282
189
  * 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`
283
190
  * Add support for new value `zip` on enum `PaymentMethod.type`
284
191
 
285
- ## 12.7.0-beta.1 - 2023-05-19
286
- * [#1788](https://github.com/stripe/stripe-node/pull/1788) Update generated code for beta
287
- * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
288
- * 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`
289
- * Add support for `status_details` and `status` on `Tax.Settings`
290
- * Add support for new value `tax.settings.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
291
-
292
192
  ## 12.6.0 - 2023-05-19
293
193
  * [#1787](https://github.com/stripe/stripe-node/pull/1787) Update generated code
294
194
  * Add support for `subscription_update_confirm` and `subscription_update` on `BillingPortal.Session.flow` and `BillingPortal.SessionCreateParams.flow_data`
@@ -297,18 +197,6 @@
297
197
  * Add support for `buyer_id` and `cashtag` on `Charge.payment_method_details.cashapp` and `PaymentMethod.cashapp`
298
198
  * Add support for new values `amusement_tax` and `communications_tax` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
299
199
 
300
- ## 12.6.0-beta.1 - 2023-05-11
301
- * [#1786](https://github.com/stripe/stripe-node/pull/1786) Update generated code for beta
302
- * Add support for `payer_email`, `payer_name`, and `seller_protection` on `Charge.payment_method_details.paypal`
303
- * 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
304
- * Add support for `capture_method`, `preferred_locale`, `reference_id`, and `setup_future_usage` on `CheckoutSessionCreateParams.payment_method_options.paypal`
305
- * 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`
306
- * 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`
307
- * Remove support for `billing_agreement_id` and `currency` on `CheckoutSessionCreateParams.payment_method_options.paypal`
308
- * Add support for `fingerprint`, `payer_id`, and `verified_email` on `Mandate.payment_method_details.paypal` and `PaymentMethod.paypal`
309
- * Add support for `taxability_reason` and `taxable_amount` on `Order.shipping_cost.taxes[]`, `Order.total_details.breakdown.taxes[]`, and `QuotePhase.total_details.breakdown.taxes[]`
310
- * Add support for `head_office` on `Tax.Settings` and `TaxSettingUpdateParams`
311
-
312
200
  ## 12.5.0 - 2023-05-11
313
201
  * [#1785](https://github.com/stripe/stripe-node/pull/1785) Update generated code
314
202
  * 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`
@@ -326,34 +214,12 @@
326
214
  * Add support for `effective_percentage` on `TaxRate`
327
215
  * Add support for `gb_bank_transfer` and `jp_bank_transfer` on `CustomerCashBalanceTransaction.Funded.BankTransfer`
328
216
 
329
- ## 12.5.0-beta.1 - 2023-05-04
330
- * [#1773](https://github.com/stripe/stripe-node/pull/1773) Update generated code for beta
331
- * Updated stable APIs to the latest version
332
-
333
217
  ## 12.4.0 - 2023-05-04
334
218
  * [#1774](https://github.com/stripe/stripe-node/pull/1774) Update generated code
335
219
  * Add support for `link` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
336
220
  * Add support for `brand`, `country`, `description`, `exp_month`, `exp_year`, `fingerprint`, `funding`, `iin`, `issuer`, `last4`, `network`, and `wallet` on `SetupAttempt.payment_method_details.card`
337
221
  * [#1782](https://github.com/stripe/stripe-node/pull/1782) Let user supply a timestamp when verifying webhooks
338
222
 
339
- ## 12.4.0-beta.1 - 2023-04-27
340
- * [#1769](https://github.com/stripe/stripe-node/pull/1769) Update generated code for beta
341
- * Add support for `billing_cycle_anchor` and `proration_behavior` on `CheckoutSessionCreateParams.subscription_data`
342
- * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
343
- * Add support for `metadata` on `PaymentIntentCaptureParams`
344
- * Add support for `checks` on `SetupAttempt.payment_method_details.card`
345
- * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
346
- * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
347
-
348
- ## 12.3.0 - 2023-04-27
349
- * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
350
- * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
351
- * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
352
- * Add support for `metadata` on `PaymentIntentCaptureParams`
353
- * Add support for `checks` on `SetupAttempt.payment_method_details.card`
354
- * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
355
- * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
356
-
357
223
  ## 12.3.0 - 2023-04-27
358
224
  * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
359
225
  * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
@@ -362,12 +228,6 @@
362
228
  * Add support for `checks` on `SetupAttempt.payment_method_details.card`
363
229
  * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
364
230
 
365
- ## 12.3.0-beta.1 - 2023-04-20
366
- * [#1760](https://github.com/stripe/stripe-node/pull/1760) Update generated code for beta
367
- * Add support for `zip` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
368
- * Add support for `country_options` on `Tax.Registration` and `TaxRegistrationCreateParams`
369
- * Remove support for `state` and `type` on `Tax.Registration` and `TaxRegistrationCreateParams`
370
-
371
231
  ## 12.2.0 - 2023-04-20
372
232
  * [#1759](https://github.com/stripe/stripe-node/pull/1759) Update generated code
373
233
  * Change `Checkout.Session.currency_conversion` to be required
@@ -377,16 +237,6 @@
377
237
  * [#1762](https://github.com/stripe/stripe-node/pull/1762) Add Deno webhook signing example
378
238
  * [#1761](https://github.com/stripe/stripe-node/pull/1761) Add Deno usage instructions in README
379
239
 
380
- ## 12.2.0-beta.1 - 2023-04-13
381
- * [#1751](https://github.com/stripe/stripe-node/pull/1751) Update generated code for beta
382
- * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
383
- * Add support for `paypal_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
384
- * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
385
- * Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal.Reader.action`
386
- * Add support for `stripe_account` on `Terminal.Reader.action.process_payment_intent` and `Terminal.Reader.action.refund_payment`
387
- * Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `Terminal.Reader.action.type`
388
- * Add support for new value `terminal.reader.action_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
389
-
390
240
  ## 12.1.1 - 2023-04-13
391
241
  No product changes.
392
242
 
@@ -395,16 +245,6 @@ No product changes.
395
245
  * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
396
246
  * [#1749](https://github.com/stripe/stripe-node/pull/1749) Type extend and ResourceNamespace better
397
247
 
398
- ## 12.1.0-beta.1 - 2023-04-06
399
- * [#1737](https://github.com/stripe/stripe-node/pull/1737) Update generated code for beta
400
- * Add support for `treasury_transaction` on `CapitalFinancingTransactionListParams`
401
- * Add support for `transaction` on `Capital.FinancingTransaction.details`
402
- * Add support for new value `link` on enums `Charge.payment_method_details.card.wallet.type` and `PaymentMethod.card.wallet.type`
403
- * Change `IssuingCardholderCreateParams.type` to be optional
404
- * Add support for `country` on `PaymentMethod.link`
405
- * Add support for `status_details` on `PaymentMethod.us_bank_account`
406
- * [#1750](https://github.com/stripe/stripe-node/pull/1750) Merge master into beta
407
-
408
248
  ## 12.0.0 - 2023-04-06
409
249
  * [#1743](https://github.com/stripe/stripe-node/pull/1743) Remove `Stripe.default` and `Stripe.Stripe`
410
250
  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.
@@ -447,11 +287,6 @@ This was added to maintain backwards compatibility during the transition of stri
447
287
  * Add support for `status_details` on `PaymentMethod.us_bank_account`
448
288
  * [#1747](https://github.com/stripe/stripe-node/pull/1747) (Typescript) remove deprecated properties
449
289
 
450
- ## 11.18.0-beta.1 - 2023-03-30
451
- * [#1735](https://github.com/stripe/stripe-node/pull/1735) Update generated code
452
- * Add support for new value `ioss` on enums `Tax.Registration.type` and `TaxRegistrationCreateParams.type`
453
- * Change `TerminalReaderCollectInputsParams.inputs[].custom_text.description` to be optional
454
-
455
290
  ## 11.17.0 - 2023-03-30
456
291
  * [#1734](https://github.com/stripe/stripe-node/pull/1734) Update generated code
457
292
  * Remove support for `create` method on resource `Tax.Transaction`
@@ -461,21 +296,6 @@ This was added to maintain backwards compatibility during the transition of stri
461
296
  * This is not a breaking change, as `deleted` was never returned or accepted as input.
462
297
  * Add support for `amount_tip` on `Terminal.ReaderPresentPaymentMethodParams.testHelpers`
463
298
 
464
- ## 11.17.0-beta.1 - 2023-03-23
465
- * [#1724](https://github.com/stripe/stripe-node/pull/1724) Update generated code for beta (new)
466
- * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
467
- * Add support for `collect_inputs` method on resource `Terminal.Reader`
468
- * Add support for `financing_offer` on `Capital.FinancingSummary`
469
- * Add support for new value `link` on enum `CheckoutSessionCreateParams.payment_method_types[]`
470
- * Add support for `fx_rate` on `Checkout.Session.currency_conversion`
471
- * Add support for new value `link` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
472
- * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
473
- * Remove support for `preview` on `TaxCalculationCreateParams`
474
- * Change type of `Tax.Calculation.line_items[]` from `LineItem` to `Tax.CalculationLineItem`
475
- * Change type of `Tax.Transaction.line_items[]` from `LineItem` to `Tax.TransactionLineItem`
476
- * Add support for `collect_inputs` on `Terminal.Reader.action`
477
- * Add support for new value `collect_inputs` on enum `Terminal.Reader.action.type`
478
-
479
299
  ## 11.16.0 - 2023-03-23
480
300
  * [#1730](https://github.com/stripe/stripe-node/pull/1730) Update generated code
481
301
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
@@ -487,19 +307,6 @@ This was added to maintain backwards compatibility during the transition of stri
487
307
  * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
488
308
  * [#1726](https://github.com/stripe/stripe-node/pull/1726) Add Deno entry point
489
309
 
490
- ## 11.16.0-beta.1 - 2023-03-17
491
- * [#1713](https://github.com/stripe/stripe-node/pull/1713) API Updates
492
- * Add support for `create_from_calculation` method on resource `Tax.Transaction`
493
- * Change type of `Invoice.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
494
- * 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`
495
- * 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`
496
- * 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`
497
- * 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
498
- * Remove support for `applies_to` on `QuotePreviewInvoiceLinesParams`
499
- * Add support for `shipping_cost` on `Tax.Calculation`, `Tax.Transaction`, `TaxCalculationCreateParams`, and `TaxTransactionCreateReversalParams`
500
- * Add support for `tax_breakdown` on `Tax.Calculation`
501
- * Remove support for `tax_summary` on `Tax.Calculation`
502
-
503
310
  ## 11.15.0 - 2023-03-16
504
311
  * [#1714](https://github.com/stripe/stripe-node/pull/1714) API Updates
505
312
  * Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -528,16 +335,6 @@ This was added to maintain backwards compatibility during the transition of stri
528
335
  * Add support for new value `cashapp` on enum `PaymentMethod.type`
529
336
  * Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
530
337
 
531
- ## 11.15.0-beta.1 - 2023-03-09
532
- * [#1705](https://github.com/stripe/stripe-node/pull/1705) API Updates for beta branch
533
- * Updated stable APIs to the latest version
534
- * Remove support for `list_transactions` method on resource `Tax.Transaction`
535
- * Add support for `amendment_start` and `timestamp` on `SubscriptionScheduleAmendParams.prebilling[].bill_from`
536
- * Change type of `SubscriptionScheduleAmendParams.prebilling[].bill_from.type` from `literal('now')` to `enum('amendment_start'|'now'|'timestamp')`
537
- * Change type of `SubscriptionSchedule.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
538
- * Add support for new value `lease_tax` on enum `Tax.Calculation.tax_summary[].tax_rate_details.tax_type`
539
- * Add support for `tax_behavior` on `Tax.Settings.defaults` and `TaxSettingUpdateParams.defaults`
540
-
541
338
  ## 11.14.0 - 2023-03-09
542
339
  * [#1703](https://github.com/stripe/stripe-node/pull/1703) API Updates
543
340
  * Add support for `card_issuing` on `Issuing.CardholderCreateParams.individual` and `Issuing.CardholderUpdateParams.individual`
@@ -548,25 +345,6 @@ This was added to maintain backwards compatibility during the transition of stri
548
345
  * [#1695](https://github.com/stripe/stripe-node/pull/1695) Migrate generated files to ES module syntax
549
346
  * [#1699](https://github.com/stripe/stripe-node/pull/1699) Remove extra test directory
550
347
 
551
- ## 11.14.0-beta.2 - 2023-03-03
552
- * [#1698](https://github.com/stripe/stripe-node/pull/1698) API Updates for beta branch
553
- * Updated stable APIs to the latest version
554
- * Add support for `update_behavior` on `Subscription.prebilling`, `SubscriptionCreateParams.prebilling`, `SubscriptionSchedule.prebilling`, `SubscriptionScheduleCreateParams.prebilling`, `SubscriptionScheduleUpdateParams.prebilling`, and `SubscriptionUpdateParams.prebilling`
555
- * Add support for `prebilling` on `SubscriptionScheduleAmendParams`
556
- * Add support for `taxability_override` on `Tax.Calculation.customer_details`, `Tax.Transaction.customer_details`, and `TaxCalculationCreateParams.customer_details`
557
- * Add support for `tax_summary` on `Tax.Calculation`
558
- * Remove support for `tax_breakdown` on `Tax.Calculation`
559
-
560
- ## 11.14.0-beta.1 - 2023-03-02
561
- * [#1697](https://github.com/stripe/stripe-node/pull/1697) API Updates for beta branch
562
- * Updated stable APIs to the latest version
563
- * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
564
- * Add support for `list` and `retrieve` methods on resource `CardBundle`
565
- * Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
566
- * Remove support for `controller` on `AccountUpdateParams`
567
- * Add support for `card_design` on `Issuing.Card` and `IssuingCardCreateParams`
568
- * 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[]`
569
-
570
348
  ## 11.13.0 - 2023-03-02
571
349
  * [#1696](https://github.com/stripe/stripe-node/pull/1696) API Updates
572
350
  * 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.
@@ -575,14 +353,6 @@ This was added to maintain backwards compatibility during the transition of stri
575
353
 
576
354
  * [#1689](https://github.com/stripe/stripe-node/pull/1689) Update v11.8.0 changelog with breaking change disclaimer
577
355
 
578
- ## 11.13.0-beta.1 - 2023-02-23
579
- * [#1690](https://github.com/stripe/stripe-node/pull/1690) API Updates for beta branch
580
- * Updated stable APIs to the latest version
581
- * 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`
582
- * Add support for new value `igst` on enum `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`
583
- * Change `TaxTransactionCreateParams.reference` to be required
584
- * 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[]`
585
-
586
356
  ## 11.12.0 - 2023-02-23
587
357
  * [#1688](https://github.com/stripe/stripe-node/pull/1688) API Updates
588
358
  * 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`
@@ -590,15 +360,6 @@ This was added to maintain backwards compatibility during the transition of stri
590
360
  * Add support for new value `igst` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
591
361
  * [#1687](https://github.com/stripe/stripe-node/pull/1687) Convert TypeScript files to use ES modules
592
362
 
593
- ## 11.12.0-beta.1 - 2023-02-16
594
- * [#1686](https://github.com/stripe/stripe-node/pull/1686) API Updates for beta branch
595
- * Updated stable APIs to the latest version
596
- * Change type of `Quote.status_details.canceled` from `QuotesResourceStatusDetailsCanceledStatusDetails | null` to `QuotesResourceStatusDetailsCanceledStatusDetails`
597
- * Change type of `Quote.status_details.stale` from `QuotesResourceStatusDetailsStaleStatusDetails | null` to `QuotesResourceStatusDetailsStaleStatusDetails`
598
- * Change `Quote.status_details.canceled` and `Quote.status_details.stale` to be optional
599
- * Remove support for `reference` on `Tax.Calculation` and `TaxCalculationCreateParams`
600
- * Add support for `reference` on `TaxTransactionCreateParams`
601
-
602
363
  ## 11.11.0 - 2023-02-16
603
364
  * [#1681](https://github.com/stripe/stripe-node/pull/1681) API Updates
604
365
  * Add support for `refund_payment` method on resource `Terminal.Reader`
@@ -613,32 +374,9 @@ This was added to maintain backwards compatibility during the transition of stri
613
374
  * [#1685](https://github.com/stripe/stripe-node/pull/1685) Add more webhook parsing checks
614
375
  * [#1684](https://github.com/stripe/stripe-node/pull/1684) Add infrastructure for mocked tests
615
376
 
616
- ## 11.11.0-beta.1 - 2023-02-13
617
- * [#1676](https://github.com/stripe/stripe-node/pull/1676) API Updates for beta branch
618
- * Updated stable APIs to the latest version
619
- * Add support for `currency_conversion` on `Checkout.Session`
620
- * Add support for `limits` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
621
- * Remove support for `enabled` on `FinancialConnectionsSessionCreateParams.manual_entry`
622
-
623
377
  ## 11.10.0 - 2023-02-09
624
378
  * [#1679](https://github.com/stripe/stripe-node/pull/1679) Enable library to work in worker environments without extra configuration.
625
379
 
626
- ## 11.10.0-beta.1 - 2023-02-02
627
- * [#1671](https://github.com/stripe/stripe-node/pull/1671) API Updates for beta branch
628
- * Updated stable APIs to the latest version
629
- * Add support for new resource `FinancialConnections.Transaction`
630
- * Add support for `list` method on resource `Transaction`
631
- * Add support for `prefetch` on `.payment_method_options.us_bank_account.financial_connections` across several APIs
632
- * 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
633
- * Add support for new values `inferred_balances` and `transactions` on enum `FinancialConnectionsAccountRefreshParams.features[]`
634
- * Add support for `inferred_balances_refresh`, `subscriptions`, and `transaction_refresh` on `FinancialConnections.Account`
635
- * Add support for `manual_entry` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
636
- * Add support for `status_details` and `status` on `FinancialConnections.Session`
637
- * 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[]`
638
- * Add support for `account_number` on `PaymentMethod.us_bank_account`
639
- * Remove support for `id` on `QuoteCreateParams.lines[].starts_at.line_ends_at`
640
- * 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[]`
641
-
642
380
  ## 11.9.1 - 2023-02-03
643
381
  * [#1672](https://github.com/stripe/stripe-node/pull/1672) Update main entrypoint on package.json
644
382
 
@@ -664,23 +402,12 @@ This was added to maintain backwards compatibility during the transition of stri
664
402
  * [#1668](https://github.com/stripe/stripe-node/pull/1668) Use EventTarget in worker / browser runtimes
665
403
  * [#1667](https://github.com/stripe/stripe-node/pull/1667) fix: added support for TypeScript "NodeNext" module resolution
666
404
 
667
- ## 11.9.0-beta.1 - 2023-01-26
668
- * [#1666](https://github.com/stripe/stripe-node/pull/1666) API Updates for beta branch
669
- * Updated stable APIs to the latest version
670
- * Add support for `billing_agreement_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`
671
- * Add support for `list_transactions` method on resource `Tax.Transaction`
672
- * Change type of `QuoteUpdateParams.subscription_data_overrides` from `array(create_specs)` to `emptyStringable(array(update_specs))`
673
-
674
405
  ## 11.8.0 - 2023-01-26
675
406
  * [#1665](https://github.com/stripe/stripe-node/pull/1665) API Updates
676
407
  * 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`
677
408
  * 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`
678
409
  * [#1660](https://github.com/stripe/stripe-node/pull/1660) Introduce separate entry point for worker environments
679
-
680
- ## 11.8.0-beta.1 - 2023-01-19
681
- * [#1662](https://github.com/stripe/stripe-node/pull/1662) API Updates for beta branch
682
- * Updated stable APIs to the latest version
683
- * Add support for `Tax.Settings` resource.
410
+ * 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.
684
411
 
685
412
  ## 11.7.0 - 2023-01-19
686
413
  * [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
@@ -688,39 +415,10 @@ This was added to maintain backwards compatibility during the transition of stri
688
415
  * Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
689
416
  * [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3
690
417
 
691
- ## 11.7.0-beta.2 - 2023-01-12
692
- * [#1653](https://github.com/stripe/stripe-node/pull/1653) API Updates for beta branch
693
- * Updated stable APIs to the latest version
694
- * Add support for new resource `Tax.Registration`
695
- * Add support for `create`, `list`, and `update` methods on resource `Registration`
696
- * Add support for `controller` on `AccountCreateParams` and `AccountUpdateParams`
697
- * Add support for `application` and `dashboard` on `Account.controller`
698
- * Change type of `Quote.subscription_data_overrides[].proration_behavior` from `enum('always_invoice'|'create_prorations'|'none')` to `enum('always_invoice'|'create_prorations'|'none') | null`
699
- * Remove support for `timestamp` on `QuoteLine.actions[].add_discount.discount_end`
700
- * Change type of `QuoteLine.actions[].add_discount.discount_end.type` from `literal('timestamp')` to `literal('line_ends_at')`
701
- * 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[]`
702
- * Change `QuoteLine.actions[].add_discount.index` to be required
703
- * Add support for new values `quote.accepting`, `quote.reestimated`, and `quote.stale` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
704
-
705
- * Change `quote.draft_quote` implementation from hitting `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
706
-
707
- ## 11.7.0-beta.1 - 2023-01-05
708
- * [#1648](https://github.com/stripe/stripe-node/pull/1648) API Updates for beta branch
709
- * Updated stable APIs to the latest version
710
- * Add support for `mark_stale_quote` method on resource `Quote`
711
- * 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`
712
- * 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`
713
- * Add support for `metadata` on `Terminal.Reader.action.refund_payment` and `TerminalReaderRefundPaymentParams`
714
-
715
418
  ## 11.6.0 - 2023-01-05
716
419
  * [#1646](https://github.com/stripe/stripe-node/pull/1646) API Updates
717
420
  * Add support for `card_issuing` on `Issuing.Cardholder.individual`
718
421
 
719
- ## 11.6.0-beta.1 - 2022-12-22
720
- * [#1643](https://github.com/stripe/stripe-node/pull/1643) API Updates for beta branch
721
- * Updated stable APIs to the latest version
722
- * Move `stripe.taxCalculations` to `stripe.tax.calculations` and `stripe.taxTransactions` to `stripe.tax.transactions`.
723
-
724
422
  ## 11.5.0 - 2022-12-22
725
423
  * [#1642](https://github.com/stripe/stripe-node/pull/1642) API Updates
726
424
  * 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`
@@ -728,13 +426,6 @@ This was added to maintain backwards compatibility during the transition of stri
728
426
  * Change `Checkout.SessionCreateParams.cancel_url` to be optional
729
427
  * Change type of `Checkout.Session.cancel_url` from `string` to `string | null`
730
428
 
731
- ## 11.5.0-beta.1 - 2022-12-15
732
- * [#1640](https://github.com/stripe/stripe-node/pull/1640) API Updates for beta branch
733
- * Updated stable APIs to the latest version
734
- * Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction`
735
- * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
736
- * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
737
-
738
429
  ## 11.4.0 - 2022-12-15
739
430
  * [#1639](https://github.com/stripe/stripe-node/pull/1639) API Updates
740
431
  * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
@@ -744,12 +435,6 @@ This was added to maintain backwards compatibility during the transition of stri
744
435
  * [#1634](https://github.com/stripe/stripe-node/pull/1634) API Updates
745
436
  * Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` to be optional
746
437
 
747
- ## 11.3.0-beta.1 - 2022-12-08
748
- * [#1635](https://github.com/stripe/stripe-node/pull/1635) API Updates for beta branch
749
- * Updated stable APIs to the latest version
750
- * [#1633](https://github.com/stripe/stripe-node/pull/1633) API Updates for beta branch
751
- * Updated stable APIs to the latest version
752
-
753
438
  ## 11.2.0 - 2022-12-06
754
439
  * [#1632](https://github.com/stripe/stripe-node/pull/1632) API Updates
755
440
  * Add support for `flow_data` on `BillingPortal.SessionCreateParams`
@@ -773,6 +458,7 @@ This was added to maintain backwards compatibility during the transition of stri
773
458
  * Add support for `custom_text` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
774
459
  * Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code`
775
460
 
461
+
776
462
  ## 11.0.0 - 2022-11-16
777
463
 
778
464
  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
@@ -785,11 +471,62 @@ This release includes breaking changes resulting from moving to use the new API
785
471
  * [#1615](https://github.com/stripe/stripe-node/pull/1615) API Updates
786
472
  * ⚠️ Remove support for `tos_shown_and_accepted` on `Checkout.SessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked.
787
473
 
788
- ## 10.18.0-beta.1 - 2022-11-10
789
- * [#1616](https://github.com/stripe/stripe-node/pull/1616) API Updates for beta branch
790
- * Updated stable APIs to the latest version
791
- * Add `discount_end` to `Discount`.
792
- * Add `url` to `MerchantData`.
474
+ ### ⚠️ Changed
475
+ * Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
476
+ * 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)
477
+
478
+ ### ⚠️ Removed
479
+ * Remove `Orders` resource. (#1580)
480
+ * Remove `SKU` resource (#1583)
481
+ * Remove deprecated `Checkout.SessionCreateParams.subscription_data.items`. (#1580)
482
+ * Remove deprecated configuration setter methods (`setHost`, `setProtocol`, `setPort`, `setApiVersion`, `setApiKey`, `setTimeout`, `setAppInfo`, `setHttpAgent`, `setMaxNetworkRetries`, and `setTelemetryEnabled`). (#1597)
483
+
484
+ Use the config object to set these options instead, for example:
485
+ ```typescript
486
+ const stripe = Stripe('sk_test_...', {
487
+ apiVersion: '2019-08-08',
488
+ maxNetworkRetries: 1,
489
+ httpAgent: new ProxyAgent(process.env.http_proxy),
490
+ timeout: 1000,
491
+ host: 'api.example.com',
492
+ port: 123,
493
+ telemetry: true,
494
+ });
495
+ ```
496
+ * Remove deprecated basic method definitions. (#1600)
497
+ Use basic methods defined on the resource instead.
498
+ ```typescript
499
+ // Before
500
+ basicMethods: true
501
+
502
+ // After
503
+ create: stripeMethod({
504
+ method: 'POST',
505
+ fullPath: '/v1/resource',
506
+ }),
507
+ list: stripeMethod({
508
+ method: 'GET',
509
+ methodType: 'list',
510
+ fullPath: '/v1/resource',
511
+ }),
512
+ retrieve: stripeMethod({
513
+ method: 'GET',
514
+ fullPath: '/v1/resource/{id}',
515
+ }),
516
+ update: stripeMethod({
517
+ method: 'POST',
518
+ fullPath: '/v1/resource/{id}',
519
+ }),
520
+ // Avoid 'delete' keyword in JS
521
+ del: stripeMethod({
522
+ method: 'DELETE',
523
+ fullPath: '/v1/resource/{id}',
524
+ }),
525
+ ```
526
+ * 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)
527
+ * Remove `charges` field on `PaymentIntent` and replace it with `latest_charge`. (#1614 )
528
+ * Remove deprecated `amount` field on `Checkout.Session.LineItem`. (#1614 )
529
+ * Remove support for `tos_shown_and_accepted` on `Checkout.Session.PaymentMethodOptions.Paynow`. (#1614 )
793
530
 
794
531
  ## 10.17.0 - 2022-11-08
795
532
  * [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates
@@ -803,22 +540,6 @@ This release includes breaking changes resulting from moving to use the new API
803
540
  * 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`
804
541
  * Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]`
805
542
 
806
- ## 10.16.0-beta.2 - 2022-11-02
807
- * [#1598](https://github.com/stripe/stripe-node/pull/1598) API Updates for beta branch
808
- * Updated beta APIs to the latest stable version
809
- * Add support for `cashappPayments` and `zipPayments` on `Account`.
810
- * Add support for `cashapp` and `zip` on `Charge`, `PaymentMethod`.
811
- * Add support for `trialSettings` on `SubscriptionSchedule`.
812
-
813
- ## 10.16.0-beta.1 - 2022-10-21
814
- * [#1589](https://github.com/stripe/stripe-node/pull/1589) API Updates for beta branch
815
- * Updated stable APIs to the latest version
816
- * Add support for new value `revoked` on enum `CapitalFinancingOfferListParams.status`
817
- * Add support for `paypal` on `Charge.payment_method_details` and `Source`
818
- * Add support for `network_data` on `Issuing.Transaction`
819
- * Add support for new value `paypal` on enum `Source.type`
820
- * Add support for `billing_cycle_anchor` on `SubscriptionScheduleAmendParams.amendments[]`
821
-
822
543
  ## 10.15.0 - 2022-10-20
823
544
  * [#1588](https://github.com/stripe/stripe-node/pull/1588) API Updates
824
545
  * 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`
@@ -826,11 +547,6 @@ This release includes breaking changes resulting from moving to use the new API
826
547
  * Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `Terminal.ReaderProcessPaymentIntentParams.process_config`
827
548
  * [#1585](https://github.com/stripe/stripe-node/pull/1585) use native UUID method if available
828
549
 
829
- ## 10.15.0-beta.1 - 2022-10-14
830
- * Add support for `schedule_settings` on `SubscriptionScheduleAmendParams`
831
- * Add support for new value `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_end.type`
832
- * Add support for new values `schedule_end` and `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_start.type`
833
-
834
550
  ## 10.14.0 - 2022-10-13
835
551
  * [#1582](https://github.com/stripe/stripe-node/pull/1582) API Updates
836
552
  * 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`
@@ -838,11 +554,6 @@ This release includes breaking changes resulting from moving to use the new API
838
554
  * Add support for `network_data` on `Issuing.Authorization`
839
555
  * ⚠️ Remove `currency`, `description`, `images`, and `name` from `Checkout.SessionCreateParams`. These properties do not work on the latest API version. (fixes #1575)
840
556
 
841
- ## 10.14.0-beta.1 - 2022-10-07
842
- * [#1572](https://github.com/stripe/stripe-node/pull/1572) API Updates for beta branch
843
- * Updated stable APIs to the latest version
844
- * Add `reference_id` to `Paypal` interface.
845
-
846
557
  ## 10.13.0 - 2022-10-06
847
558
  * [#1571](https://github.com/stripe/stripe-node/pull/1571) API Updates
848
559
  * 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`
@@ -863,11 +574,6 @@ This release includes breaking changes resulting from moving to use the new API
863
574
  * [#1562](https://github.com/stripe/stripe-node/pull/1562) Restore lib after generating
864
575
  * [#1551](https://github.com/stripe/stripe-node/pull/1551) Re-introduce Typescript changes
865
576
 
866
- ## 10.12.0-beta.1 - 2022-09-26
867
- * [#1561](https://github.com/stripe/stripe-node/pull/1561) API Updates for beta branch
868
- * Updated stable APIs to the latest version
869
- * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
870
-
871
577
  ## 10.11.0 - 2022-09-22
872
578
  * [#1560](https://github.com/stripe/stripe-node/pull/1560) API Updates
873
579
  * 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`
@@ -875,6 +581,7 @@ This release includes breaking changes resulting from moving to use the new API
875
581
  * Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams`
876
582
  * Change `SubscriptionSchedule.phases[].currency` to be required
877
583
 
584
+
878
585
  ## 10.10.0 - 2022-09-15
879
586
  * [#1552](https://github.com/stripe/stripe-node/pull/1552) API Updates
880
587
  * 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`
@@ -917,11 +624,6 @@ This release includes breaking changes resulting from moving to use the new API
917
624
  * [#1532](https://github.com/stripe/stripe-node/pull/1532) Update coveralls step to run for one node version, remove finish step
918
625
  * [#1531](https://github.com/stripe/stripe-node/pull/1531) Regen yarn.lock.
919
626
 
920
- ## 10.6.0-beta.1 - 2022-08-26
921
- * [#1529](https://github.com/stripe/stripe-node/pull/1529) API Updates for beta branch
922
- * Updated stable APIs to the latest version
923
- * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
924
-
925
627
  ## 10.5.0 - 2022-08-24
926
628
  * [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
927
629
  * [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation
@@ -936,11 +638,6 @@ This release includes breaking changes resulting from moving to use the new API
936
638
  * Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
937
639
  * 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.
938
640
 
939
- ## 10.4.0-beta.1 - 2022-08-23
940
- * [#1523](https://github.com/stripe/stripe-node/pull/1523) API Updates for beta branch
941
- - Updated stable APIs to the latest version
942
- - `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)
943
- * [#1521](https://github.com/stripe/stripe-node/pull/1521) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
944
641
 
945
642
  ## 10.3.0 - 2022-08-19
946
643
  * [#1516](https://github.com/stripe/stripe-node/pull/1516) API Updates
@@ -953,15 +650,11 @@ This release includes breaking changes resulting from moving to use the new API
953
650
  * Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
954
651
  * [#1515](https://github.com/stripe/stripe-node/pull/1515) Add a support section to the readme
955
652
 
956
- ## 10.3.0-beta.1 - 2022-08-11
957
- * [#1511](https://github.com/stripe/stripe-node/pull/1511) API Updates for beta branch
958
- - Updated stable APIs to the latest version
959
- - Add refund_payment method to Terminal resource
960
-
961
653
  ## 10.2.0 - 2022-08-11
962
654
  * [#1510](https://github.com/stripe/stripe-node/pull/1510) API Updates
963
655
  * Add support for `payment_method_collection` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
964
656
 
657
+
965
658
  ## 10.1.0 - 2022-08-09
966
659
  * [#1506](https://github.com/stripe/stripe-node/pull/1506) API Updates
967
660
  * Add support for `process_config` on `Terminal.Reader.action.process_payment_intent`
@@ -971,22 +664,50 @@ This release includes breaking changes resulting from moving to use the new API
971
664
  * [#1503](https://github.com/stripe/stripe-node/pull/1503) API Updates
972
665
  * Add support for `expires_at` on `Apps.Secret` and `Apps.SecretCreateParams`
973
666
 
974
- ## 10.1.0-beta.1 - 2022-08-03
975
- * [#1498](https://github.com/stripe/stripe-node/pull/1498) API Updates for beta branch
976
- - Updated stable APIs to the latest version
977
- - Added the `Order` resource support
978
-
979
667
  ## 10.0.0 - 2022-08-02
980
668
 
981
- Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
669
+ This release includes breaking changes resulting from:
982
670
 
983
- 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.
671
+ * 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
672
+ * 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.
984
673
 
985
674
  "⚠️" symbol highlights breaking changes.
986
675
 
987
676
  * [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates
988
677
  * [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes
989
678
 
679
+ ### Added
680
+ * 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`
681
+ * Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
682
+
683
+ ### ⚠️ Changed
684
+ * Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable.
685
+ * Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`.
686
+ * 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`.
687
+ * Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable.
688
+ * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
689
+
690
+ ### ⚠️ Removed
691
+ * Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions.
692
+ * Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.
693
+ * Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`.
694
+ * Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions.
695
+ * Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead.
696
+ * Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.
697
+ * Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
698
+ * Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.
699
+ * Remove `IssuerFraudRecords` resource.
700
+ * Remove `Recipient` resource and`recipient` property from `Card` resource.
701
+ * Remove `InvoiceMarkUncollectibleParams` definition.
702
+ * Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions.
703
+ * Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.
704
+ * Remove `LineItemListParams` definition. The interface was no longer in use.
705
+
706
+ ### ⚠️ Renamed
707
+ * Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`.
708
+ * Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`.
709
+ * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
710
+
990
711
  ## 9.16.0 - 2022-07-26
991
712
  * [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates
992
713
  * 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`
@@ -1003,20 +724,6 @@ Breaking changes that arose during code generation of the library that we postpo
1003
724
  * Add support for `mandate` on `InvoicePayParams`
1004
725
  * Add support for `product_data` on `OrderCreateParams.line_items[]` and `OrderUpdateParams.line_items[]`
1005
726
 
1006
- ## 9.15.0-beta.1 - 2022-07-22
1007
- * [#1485](https://github.com/stripe/stripe-node/pull/1485) API Updates for beta branch
1008
- - Updated stable APIs to the latest version
1009
- * [#1483](https://github.com/stripe/stripe-node/pull/1483) API Updates for beta branch
1010
- - Updated stable APIs to the latest version
1011
- - Add `QuotePhase` resource
1012
- * [#1479](https://github.com/stripe/stripe-node/pull/1479) API Updates for beta branch
1013
- - Updated stable APIs to the latest version
1014
- - Add `Price.migrate_to` property
1015
- - Add `SubscriptionSchedule.amend` method.
1016
- - Add `Discount.subscription_item` property.
1017
- - Add `Quote.subscription_data.billing_behavior`, `billing_cycle_anchor`, `end_behavior`, `from_schedule`, `from_subscription`, `prebilling`, `proration_behavior` properties.
1018
- - Add `phases` parameter to `Quote.create`
1019
- - Add `Subscription.discounts`, `prebilling` properties.
1020
727
 
1021
728
  ## 9.14.0 - 2022-07-18
1022
729
  * [#1477](https://github.com/stripe/stripe-node/pull/1477) API Updates
@@ -1040,18 +747,6 @@ Breaking changes that arose during code generation of the library that we postpo
1040
747
  * Change `Transfer.source_type` to be optional and not nullable
1041
748
  * [#1471](https://github.com/stripe/stripe-node/pull/1471) Update readme to include a note on beta packages
1042
749
 
1043
- ## 9.13.0-beta.1 - 2022-07-07
1044
- * [#1469](https://github.com/stripe/stripe-node/pull/1469) API Updates for beta branch
1045
- - Include `server_side_confirmation_beta=v1` beta
1046
- - Add `secretKeyConfirmation` to `PaymentIntent`
1047
- * [#1451](https://github.com/stripe/stripe-node/pull/1451) API Updates
1048
- - Updated stable APIs to the latest version
1049
- * [#1457](https://github.com/stripe/stripe-node/pull/1457) Use the generated API version
1050
- * [#1445](https://github.com/stripe/stripe-node/pull/1445) Support updating pre-release versions
1051
- * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
1052
- * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
1053
- * [#1444](https://github.com/stripe/stripe-node/pull/1444) Merge master branch into beta branch
1054
-
1055
750
  ## 9.12.0 - 2022-07-07
1056
751
  * [#1468](https://github.com/stripe/stripe-node/pull/1468) API Updates
1057
752
  * Add support for `currency` on `Checkout.SessionCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkCreateParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `Subscription`
@@ -1114,10 +809,6 @@ Breaking changes that arose during code generation of the library that we postpo
1114
809
  * 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`
1115
810
  * Add support for `custom_unit_amount` on `PriceCreateParams` and `Price`
1116
811
 
1117
- ## 9.8.0-beta.1 - 2022-06-08
1118
- * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
1119
- * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
1120
-
1121
812
  ## 9.7.0 - 2022-06-08
1122
813
  * [#1441](https://github.com/stripe/stripe-node/pull/1441) API Updates
1123
814
  * Add support for `affirm`, `bancontact`, `card`, `ideal`, `p24`, and `sofort` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
@@ -1138,6 +829,7 @@ Breaking changes that arose during code generation of the library that we postpo
1138
829
  * Add support for `network` on `SetupIntent.payment_method_options.card`
1139
830
  * Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `Terminal.ReaderListParams.device_type`
1140
831
 
832
+
1141
833
  ## 9.5.0 - 2022-05-26
1142
834
  * [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
1143
835
  * Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -1208,6 +900,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1208
900
  * Add support for `default_price` on `ProductUpdateParams` and `Product`
1209
901
  * Add support for `instructions_email` on `RefundCreateParams` and `Refund`
1210
902
 
903
+
1211
904
  ## 8.221.0 - 2022-05-05
1212
905
  * [#1413](https://github.com/stripe/stripe-node/pull/1413) API Updates
1213
906
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
@@ -1484,6 +1177,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1484
1177
  * [#1297](https://github.com/stripe/stripe-node/pull/1297) API Updates
1485
1178
  * Add support for `automatic_payment_methods` on `PaymentIntentCreateParams` and `PaymentIntent`
1486
1179
 
1180
+
1487
1181
  ## 8.189.0 - 2021-11-16
1488
1182
  * [#1295](https://github.com/stripe/stripe-node/pull/1295) API Updates
1489
1183
  * Add support for new resource `ShippingRate`
@@ -1506,6 +1200,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1506
1200
  * Remove support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account`. This API was unused.
1507
1201
  * Add support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account.company`
1508
1202
 
1203
+
1509
1204
  ## 8.186.0 - 2021-11-01
1510
1205
  * [#1283](https://github.com/stripe/stripe-node/pull/1283) API Updates
1511
1206
  * Add support for `ownership_declaration` on `AccountUpdateParams.company`, `AccountCreateParams.company`, `Account.company`, and `TokenCreateParams.account.company`
@@ -1649,6 +1344,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1649
1344
  * Add support for `wallet` on `Issuing.Transaction`
1650
1345
  * Add support for `ideal` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
1651
1346
 
1347
+
1652
1348
  ## 8.163.0 - 2021-07-15
1653
1349
  * [#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
1654
1350
 
@@ -3181,7 +2877,7 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
3181
2877
 
3182
2878
  - [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
3183
2879
 
3184
- ## 2.2.1 - 2013-12-01
2880
+ ### 2.2.1 - 2013-12-01
3185
2881
 
3186
2882
  - [BUGFIX] Fix user-agent header issue (see issue #75)
3187
2883
 
@@ -3244,4 +2940,3 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
3244
2940
  ## 0.0.2 - 2011-09-28
3245
2941
 
3246
2942
  - Initial release with customers and tokens APIs
3247
-