stripe 13.3.0 → 13.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/CHANGELOG.md +393 -109
  2. package/README.md +39 -0
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +65 -5
  5. package/cjs/StripeResource.js +1 -1
  6. package/cjs/apiVersion.js +2 -1
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/AccountSessions.js +9 -0
  9. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  10. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  11. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  12. package/cjs/resources/CustomerSessions.js +9 -0
  13. package/cjs/resources/FinancialConnections/Accounts.js +13 -0
  14. package/cjs/resources/FinancialConnections/Transactions.js +13 -0
  15. package/cjs/resources/GiftCards/Cards.js +23 -0
  16. package/cjs/resources/GiftCards/Transactions.js +33 -0
  17. package/cjs/resources/Issuing/CardBundles.js +17 -0
  18. package/cjs/resources/Issuing/CardDesigns.js +21 -0
  19. package/cjs/resources/OAuth.js +1 -1
  20. package/cjs/resources/Orders.js +24 -0
  21. package/cjs/resources/PaymentMethodConfigurations.js +25 -0
  22. package/cjs/resources/QuotePhases.js +22 -0
  23. package/cjs/resources/Quotes.js +32 -0
  24. package/cjs/resources/SubscriptionSchedules.js +4 -0
  25. package/cjs/resources/Tax/Forms.js +20 -0
  26. package/cjs/resources/Tax/Registrations.js +18 -0
  27. package/cjs/resources/Terminal/Readers.js +12 -0
  28. package/cjs/resources/TestHelpers/Issuing/CardDesigns.js +16 -0
  29. package/cjs/resources/TestHelpers/Issuing/Cards.js +4 -0
  30. package/cjs/resources.js +49 -11
  31. package/cjs/stripe.core.js +6 -3
  32. package/cjs/utils.js +30 -3
  33. package/esm/RequestSender.js +66 -6
  34. package/esm/StripeResource.js +2 -2
  35. package/esm/apiVersion.js +1 -0
  36. package/esm/multipart.js +2 -2
  37. package/esm/resources/AccountSessions.js +6 -0
  38. package/esm/resources/Capital/FinancingOffers.js +18 -0
  39. package/esm/resources/Capital/FinancingSummary.js +9 -0
  40. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  41. package/esm/resources/CustomerSessions.js +6 -0
  42. package/esm/resources/FinancialConnections/Accounts.js +13 -0
  43. package/esm/resources/FinancialConnections/Transactions.js +10 -0
  44. package/esm/resources/GiftCards/Cards.js +20 -0
  45. package/esm/resources/GiftCards/Transactions.js +30 -0
  46. package/esm/resources/Issuing/CardBundles.js +14 -0
  47. package/esm/resources/Issuing/CardDesigns.js +18 -0
  48. package/esm/resources/OAuth.js +2 -2
  49. package/esm/resources/Orders.js +21 -0
  50. package/esm/resources/PaymentMethodConfigurations.js +22 -0
  51. package/esm/resources/QuotePhases.js +19 -0
  52. package/esm/resources/Quotes.js +32 -0
  53. package/esm/resources/SubscriptionSchedules.js +4 -0
  54. package/esm/resources/Tax/Forms.js +17 -0
  55. package/esm/resources/Tax/Registrations.js +15 -0
  56. package/esm/resources/Terminal/Readers.js +12 -0
  57. package/esm/resources/TestHelpers/Issuing/CardDesigns.js +13 -0
  58. package/esm/resources/TestHelpers/Issuing/Cards.js +4 -0
  59. package/esm/resources.js +34 -1
  60. package/esm/stripe.core.js +6 -3
  61. package/esm/utils.js +27 -1
  62. package/package.json +1 -1
  63. package/types/AccountSessions.d.ts +89 -0
  64. package/types/AccountSessionsResource.d.ts +86 -0
  65. package/types/Accounts.d.ts +39 -0
  66. package/types/AccountsResource.d.ts +75 -2
  67. package/types/BalanceTransactions.d.ts +7 -1
  68. package/types/BalanceTransactionsResource.d.ts +1 -1
  69. package/types/BankAccounts.d.ts +1 -1
  70. package/types/Capital/FinancingOffers.d.ts +183 -0
  71. package/types/Capital/FinancingOffersResource.d.ts +94 -0
  72. package/types/Capital/FinancingSummary.d.ts +106 -0
  73. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  74. package/types/Capital/FinancingTransactions.d.ts +135 -0
  75. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  76. package/types/Charges.d.ts +26 -0
  77. package/types/ChargesResource.d.ts +580 -0
  78. package/types/Checkout/Sessions.d.ts +38 -2
  79. package/types/Checkout/SessionsResource.d.ts +19 -3
  80. package/types/Coupons.d.ts +1 -1
  81. package/types/CouponsResource.d.ts +1 -1
  82. package/types/CustomerSessions.d.ts +38 -0
  83. package/types/CustomerSessionsResource.d.ts +27 -0
  84. package/types/Discounts.d.ts +10 -0
  85. package/types/Events.d.ts +198 -1
  86. package/types/FinancialConnections/Accounts.d.ts +74 -0
  87. package/types/FinancialConnections/AccountsResource.d.ts +75 -1
  88. package/types/FinancialConnections/InferredBalances.d.ts +38 -0
  89. package/types/FinancialConnections/Sessions.d.ts +44 -1
  90. package/types/FinancialConnections/SessionsResource.d.ts +33 -1
  91. package/types/FinancialConnections/Transactions.d.ts +85 -0
  92. package/types/FinancialConnections/TransactionsResource.d.ts +48 -0
  93. package/types/GiftCards/Cards.d.ts +118 -0
  94. package/types/GiftCards/CardsResource.d.ts +159 -0
  95. package/types/GiftCards/Transactions.d.ts +129 -0
  96. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  97. package/types/InvoiceItemsResource.d.ts +88 -0
  98. package/types/Invoices.d.ts +48 -3
  99. package/types/InvoicesResource.d.ts +424 -2
  100. package/types/Issuing/Authorizations.d.ts +25 -0
  101. package/types/Issuing/CardBundles.d.ts +48 -0
  102. package/types/Issuing/CardBundlesResource.d.ts +63 -0
  103. package/types/Issuing/CardDesigns.d.ts +58 -0
  104. package/types/Issuing/CardDesignsResource.d.ts +113 -0
  105. package/types/Issuing/CardholdersResource.d.ts +4 -2
  106. package/types/Issuing/Cards.d.ts +41 -1
  107. package/types/Issuing/CardsResource.d.ts +130 -0
  108. package/types/Issuing/Transactions.d.ts +17 -0
  109. package/types/LineItems.d.ts +7 -0
  110. package/types/Mandates.d.ts +11 -0
  111. package/types/Orders.d.ts +1044 -0
  112. package/types/OrdersResource.d.ts +2683 -0
  113. package/types/PaymentIntents.d.ts +198 -1
  114. package/types/PaymentIntentsResource.d.ts +1428 -68
  115. package/types/PaymentLinks.d.ts +9 -0
  116. package/types/PaymentMethodConfigurations.d.ts +1384 -0
  117. package/types/PaymentMethodConfigurationsResource.d.ts +1758 -0
  118. package/types/PaymentMethods.d.ts +16 -0
  119. package/types/Persons.d.ts +1 -1
  120. package/types/Prices.d.ts +22 -0
  121. package/types/PricesResource.d.ts +22 -0
  122. package/types/Products.d.ts +39 -0
  123. package/types/ProductsResource.d.ts +36 -0
  124. package/types/QuoteLines.d.ts +580 -0
  125. package/types/QuotePhases.d.ts +193 -0
  126. package/types/QuotePhasesResource.d.ts +67 -0
  127. package/types/QuotePreviewInvoices.d.ts +1344 -0
  128. package/types/QuotePreviewSchedules.d.ts +660 -0
  129. package/types/Quotes.d.ts +527 -1
  130. package/types/QuotesResource.d.ts +3021 -215
  131. package/types/Reporting/ReportRunsResource.d.ts +1 -0
  132. package/types/SetupAttempts.d.ts +4 -0
  133. package/types/SetupIntents.d.ts +46 -1
  134. package/types/SetupIntentsResource.d.ts +85 -3
  135. package/types/Sources.d.ts +23 -0
  136. package/types/SubscriptionItems.d.ts +23 -0
  137. package/types/SubscriptionItemsResource.d.ts +147 -0
  138. package/types/SubscriptionSchedules.d.ts +214 -0
  139. package/types/SubscriptionSchedulesResource.d.ts +1310 -15
  140. package/types/Subscriptions.d.ts +53 -2
  141. package/types/SubscriptionsResource.d.ts +443 -2
  142. package/types/Tax/Forms.d.ts +133 -0
  143. package/types/Tax/FormsResource.d.ts +90 -0
  144. package/types/Tax/Registrations.d.ts +1006 -0
  145. package/types/Tax/RegistrationsResource.d.ts +1280 -0
  146. package/types/Terminal/Readers.d.ts +183 -0
  147. package/types/Terminal/ReadersResource.d.ts +171 -0
  148. package/types/TestHelpers/Issuing/CardDesignsResource.d.ts +55 -0
  149. package/types/TestHelpers/Issuing/CardsResource.d.ts +22 -0
  150. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  151. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  152. package/types/TokensResource.d.ts +39 -0
  153. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  154. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  155. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  156. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  157. package/types/WebhookEndpointsResource.d.ts +50 -0
  158. package/types/index.d.ts +74 -0
  159. package/types/lib.d.ts +12 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 13.5.0-beta.1 - 2023-08-31
4
+ * [#1883](https://github.com/stripe/stripe-node/pull/1883) Update generated code for beta
5
+ * Rename `Quote.listPreviewSubscriptionSchedules` to `Quote.listPreviewSchedules` and `Quote.listPreview
6
+
3
7
  ## 13.3.0 - 2023-08-24
4
8
  * [#1879](https://github.com/stripe/stripe-node/pull/1879) Update generated code
5
9
  * Add support for `retention` on `BillingPortal.Session.flow.subscription_cancel` and `BillingPortal.SessionCreateParams.flow_data.subscription_cancel`
@@ -57,12 +61,37 @@
57
61
  * These fields are not fully operational.
58
62
  * ⚠️Add support for new value `2023-08-16` on enum `WebhookEndpointCreateParams.api_version`
59
63
 
64
+ ## 13.0.0-beta.1 - 2023-08-24
65
+ * [#1873](https://github.com/stripe/stripe-node/pull/1873) Update generated code for beta
66
+ * Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
67
+ * 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
68
+ * Remove support for `applies_to` on `Invoice` and `SubscriptionSchedule`
69
+ * Add support for `cl`, `co`, `id`, `kr`, `mx`, `my`, `sa`, `th`, `tr`, and `vn` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
70
+ * Remove support for `hk` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
71
+
72
+ ## 12.19.0-beta.1 - 2023-08-10
73
+ * [#1868](https://github.com/stripe/stripe-node/pull/1868) Update generated code for beta
74
+ * Add support for `paypal` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
75
+ * Add support for new value `quote.accept_failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
76
+
60
77
  ## 12.18.0 - 2023-08-10
61
78
  * [#1867](https://github.com/stripe/stripe-node/pull/1867) Update generated code
62
79
  * 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`
63
80
  * Add support for new value `payment_reversal` on enum `BalanceTransaction.type`
64
81
  * Change `Invoice.subscription_details.metadata` and `Invoice.subscription_details` to be required
65
82
 
83
+ ## 12.18.0-beta.1 - 2023-08-03
84
+ * [#1861](https://github.com/stripe/stripe-node/pull/1861) Update generated code for beta
85
+ * Add support for `submit_card` test helper method on resource `Issuing.Card`
86
+ * Add support for `address_validation` on `Issuing.Card.shipping` and `Issuing.CardCreateParams.shipping`
87
+ * Add support for `shipping` on `Issuing.CardUpdateParams`
88
+ * Add support for new value `submitted` on enum `Issuing.Card.shipping.status`
89
+ * 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)`
90
+ * Add support for `reason` on `QuoteMarkStaleQuoteParams`
91
+ * Add support for `marked_stale` on `Quote.status_details.stale.last_reason`
92
+ * Change `Tax.FormListParams.payee.type` to be optional
93
+ * [#1864](https://github.com/stripe/stripe-node/pull/1864) Remove developer_message support
94
+
66
95
  ## 12.17.0 - 2023-08-03
67
96
  * [#1863](https://github.com/stripe/stripe-node/pull/1863) Update generated code
68
97
  * Change many types from `string` to `emptyStringable(string)`
@@ -71,14 +100,14 @@
71
100
  * Add support for new values `sepa_debit_fingerprint` and `us_bank_account_fingerprint` on enums `Radar.ValueList.item_type` and `Radar.ValueListCreateParams.item_type`
72
101
  * [#1866](https://github.com/stripe/stripe-node/pull/1866) Allow monkey patching http / https
73
102
 
103
+ ## 12.17.0-beta.1 - 2023-07-27
104
+ * Updated stable APIs to the latest version
105
+
74
106
  ## 12.16.0 - 2023-07-27
75
107
  * [#1853](https://github.com/stripe/stripe-node/pull/1853) Update generated code
76
108
  * Add support for `monthly_estimated_revenue` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
77
109
  * [#1859](https://github.com/stripe/stripe-node/pull/1859) Revert "import * as http -> import http from 'http'"
78
110
 
79
- ## 12.15.0 - 2023-07-27 (DEPRECATED ⚠️ )
80
- * 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.
81
-
82
111
  ## 12.14.0 - 2023-07-20
83
112
  * [#1842](https://github.com/stripe/stripe-node/pull/1842) Update generated code
84
113
  * 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`
@@ -89,6 +118,17 @@
89
118
  * [#1849](https://github.com/stripe/stripe-node/pull/1849) Changelog: fix delimiterless namespaced param types
90
119
  * [#1848](https://github.com/stripe/stripe-node/pull/1848) Changelog: `CheckoutSessionCreateParams` -> `Checkout.SessionCreateParams`
91
120
 
121
+ ## 12.14.0-beta.1 - 2023-07-13
122
+ * [#1840](https://github.com/stripe/stripe-node/pull/1840) Update generated code for beta
123
+ Release specs are identical.
124
+ * [#1837](https://github.com/stripe/stripe-node/pull/1837) Update generated code for beta
125
+ * Add support for new resource `PaymentMethodConfiguration`
126
+ * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
127
+ * Add support for `payment_method_configuration` on `PaymentIntentCreateParams` and `PaymentIntentUpdateParams`
128
+ * Add support for `payment_method_configuration_details` on `PaymentIntent`
129
+ * Rename `Tax.SettingRetrieveParam` to `Tax.SettingsRetrieveParam` and `Tax.SettingUpdateParams` to `Tax.SettingsUpdateParams` (parity with main release)
130
+ * [#1832](https://github.com/stripe/stripe-node/pull/1832) Update generated code for beta
131
+
92
132
  ## 12.13.0 - 2023-07-13
93
133
  * [#1838](https://github.com/stripe/stripe-node/pull/1838) Update generated code
94
134
  * Add support for new resource `Tax.Settings`
@@ -105,6 +145,11 @@
105
145
  * Add support for `numeric` and `text` on `PaymentLink.custom_fields[]`
106
146
  * Add support for `automatic_tax` on `SubscriptionListParams`
107
147
 
148
+ ## 12.12.0-beta.1 - 2023-06-29
149
+ * [#1824](https://github.com/stripe/stripe-node/pull/1824) Update generated code for beta
150
+ * Add support for `metadata` on `Invoice.subscription_details`
151
+ * Change `Invoice.subscription_details.pause_collection` to be optional
152
+
108
153
  ## 12.11.0 - 2023-06-29
109
154
  * [#1823](https://github.com/stripe/stripe-node/pull/1823) Update generated code
110
155
  * 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`
@@ -112,16 +157,26 @@
112
157
  * Add support for `effective_at` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
113
158
  * [#1828](https://github.com/stripe/stripe-node/pull/1828) Better CryptoProvider error
114
159
 
160
+ ## 12.11.0-beta.1 - 2023-06-22
161
+ * [#1821](https://github.com/stripe/stripe-node/pull/1821) Update generated code for beta
162
+ * Add support for new resource `CustomerSession`
163
+ * Add support for `create` method on resource `CustomerSession`
164
+ * 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')`
165
+
115
166
  ## 12.10.0 - 2023-06-22
116
167
  * [#1820](https://github.com/stripe/stripe-node/pull/1820) Update generated code
117
168
  * Add support for `on_behalf_of` on `Mandate`
118
- * [#1817](https://github.com/stripe/stripe-node/pull/1817) Update README.md
119
- * [#1819](https://github.com/stripe/stripe-node/pull/1819) Update generated code
120
- * Release specs are identical.
121
169
  * [#1813](https://github.com/stripe/stripe-node/pull/1813) Update generated code
122
170
  * Change type of `Checkout.Session.success_url` from `string` to `string | null`
123
- * Change type of `FileCreateParams.file` from `string` to `file`
124
- * [#1815](https://github.com/stripe/stripe-node/pull/1815) Generate FileCreateParams
171
+
172
+ ## 12.10.0-beta.2 - 2023-06-15
173
+ * [#1818](https://github.com/stripe/stripe-node/pull/1818) Update generated code for beta
174
+ * Add support for `payment_details` on `ChargeCaptureParams`, `ChargeUpdateParams`, `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
175
+ * 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`
176
+ * [#1814](https://github.com/stripe/stripe-node/pull/1814) Update generated code for beta
177
+
178
+ ## 12.10.0-beta.1 - 2023-06-08
179
+ * [#1811](https://github.com/stripe/stripe-node/pull/1811) Update generated code for beta
125
180
 
126
181
  ## 12.9.0 - 2023-06-08
127
182
  * [#1809](https://github.com/stripe/stripe-node/pull/1809) Update generated code
@@ -129,6 +184,20 @@
129
184
  * Add support for `taxability_reason` on `Tax.Calculation.tax_breakdown[]`
130
185
  * [#1812](https://github.com/stripe/stripe-node/pull/1812) More helpful error when signing secrets contain whitespace
131
186
 
187
+ ## 12.9.0-beta.1 - 2023-06-01
188
+ * [#1801](https://github.com/stripe/stripe-node/pull/1801) Update generated code for beta
189
+ * Add support for `subscription_details` on `Invoice`
190
+ * 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[]`
191
+ * 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`
192
+ * Add support for `set_pause_collection` on `QuoteCreateParams.lines[]`, `QuoteLine`, `QuoteUpdateParams.lines[]`, and `SubscriptionScheduleAmendParams.amendments[]`
193
+ * 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`
194
+ * Add support for `pause_collection` on `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, and `SubscriptionScheduleUpdateParams.phases[]`
195
+ * Add support for `local_amusement_tax` on `Tax.Registration.country_options.us` and `TaxRegistrationCreateParams.country_options.us`
196
+ * Remove support for `locations` on `Tax.Settings` and `TaxSettingUpdateParams`
197
+ * Add support for new values `customer.subscription.collection_paused` and `customer.subscription.collection_resumed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
198
+ * [#1775](https://github.com/stripe/stripe-node/pull/1775) Introduce stripe.rawRequest as a canonical way to request APIs without definitions
199
+ * Please refer to the [Custom Requests README section](https://github.com/stripe/stripe-node/tree/beta#custom-requests) for usage instructions.
200
+
132
201
  ## 12.8.0 - 2023-06-01
133
202
  * [#1799](https://github.com/stripe/stripe-node/pull/1799) Update generated code
134
203
  * Add support for `numeric` and `text` on `Checkout.SessionCreateParams.custom_fields[]`, `PaymentLinkCreateParams.custom_fields[]`, and `PaymentLinkUpdateParams.custom_fields[]`
@@ -139,6 +208,9 @@
139
208
  * Add support for `description`, `iin`, and `issuer` on `PaymentMethod.card_present` and `PaymentMethod.interac_present`
140
209
  * Add support for `payer_email` on `PaymentMethod.paypal`
141
210
 
211
+ ## 12.8.0-beta.1 - 2023-05-25
212
+ * [#1795](https://github.com/stripe/stripe-node/pull/1795) Update generated code for beta
213
+
142
214
  ## 12.7.0 - 2023-05-25
143
215
  * [#1797](https://github.com/stripe/stripe-node/pull/1797) Update generated code
144
216
  * Add support for `zip_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -149,6 +221,13 @@
149
221
  * 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`
150
222
  * Add support for new value `zip` on enum `PaymentMethod.type`
151
223
 
224
+ ## 12.7.0-beta.1 - 2023-05-19
225
+ * [#1788](https://github.com/stripe/stripe-node/pull/1788) Update generated code for beta
226
+ * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
227
+ * 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`
228
+ * Add support for `status_details` and `status` on `Tax.Settings`
229
+ * Add support for new value `tax.settings.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
230
+
152
231
  ## 12.6.0 - 2023-05-19
153
232
  * [#1787](https://github.com/stripe/stripe-node/pull/1787) Update generated code
154
233
  * Add support for `subscription_update_confirm` and `subscription_update` on `BillingPortal.Session.flow` and `BillingPortal.SessionCreateParams.flow_data`
@@ -157,6 +236,18 @@
157
236
  * Add support for `buyer_id` and `cashtag` on `Charge.payment_method_details.cashapp` and `PaymentMethod.cashapp`
158
237
  * Add support for new values `amusement_tax` and `communications_tax` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
159
238
 
239
+ ## 12.6.0-beta.1 - 2023-05-11
240
+ * [#1786](https://github.com/stripe/stripe-node/pull/1786) Update generated code for beta
241
+ * Add support for `payer_email`, `payer_name`, and `seller_protection` on `Charge.payment_method_details.paypal`
242
+ * 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
243
+ * Add support for `capture_method`, `preferred_locale`, `reference_id`, and `setup_future_usage` on `CheckoutSessionCreateParams.payment_method_options.paypal`
244
+ * 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`
245
+ * 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`
246
+ * Remove support for `billing_agreement_id` and `currency` on `CheckoutSessionCreateParams.payment_method_options.paypal`
247
+ * Add support for `fingerprint`, `payer_id`, and `verified_email` on `Mandate.payment_method_details.paypal` and `PaymentMethod.paypal`
248
+ * Add support for `taxability_reason` and `taxable_amount` on `Order.shipping_cost.taxes[]`, `Order.total_details.breakdown.taxes[]`, and `QuotePhase.total_details.breakdown.taxes[]`
249
+ * Add support for `head_office` on `Tax.Settings` and `TaxSettingUpdateParams`
250
+
160
251
  ## 12.5.0 - 2023-05-11
161
252
  * [#1785](https://github.com/stripe/stripe-node/pull/1785) Update generated code
162
253
  * 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`
@@ -174,12 +265,25 @@
174
265
  * Add support for `effective_percentage` on `TaxRate`
175
266
  * Add support for `gb_bank_transfer` and `jp_bank_transfer` on `CustomerCashBalanceTransaction.Funded.BankTransfer`
176
267
 
268
+ ## 12.5.0-beta.1 - 2023-05-04
269
+ * [#1773](https://github.com/stripe/stripe-node/pull/1773) Update generated code for beta
270
+ * Updated stable APIs to the latest version
271
+
177
272
  ## 12.4.0 - 2023-05-04
178
273
  * [#1774](https://github.com/stripe/stripe-node/pull/1774) Update generated code
179
274
  * Add support for `link` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
180
275
  * Add support for `brand`, `country`, `description`, `exp_month`, `exp_year`, `fingerprint`, `funding`, `iin`, `issuer`, `last4`, `network`, and `wallet` on `SetupAttempt.payment_method_details.card`
181
276
  * [#1782](https://github.com/stripe/stripe-node/pull/1782) Let user supply a timestamp when verifying webhooks
182
277
 
278
+ ## 12.4.0-beta.1 - 2023-04-27
279
+ * [#1769](https://github.com/stripe/stripe-node/pull/1769) Update generated code for beta
280
+ * Add support for `billing_cycle_anchor` and `proration_behavior` on `CheckoutSessionCreateParams.subscription_data`
281
+ * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
282
+ * Add support for `metadata` on `PaymentIntentCaptureParams`
283
+ * Add support for `checks` on `SetupAttempt.payment_method_details.card`
284
+ * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
285
+ * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
286
+
183
287
  ## 12.3.0 - 2023-04-27
184
288
  * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
185
289
  * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
@@ -187,6 +291,21 @@
187
291
  * Add support for `metadata` on `PaymentIntentCaptureParams`
188
292
  * Add support for `checks` on `SetupAttempt.payment_method_details.card`
189
293
  * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
294
+ * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
295
+
296
+ ## 12.3.0 - 2023-04-27
297
+ * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
298
+ * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
299
+ * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
300
+ * Add support for `metadata` on `PaymentIntentCaptureParams`
301
+ * Add support for `checks` on `SetupAttempt.payment_method_details.card`
302
+ * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
303
+
304
+ ## 12.3.0-beta.1 - 2023-04-20
305
+ * [#1760](https://github.com/stripe/stripe-node/pull/1760) Update generated code for beta
306
+ * Add support for `zip` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
307
+ * Add support for `country_options` on `Tax.Registration` and `TaxRegistrationCreateParams`
308
+ * Remove support for `state` and `type` on `Tax.Registration` and `TaxRegistrationCreateParams`
190
309
 
191
310
  ## 12.2.0 - 2023-04-20
192
311
  * [#1759](https://github.com/stripe/stripe-node/pull/1759) Update generated code
@@ -197,6 +316,16 @@
197
316
  * [#1762](https://github.com/stripe/stripe-node/pull/1762) Add Deno webhook signing example
198
317
  * [#1761](https://github.com/stripe/stripe-node/pull/1761) Add Deno usage instructions in README
199
318
 
319
+ ## 12.2.0-beta.1 - 2023-04-13
320
+ * [#1751](https://github.com/stripe/stripe-node/pull/1751) Update generated code for beta
321
+ * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
322
+ * Add support for `paypal_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
323
+ * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
324
+ * Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal.Reader.action`
325
+ * Add support for `stripe_account` on `Terminal.Reader.action.process_payment_intent` and `Terminal.Reader.action.refund_payment`
326
+ * Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `Terminal.Reader.action.type`
327
+ * Add support for new value `terminal.reader.action_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
328
+
200
329
  ## 12.1.1 - 2023-04-13
201
330
  No product changes.
202
331
 
@@ -205,6 +334,16 @@ No product changes.
205
334
  * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
206
335
  * [#1749](https://github.com/stripe/stripe-node/pull/1749) Type extend and ResourceNamespace better
207
336
 
337
+ ## 12.1.0-beta.1 - 2023-04-06
338
+ * [#1737](https://github.com/stripe/stripe-node/pull/1737) Update generated code for beta
339
+ * Add support for `treasury_transaction` on `CapitalFinancingTransactionListParams`
340
+ * Add support for `transaction` on `Capital.FinancingTransaction.details`
341
+ * Add support for new value `link` on enums `Charge.payment_method_details.card.wallet.type` and `PaymentMethod.card.wallet.type`
342
+ * Change `IssuingCardholderCreateParams.type` to be optional
343
+ * Add support for `country` on `PaymentMethod.link`
344
+ * Add support for `status_details` on `PaymentMethod.us_bank_account`
345
+ * [#1750](https://github.com/stripe/stripe-node/pull/1750) Merge master into beta
346
+
208
347
  ## 12.0.0 - 2023-04-06
209
348
  * [#1743](https://github.com/stripe/stripe-node/pull/1743) Remove `Stripe.default` and `Stripe.Stripe`
210
349
  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.
@@ -247,6 +386,11 @@ This was added to maintain backwards compatibility during the transition of stri
247
386
  * Add support for `status_details` on `PaymentMethod.us_bank_account`
248
387
  * [#1747](https://github.com/stripe/stripe-node/pull/1747) (Typescript) remove deprecated properties
249
388
 
389
+ ## 11.18.0-beta.1 - 2023-03-30
390
+ * [#1735](https://github.com/stripe/stripe-node/pull/1735) Update generated code
391
+ * Add support for new value `ioss` on enums `Tax.Registration.type` and `TaxRegistrationCreateParams.type`
392
+ * Change `TerminalReaderCollectInputsParams.inputs[].custom_text.description` to be optional
393
+
250
394
  ## 11.17.0 - 2023-03-30
251
395
  * [#1734](https://github.com/stripe/stripe-node/pull/1734) Update generated code
252
396
  * Remove support for `create` method on resource `Tax.Transaction`
@@ -256,6 +400,21 @@ This was added to maintain backwards compatibility during the transition of stri
256
400
  * This is not a breaking change, as `deleted` was never returned or accepted as input.
257
401
  * Add support for `amount_tip` on `Terminal.ReaderPresentPaymentMethodParams.testHelpers`
258
402
 
403
+ ## 11.17.0-beta.1 - 2023-03-23
404
+ * [#1724](https://github.com/stripe/stripe-node/pull/1724) Update generated code for beta (new)
405
+ * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
406
+ * Add support for `collect_inputs` method on resource `Terminal.Reader`
407
+ * Add support for `financing_offer` on `Capital.FinancingSummary`
408
+ * Add support for new value `link` on enum `CheckoutSessionCreateParams.payment_method_types[]`
409
+ * Add support for `fx_rate` on `Checkout.Session.currency_conversion`
410
+ * Add support for new value `link` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
411
+ * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
412
+ * Remove support for `preview` on `TaxCalculationCreateParams`
413
+ * Change type of `Tax.Calculation.line_items[]` from `LineItem` to `Tax.CalculationLineItem`
414
+ * Change type of `Tax.Transaction.line_items[]` from `LineItem` to `Tax.TransactionLineItem`
415
+ * Add support for `collect_inputs` on `Terminal.Reader.action`
416
+ * Add support for new value `collect_inputs` on enum `Terminal.Reader.action.type`
417
+
259
418
  ## 11.16.0 - 2023-03-23
260
419
  * [#1730](https://github.com/stripe/stripe-node/pull/1730) Update generated code
261
420
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
@@ -267,6 +426,19 @@ This was added to maintain backwards compatibility during the transition of stri
267
426
  * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
268
427
  * [#1726](https://github.com/stripe/stripe-node/pull/1726) Add Deno entry point
269
428
 
429
+ ## 11.16.0-beta.1 - 2023-03-17
430
+ * [#1713](https://github.com/stripe/stripe-node/pull/1713) API Updates
431
+ * Add support for `create_from_calculation` method on resource `Tax.Transaction`
432
+ * Change type of `Invoice.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
433
+ * 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`
434
+ * 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`
435
+ * 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`
436
+ * 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
437
+ * Remove support for `applies_to` on `QuotePreviewInvoiceLinesParams`
438
+ * Add support for `shipping_cost` on `Tax.Calculation`, `Tax.Transaction`, `TaxCalculationCreateParams`, and `TaxTransactionCreateReversalParams`
439
+ * Add support for `tax_breakdown` on `Tax.Calculation`
440
+ * Remove support for `tax_summary` on `Tax.Calculation`
441
+
270
442
  ## 11.15.0 - 2023-03-16
271
443
  * [#1714](https://github.com/stripe/stripe-node/pull/1714) API Updates
272
444
  * Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -295,6 +467,16 @@ This was added to maintain backwards compatibility during the transition of stri
295
467
  * Add support for new value `cashapp` on enum `PaymentMethod.type`
296
468
  * Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
297
469
 
470
+ ## 11.15.0-beta.1 - 2023-03-09
471
+ * [#1705](https://github.com/stripe/stripe-node/pull/1705) API Updates for beta branch
472
+ * Updated stable APIs to the latest version
473
+ * Remove support for `list_transactions` method on resource `Tax.Transaction`
474
+ * Add support for `amendment_start` and `timestamp` on `SubscriptionScheduleAmendParams.prebilling[].bill_from`
475
+ * Change type of `SubscriptionScheduleAmendParams.prebilling[].bill_from.type` from `literal('now')` to `enum('amendment_start'|'now'|'timestamp')`
476
+ * Change type of `SubscriptionSchedule.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
477
+ * Add support for new value `lease_tax` on enum `Tax.Calculation.tax_summary[].tax_rate_details.tax_type`
478
+ * Add support for `tax_behavior` on `Tax.Settings.defaults` and `TaxSettingUpdateParams.defaults`
479
+
298
480
  ## 11.14.0 - 2023-03-09
299
481
  * [#1703](https://github.com/stripe/stripe-node/pull/1703) API Updates
300
482
  * Add support for `card_issuing` on `Issuing.CardholderCreateParams.individual` and `Issuing.CardholderUpdateParams.individual`
@@ -305,6 +487,25 @@ This was added to maintain backwards compatibility during the transition of stri
305
487
  * [#1695](https://github.com/stripe/stripe-node/pull/1695) Migrate generated files to ES module syntax
306
488
  * [#1699](https://github.com/stripe/stripe-node/pull/1699) Remove extra test directory
307
489
 
490
+ ## 11.14.0-beta.2 - 2023-03-03
491
+ * [#1698](https://github.com/stripe/stripe-node/pull/1698) API Updates for beta branch
492
+ * Updated stable APIs to the latest version
493
+ * Add support for `update_behavior` on `Subscription.prebilling`, `SubscriptionCreateParams.prebilling`, `SubscriptionSchedule.prebilling`, `SubscriptionScheduleCreateParams.prebilling`, `SubscriptionScheduleUpdateParams.prebilling`, and `SubscriptionUpdateParams.prebilling`
494
+ * Add support for `prebilling` on `SubscriptionScheduleAmendParams`
495
+ * Add support for `taxability_override` on `Tax.Calculation.customer_details`, `Tax.Transaction.customer_details`, and `TaxCalculationCreateParams.customer_details`
496
+ * Add support for `tax_summary` on `Tax.Calculation`
497
+ * Remove support for `tax_breakdown` on `Tax.Calculation`
498
+
499
+ ## 11.14.0-beta.1 - 2023-03-02
500
+ * [#1697](https://github.com/stripe/stripe-node/pull/1697) API Updates for beta branch
501
+ * Updated stable APIs to the latest version
502
+ * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
503
+ * Add support for `list` and `retrieve` methods on resource `CardBundle`
504
+ * Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
505
+ * Remove support for `controller` on `AccountUpdateParams`
506
+ * Add support for `card_design` on `Issuing.Card` and `IssuingCardCreateParams`
507
+ * 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[]`
508
+
308
509
  ## 11.13.0 - 2023-03-02
309
510
  * [#1696](https://github.com/stripe/stripe-node/pull/1696) API Updates
310
511
  * 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.
@@ -313,6 +514,14 @@ This was added to maintain backwards compatibility during the transition of stri
313
514
 
314
515
  * [#1689](https://github.com/stripe/stripe-node/pull/1689) Update v11.8.0 changelog with breaking change disclaimer
315
516
 
517
+ ## 11.13.0-beta.1 - 2023-02-23
518
+ * [#1690](https://github.com/stripe/stripe-node/pull/1690) API Updates for beta branch
519
+ * Updated stable APIs to the latest version
520
+ * 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`
521
+ * Add support for new value `igst` on enum `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`
522
+ * Change `TaxTransactionCreateParams.reference` to be required
523
+ * 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[]`
524
+
316
525
  ## 11.12.0 - 2023-02-23
317
526
  * [#1688](https://github.com/stripe/stripe-node/pull/1688) API Updates
318
527
  * 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`
@@ -320,6 +529,15 @@ This was added to maintain backwards compatibility during the transition of stri
320
529
  * Add support for new value `igst` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
321
530
  * [#1687](https://github.com/stripe/stripe-node/pull/1687) Convert TypeScript files to use ES modules
322
531
 
532
+ ## 11.12.0-beta.1 - 2023-02-16
533
+ * [#1686](https://github.com/stripe/stripe-node/pull/1686) API Updates for beta branch
534
+ * Updated stable APIs to the latest version
535
+ * Change type of `Quote.status_details.canceled` from `QuotesResourceStatusDetailsCanceledStatusDetails | null` to `QuotesResourceStatusDetailsCanceledStatusDetails`
536
+ * Change type of `Quote.status_details.stale` from `QuotesResourceStatusDetailsStaleStatusDetails | null` to `QuotesResourceStatusDetailsStaleStatusDetails`
537
+ * Change `Quote.status_details.canceled` and `Quote.status_details.stale` to be optional
538
+ * Remove support for `reference` on `Tax.Calculation` and `TaxCalculationCreateParams`
539
+ * Add support for `reference` on `TaxTransactionCreateParams`
540
+
323
541
  ## 11.11.0 - 2023-02-16
324
542
  * [#1681](https://github.com/stripe/stripe-node/pull/1681) API Updates
325
543
  * Add support for `refund_payment` method on resource `Terminal.Reader`
@@ -334,9 +552,32 @@ This was added to maintain backwards compatibility during the transition of stri
334
552
  * [#1685](https://github.com/stripe/stripe-node/pull/1685) Add more webhook parsing checks
335
553
  * [#1684](https://github.com/stripe/stripe-node/pull/1684) Add infrastructure for mocked tests
336
554
 
555
+ ## 11.11.0-beta.1 - 2023-02-13
556
+ * [#1676](https://github.com/stripe/stripe-node/pull/1676) API Updates for beta branch
557
+ * Updated stable APIs to the latest version
558
+ * Add support for `currency_conversion` on `Checkout.Session`
559
+ * Add support for `limits` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
560
+ * Remove support for `enabled` on `FinancialConnectionsSessionCreateParams.manual_entry`
561
+
337
562
  ## 11.10.0 - 2023-02-09
338
563
  * [#1679](https://github.com/stripe/stripe-node/pull/1679) Enable library to work in worker environments without extra configuration.
339
564
 
565
+ ## 11.10.0-beta.1 - 2023-02-02
566
+ * [#1671](https://github.com/stripe/stripe-node/pull/1671) API Updates for beta branch
567
+ * Updated stable APIs to the latest version
568
+ * Add support for new resource `FinancialConnections.Transaction`
569
+ * Add support for `list` method on resource `Transaction`
570
+ * Add support for `prefetch` on `.payment_method_options.us_bank_account.financial_connections` across several APIs
571
+ * 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
572
+ * Add support for new values `inferred_balances` and `transactions` on enum `FinancialConnectionsAccountRefreshParams.features[]`
573
+ * Add support for `inferred_balances_refresh`, `subscriptions`, and `transaction_refresh` on `FinancialConnections.Account`
574
+ * Add support for `manual_entry` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
575
+ * Add support for `status_details` and `status` on `FinancialConnections.Session`
576
+ * 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[]`
577
+ * Add support for `account_number` on `PaymentMethod.us_bank_account`
578
+ * Remove support for `id` on `QuoteCreateParams.lines[].starts_at.line_ends_at`
579
+ * 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[]`
580
+
340
581
  ## 11.9.1 - 2023-02-03
341
582
  * [#1672](https://github.com/stripe/stripe-node/pull/1672) Update main entrypoint on package.json
342
583
 
@@ -362,12 +603,23 @@ This was added to maintain backwards compatibility during the transition of stri
362
603
  * [#1668](https://github.com/stripe/stripe-node/pull/1668) Use EventTarget in worker / browser runtimes
363
604
  * [#1667](https://github.com/stripe/stripe-node/pull/1667) fix: added support for TypeScript "NodeNext" module resolution
364
605
 
606
+ ## 11.9.0-beta.1 - 2023-01-26
607
+ * [#1666](https://github.com/stripe/stripe-node/pull/1666) API Updates for beta branch
608
+ * Updated stable APIs to the latest version
609
+ * Add support for `billing_agreement_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`
610
+ * Add support for `list_transactions` method on resource `Tax.Transaction`
611
+ * Change type of `QuoteUpdateParams.subscription_data_overrides` from `array(create_specs)` to `emptyStringable(array(update_specs))`
612
+
365
613
  ## 11.8.0 - 2023-01-26
366
614
  * [#1665](https://github.com/stripe/stripe-node/pull/1665) API Updates
367
615
  * 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`
368
616
  * 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`
369
617
  * [#1660](https://github.com/stripe/stripe-node/pull/1660) Introduce separate entry point for worker environments
370
- * 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.
618
+
619
+ ## 11.8.0-beta.1 - 2023-01-19
620
+ * [#1662](https://github.com/stripe/stripe-node/pull/1662) API Updates for beta branch
621
+ * Updated stable APIs to the latest version
622
+ * Add support for `Tax.Settings` resource.
371
623
 
372
624
  ## 11.7.0 - 2023-01-19
373
625
  * [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
@@ -375,10 +627,39 @@ This was added to maintain backwards compatibility during the transition of stri
375
627
  * Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
376
628
  * [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3
377
629
 
630
+ ## 11.7.0-beta.2 - 2023-01-12
631
+ * [#1653](https://github.com/stripe/stripe-node/pull/1653) API Updates for beta branch
632
+ * Updated stable APIs to the latest version
633
+ * Add support for new resource `Tax.Registration`
634
+ * Add support for `create`, `list`, and `update` methods on resource `Registration`
635
+ * Add support for `controller` on `AccountCreateParams` and `AccountUpdateParams`
636
+ * Add support for `application` and `dashboard` on `Account.controller`
637
+ * Change type of `Quote.subscription_data_overrides[].proration_behavior` from `enum('always_invoice'|'create_prorations'|'none')` to `enum('always_invoice'|'create_prorations'|'none') | null`
638
+ * Remove support for `timestamp` on `QuoteLine.actions[].add_discount.discount_end`
639
+ * Change type of `QuoteLine.actions[].add_discount.discount_end.type` from `literal('timestamp')` to `literal('line_ends_at')`
640
+ * 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[]`
641
+ * Change `QuoteLine.actions[].add_discount.index` to be required
642
+ * Add support for new values `quote.accepting`, `quote.reestimated`, and `quote.stale` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
643
+
644
+ * Change `quote.draft_quote` implementation from hitting `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
645
+
646
+ ## 11.7.0-beta.1 - 2023-01-05
647
+ * [#1648](https://github.com/stripe/stripe-node/pull/1648) API Updates for beta branch
648
+ * Updated stable APIs to the latest version
649
+ * Add support for `mark_stale_quote` method on resource `Quote`
650
+ * 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`
651
+ * 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`
652
+ * Add support for `metadata` on `Terminal.Reader.action.refund_payment` and `TerminalReaderRefundPaymentParams`
653
+
378
654
  ## 11.6.0 - 2023-01-05
379
655
  * [#1646](https://github.com/stripe/stripe-node/pull/1646) API Updates
380
656
  * Add support for `card_issuing` on `Issuing.Cardholder.individual`
381
657
 
658
+ ## 11.6.0-beta.1 - 2022-12-22
659
+ * [#1643](https://github.com/stripe/stripe-node/pull/1643) API Updates for beta branch
660
+ * Updated stable APIs to the latest version
661
+ * Move `stripe.taxCalculations` to `stripe.tax.calculations` and `stripe.taxTransactions` to `stripe.tax.transactions`.
662
+
382
663
  ## 11.5.0 - 2022-12-22
383
664
  * [#1642](https://github.com/stripe/stripe-node/pull/1642) API Updates
384
665
  * 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`
@@ -386,6 +667,13 @@ This was added to maintain backwards compatibility during the transition of stri
386
667
  * Change `Checkout.SessionCreateParams.cancel_url` to be optional
387
668
  * Change type of `Checkout.Session.cancel_url` from `string` to `string | null`
388
669
 
670
+ ## 11.5.0-beta.1 - 2022-12-15
671
+ * [#1640](https://github.com/stripe/stripe-node/pull/1640) API Updates for beta branch
672
+ * Updated stable APIs to the latest version
673
+ * Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction`
674
+ * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
675
+ * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
676
+
389
677
  ## 11.4.0 - 2022-12-15
390
678
  * [#1639](https://github.com/stripe/stripe-node/pull/1639) API Updates
391
679
  * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
@@ -395,6 +683,12 @@ This was added to maintain backwards compatibility during the transition of stri
395
683
  * [#1634](https://github.com/stripe/stripe-node/pull/1634) API Updates
396
684
  * Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` to be optional
397
685
 
686
+ ## 11.3.0-beta.1 - 2022-12-08
687
+ * [#1635](https://github.com/stripe/stripe-node/pull/1635) API Updates for beta branch
688
+ * Updated stable APIs to the latest version
689
+ * [#1633](https://github.com/stripe/stripe-node/pull/1633) API Updates for beta branch
690
+ * Updated stable APIs to the latest version
691
+
398
692
  ## 11.2.0 - 2022-12-06
399
693
  * [#1632](https://github.com/stripe/stripe-node/pull/1632) API Updates
400
694
  * Add support for `flow_data` on `BillingPortal.SessionCreateParams`
@@ -418,7 +712,6 @@ This was added to maintain backwards compatibility during the transition of stri
418
712
  * Add support for `custom_text` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
419
713
  * Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code`
420
714
 
421
-
422
715
  ## 11.0.0 - 2022-11-16
423
716
 
424
717
  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
@@ -431,62 +724,11 @@ This release includes breaking changes resulting from moving to use the new API
431
724
  * [#1615](https://github.com/stripe/stripe-node/pull/1615) API Updates
432
725
  * ⚠️ Remove support for `tos_shown_and_accepted` on `Checkout.SessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked.
433
726
 
434
- ### ⚠️ Changed
435
- * Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
436
- * 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)
437
-
438
- ### ⚠️ Removed
439
- * Remove `Orders` resource. (#1580)
440
- * Remove `SKU` resource (#1583)
441
- * Remove deprecated `Checkout.SessionCreateParams.subscription_data.items`. (#1580)
442
- * Remove deprecated configuration setter methods (`setHost`, `setProtocol`, `setPort`, `setApiVersion`, `setApiKey`, `setTimeout`, `setAppInfo`, `setHttpAgent`, `setMaxNetworkRetries`, and `setTelemetryEnabled`). (#1597)
443
-
444
- Use the config object to set these options instead, for example:
445
- ```typescript
446
- const stripe = Stripe('sk_test_...', {
447
- apiVersion: '2019-08-08',
448
- maxNetworkRetries: 1,
449
- httpAgent: new ProxyAgent(process.env.http_proxy),
450
- timeout: 1000,
451
- host: 'api.example.com',
452
- port: 123,
453
- telemetry: true,
454
- });
455
- ```
456
- * Remove deprecated basic method definitions. (#1600)
457
- Use basic methods defined on the resource instead.
458
- ```typescript
459
- // Before
460
- basicMethods: true
461
-
462
- // After
463
- create: stripeMethod({
464
- method: 'POST',
465
- fullPath: '/v1/resource',
466
- }),
467
- list: stripeMethod({
468
- method: 'GET',
469
- methodType: 'list',
470
- fullPath: '/v1/resource',
471
- }),
472
- retrieve: stripeMethod({
473
- method: 'GET',
474
- fullPath: '/v1/resource/{id}',
475
- }),
476
- update: stripeMethod({
477
- method: 'POST',
478
- fullPath: '/v1/resource/{id}',
479
- }),
480
- // Avoid 'delete' keyword in JS
481
- del: stripeMethod({
482
- method: 'DELETE',
483
- fullPath: '/v1/resource/{id}',
484
- }),
485
- ```
486
- * 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)
487
- * Remove `charges` field on `PaymentIntent` and replace it with `latest_charge`. (#1614 )
488
- * Remove deprecated `amount` field on `Checkout.Session.LineItem`. (#1614 )
489
- * Remove support for `tos_shown_and_accepted` on `Checkout.Session.PaymentMethodOptions.Paynow`. (#1614 )
727
+ ## 10.18.0-beta.1 - 2022-11-10
728
+ * [#1616](https://github.com/stripe/stripe-node/pull/1616) API Updates for beta branch
729
+ * Updated stable APIs to the latest version
730
+ * Add `discount_end` to `Discount`.
731
+ * Add `url` to `MerchantData`.
490
732
 
491
733
  ## 10.17.0 - 2022-11-08
492
734
  * [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates
@@ -500,6 +742,22 @@ This release includes breaking changes resulting from moving to use the new API
500
742
  * 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`
501
743
  * Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]`
502
744
 
745
+ ## 10.16.0-beta.2 - 2022-11-02
746
+ * [#1598](https://github.com/stripe/stripe-node/pull/1598) API Updates for beta branch
747
+ * Updated beta APIs to the latest stable version
748
+ * Add support for `cashappPayments` and `zipPayments` on `Account`.
749
+ * Add support for `cashapp` and `zip` on `Charge`, `PaymentMethod`.
750
+ * Add support for `trialSettings` on `SubscriptionSchedule`.
751
+
752
+ ## 10.16.0-beta.1 - 2022-10-21
753
+ * [#1589](https://github.com/stripe/stripe-node/pull/1589) API Updates for beta branch
754
+ * Updated stable APIs to the latest version
755
+ * Add support for new value `revoked` on enum `CapitalFinancingOfferListParams.status`
756
+ * Add support for `paypal` on `Charge.payment_method_details` and `Source`
757
+ * Add support for `network_data` on `Issuing.Transaction`
758
+ * Add support for new value `paypal` on enum `Source.type`
759
+ * Add support for `billing_cycle_anchor` on `SubscriptionScheduleAmendParams.amendments[]`
760
+
503
761
  ## 10.15.0 - 2022-10-20
504
762
  * [#1588](https://github.com/stripe/stripe-node/pull/1588) API Updates
505
763
  * 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`
@@ -507,6 +765,11 @@ This release includes breaking changes resulting from moving to use the new API
507
765
  * Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `Terminal.ReaderProcessPaymentIntentParams.process_config`
508
766
  * [#1585](https://github.com/stripe/stripe-node/pull/1585) use native UUID method if available
509
767
 
768
+ ## 10.15.0-beta.1 - 2022-10-14
769
+ * Add support for `schedule_settings` on `SubscriptionScheduleAmendParams`
770
+ * Add support for new value `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_end.type`
771
+ * Add support for new values `schedule_end` and `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_start.type`
772
+
510
773
  ## 10.14.0 - 2022-10-13
511
774
  * [#1582](https://github.com/stripe/stripe-node/pull/1582) API Updates
512
775
  * 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`
@@ -514,6 +777,11 @@ This release includes breaking changes resulting from moving to use the new API
514
777
  * Add support for `network_data` on `Issuing.Authorization`
515
778
  * ⚠️ Remove `currency`, `description`, `images`, and `name` from `Checkout.SessionCreateParams`. These properties do not work on the latest API version. (fixes #1575)
516
779
 
780
+ ## 10.14.0-beta.1 - 2022-10-07
781
+ * [#1572](https://github.com/stripe/stripe-node/pull/1572) API Updates for beta branch
782
+ * Updated stable APIs to the latest version
783
+ * Add `reference_id` to `Paypal` interface.
784
+
517
785
  ## 10.13.0 - 2022-10-06
518
786
  * [#1571](https://github.com/stripe/stripe-node/pull/1571) API Updates
519
787
  * 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`
@@ -534,6 +802,11 @@ This release includes breaking changes resulting from moving to use the new API
534
802
  * [#1562](https://github.com/stripe/stripe-node/pull/1562) Restore lib after generating
535
803
  * [#1551](https://github.com/stripe/stripe-node/pull/1551) Re-introduce Typescript changes
536
804
 
805
+ ## 10.12.0-beta.1 - 2022-09-26
806
+ * [#1561](https://github.com/stripe/stripe-node/pull/1561) API Updates for beta branch
807
+ * Updated stable APIs to the latest version
808
+ * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
809
+
537
810
  ## 10.11.0 - 2022-09-22
538
811
  * [#1560](https://github.com/stripe/stripe-node/pull/1560) API Updates
539
812
  * 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`
@@ -541,7 +814,6 @@ This release includes breaking changes resulting from moving to use the new API
541
814
  * Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams`
542
815
  * Change `SubscriptionSchedule.phases[].currency` to be required
543
816
 
544
-
545
817
  ## 10.10.0 - 2022-09-15
546
818
  * [#1552](https://github.com/stripe/stripe-node/pull/1552) API Updates
547
819
  * 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`
@@ -584,6 +856,11 @@ This release includes breaking changes resulting from moving to use the new API
584
856
  * [#1532](https://github.com/stripe/stripe-node/pull/1532) Update coveralls step to run for one node version, remove finish step
585
857
  * [#1531](https://github.com/stripe/stripe-node/pull/1531) Regen yarn.lock.
586
858
 
859
+ ## 10.6.0-beta.1 - 2022-08-26
860
+ * [#1529](https://github.com/stripe/stripe-node/pull/1529) API Updates for beta branch
861
+ * Updated stable APIs to the latest version
862
+ * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
863
+
587
864
  ## 10.5.0 - 2022-08-24
588
865
  * [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
589
866
  * [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation
@@ -598,6 +875,11 @@ This release includes breaking changes resulting from moving to use the new API
598
875
  * Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
599
876
  * 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.
600
877
 
878
+ ## 10.4.0-beta.1 - 2022-08-23
879
+ * [#1523](https://github.com/stripe/stripe-node/pull/1523) API Updates for beta branch
880
+ - Updated stable APIs to the latest version
881
+ - `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)
882
+ * [#1521](https://github.com/stripe/stripe-node/pull/1521) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
601
883
 
602
884
  ## 10.3.0 - 2022-08-19
603
885
  * [#1516](https://github.com/stripe/stripe-node/pull/1516) API Updates
@@ -610,11 +892,15 @@ This release includes breaking changes resulting from moving to use the new API
610
892
  * Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
611
893
  * [#1515](https://github.com/stripe/stripe-node/pull/1515) Add a support section to the readme
612
894
 
895
+ ## 10.3.0-beta.1 - 2022-08-11
896
+ * [#1511](https://github.com/stripe/stripe-node/pull/1511) API Updates for beta branch
897
+ - Updated stable APIs to the latest version
898
+ - Add refund_payment method to Terminal resource
899
+
613
900
  ## 10.2.0 - 2022-08-11
614
901
  * [#1510](https://github.com/stripe/stripe-node/pull/1510) API Updates
615
902
  * Add support for `payment_method_collection` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
616
903
 
617
-
618
904
  ## 10.1.0 - 2022-08-09
619
905
  * [#1506](https://github.com/stripe/stripe-node/pull/1506) API Updates
620
906
  * Add support for `process_config` on `Terminal.Reader.action.process_payment_intent`
@@ -624,50 +910,22 @@ This release includes breaking changes resulting from moving to use the new API
624
910
  * [#1503](https://github.com/stripe/stripe-node/pull/1503) API Updates
625
911
  * Add support for `expires_at` on `Apps.Secret` and `Apps.SecretCreateParams`
626
912
 
913
+ ## 10.1.0-beta.1 - 2022-08-03
914
+ * [#1498](https://github.com/stripe/stripe-node/pull/1498) API Updates for beta branch
915
+ - Updated stable APIs to the latest version
916
+ - Added the `Order` resource support
917
+
627
918
  ## 10.0.0 - 2022-08-02
628
919
 
629
- This release includes breaking changes resulting from:
920
+ Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
630
921
 
631
- * 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
632
- * 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.
922
+ 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.
633
923
 
634
924
  "⚠️" symbol highlights breaking changes.
635
925
 
636
926
  * [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates
637
927
  * [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes
638
928
 
639
- ### Added
640
- * 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`
641
- * Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
642
-
643
- ### ⚠️ Changed
644
- * Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable.
645
- * Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`.
646
- * 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`.
647
- * Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable.
648
- * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
649
-
650
- ### ⚠️ Removed
651
- * Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions.
652
- * Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.
653
- * Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`.
654
- * Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions.
655
- * Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead.
656
- * Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.
657
- * Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
658
- * Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.
659
- * Remove `IssuerFraudRecords` resource.
660
- * Remove `Recipient` resource and`recipient` property from `Card` resource.
661
- * Remove `InvoiceMarkUncollectibleParams` definition.
662
- * Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions.
663
- * Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.
664
- * Remove `LineItemListParams` definition. The interface was no longer in use.
665
-
666
- ### ⚠️ Renamed
667
- * Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`.
668
- * Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`.
669
- * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
670
-
671
929
  ## 9.16.0 - 2022-07-26
672
930
  * [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates
673
931
  * 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`
@@ -684,6 +942,20 @@ This release includes breaking changes resulting from:
684
942
  * Add support for `mandate` on `InvoicePayParams`
685
943
  * Add support for `product_data` on `OrderCreateParams.line_items[]` and `OrderUpdateParams.line_items[]`
686
944
 
945
+ ## 9.15.0-beta.1 - 2022-07-22
946
+ * [#1485](https://github.com/stripe/stripe-node/pull/1485) API Updates for beta branch
947
+ - Updated stable APIs to the latest version
948
+ * [#1483](https://github.com/stripe/stripe-node/pull/1483) API Updates for beta branch
949
+ - Updated stable APIs to the latest version
950
+ - Add `QuotePhase` resource
951
+ * [#1479](https://github.com/stripe/stripe-node/pull/1479) API Updates for beta branch
952
+ - Updated stable APIs to the latest version
953
+ - Add `Price.migrate_to` property
954
+ - Add `SubscriptionSchedule.amend` method.
955
+ - Add `Discount.subscription_item` property.
956
+ - Add `Quote.subscription_data.billing_behavior`, `billing_cycle_anchor`, `end_behavior`, `from_schedule`, `from_subscription`, `prebilling`, `proration_behavior` properties.
957
+ - Add `phases` parameter to `Quote.create`
958
+ - Add `Subscription.discounts`, `prebilling` properties.
687
959
 
688
960
  ## 9.14.0 - 2022-07-18
689
961
  * [#1477](https://github.com/stripe/stripe-node/pull/1477) API Updates
@@ -707,6 +979,18 @@ This release includes breaking changes resulting from:
707
979
  * Change `Transfer.source_type` to be optional and not nullable
708
980
  * [#1471](https://github.com/stripe/stripe-node/pull/1471) Update readme to include a note on beta packages
709
981
 
982
+ ## 9.13.0-beta.1 - 2022-07-07
983
+ * [#1469](https://github.com/stripe/stripe-node/pull/1469) API Updates for beta branch
984
+ - Include `server_side_confirmation_beta=v1` beta
985
+ - Add `secretKeyConfirmation` to `PaymentIntent`
986
+ * [#1451](https://github.com/stripe/stripe-node/pull/1451) API Updates
987
+ - Updated stable APIs to the latest version
988
+ * [#1457](https://github.com/stripe/stripe-node/pull/1457) Use the generated API version
989
+ * [#1445](https://github.com/stripe/stripe-node/pull/1445) Support updating pre-release versions
990
+ * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
991
+ * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
992
+ * [#1444](https://github.com/stripe/stripe-node/pull/1444) Merge master branch into beta branch
993
+
710
994
  ## 9.12.0 - 2022-07-07
711
995
  * [#1468](https://github.com/stripe/stripe-node/pull/1468) API Updates
712
996
  * Add support for `currency` on `Checkout.SessionCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkCreateParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `Subscription`
@@ -769,6 +1053,10 @@ This release includes breaking changes resulting from:
769
1053
  * 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`
770
1054
  * Add support for `custom_unit_amount` on `PriceCreateParams` and `Price`
771
1055
 
1056
+ ## 9.8.0-beta.1 - 2022-06-08
1057
+ * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
1058
+ * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
1059
+
772
1060
  ## 9.7.0 - 2022-06-08
773
1061
  * [#1441](https://github.com/stripe/stripe-node/pull/1441) API Updates
774
1062
  * Add support for `affirm`, `bancontact`, `card`, `ideal`, `p24`, and `sofort` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
@@ -789,7 +1077,6 @@ This release includes breaking changes resulting from:
789
1077
  * Add support for `network` on `SetupIntent.payment_method_options.card`
790
1078
  * Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `Terminal.ReaderListParams.device_type`
791
1079
 
792
-
793
1080
  ## 9.5.0 - 2022-05-26
794
1081
  * [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
795
1082
  * Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -860,7 +1147,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
860
1147
  * Add support for `default_price` on `ProductUpdateParams` and `Product`
861
1148
  * Add support for `instructions_email` on `RefundCreateParams` and `Refund`
862
1149
 
863
-
864
1150
  ## 8.221.0 - 2022-05-05
865
1151
  * [#1413](https://github.com/stripe/stripe-node/pull/1413) API Updates
866
1152
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
@@ -1137,7 +1423,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1137
1423
  * [#1297](https://github.com/stripe/stripe-node/pull/1297) API Updates
1138
1424
  * Add support for `automatic_payment_methods` on `PaymentIntentCreateParams` and `PaymentIntent`
1139
1425
 
1140
-
1141
1426
  ## 8.189.0 - 2021-11-16
1142
1427
  * [#1295](https://github.com/stripe/stripe-node/pull/1295) API Updates
1143
1428
  * Add support for new resource `ShippingRate`
@@ -1160,7 +1445,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1160
1445
  * Remove support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account`. This API was unused.
1161
1446
  * Add support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account.company`
1162
1447
 
1163
-
1164
1448
  ## 8.186.0 - 2021-11-01
1165
1449
  * [#1283](https://github.com/stripe/stripe-node/pull/1283) API Updates
1166
1450
  * Add support for `ownership_declaration` on `AccountUpdateParams.company`, `AccountCreateParams.company`, `Account.company`, and `TokenCreateParams.account.company`
@@ -1304,7 +1588,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1304
1588
  * Add support for `wallet` on `Issuing.Transaction`
1305
1589
  * Add support for `ideal` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
1306
1590
 
1307
-
1308
1591
  ## 8.163.0 - 2021-07-15
1309
1592
  * [#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
1310
1593
 
@@ -2837,7 +3120,7 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
2837
3120
 
2838
3121
  - [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
2839
3122
 
2840
- ### 2.2.1 - 2013-12-01
3123
+ ## 2.2.1 - 2013-12-01
2841
3124
 
2842
3125
  - [BUGFIX] Fix user-agent header issue (see issue #75)
2843
3126
 
@@ -2900,3 +3183,4 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
2900
3183
  ## 0.0.2 - 2011-09-28
2901
3184
 
2902
3185
  - Initial release with customers and tokens APIs
3186
+