stripe 13.4.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 (149) hide show
  1. package/CHANGELOG.md +392 -117
  2. package/README.md +33 -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/Capital/FinancingOffers.js +21 -0
  9. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  10. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  11. package/cjs/resources/CustomerSessions.js +9 -0
  12. package/cjs/resources/FinancialConnections/Accounts.js +13 -0
  13. package/cjs/resources/FinancialConnections/Transactions.js +13 -0
  14. package/cjs/resources/GiftCards/Cards.js +23 -0
  15. package/cjs/resources/GiftCards/Transactions.js +33 -0
  16. package/cjs/resources/Issuing/CardBundles.js +17 -0
  17. package/cjs/resources/Issuing/CardDesigns.js +21 -0
  18. package/cjs/resources/OAuth.js +1 -1
  19. package/cjs/resources/Orders.js +24 -0
  20. package/cjs/resources/PaymentMethodConfigurations.js +25 -0
  21. package/cjs/resources/QuotePhases.js +22 -0
  22. package/cjs/resources/Quotes.js +32 -0
  23. package/cjs/resources/SubscriptionSchedules.js +4 -0
  24. package/cjs/resources/Tax/Forms.js +20 -0
  25. package/cjs/resources/Tax/Registrations.js +18 -0
  26. package/cjs/resources/Terminal/Readers.js +12 -0
  27. package/cjs/resources/TestHelpers/Issuing/CardDesigns.js +16 -0
  28. package/cjs/resources/TestHelpers/Issuing/Cards.js +4 -0
  29. package/cjs/resources.js +47 -11
  30. package/cjs/stripe.core.js +6 -3
  31. package/cjs/utils.js +30 -3
  32. package/esm/RequestSender.js +66 -6
  33. package/esm/StripeResource.js +2 -2
  34. package/esm/apiVersion.js +1 -0
  35. package/esm/multipart.js +2 -2
  36. package/esm/resources/Capital/FinancingOffers.js +18 -0
  37. package/esm/resources/Capital/FinancingSummary.js +9 -0
  38. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  39. package/esm/resources/CustomerSessions.js +6 -0
  40. package/esm/resources/FinancialConnections/Accounts.js +13 -0
  41. package/esm/resources/FinancialConnections/Transactions.js +10 -0
  42. package/esm/resources/GiftCards/Cards.js +20 -0
  43. package/esm/resources/GiftCards/Transactions.js +30 -0
  44. package/esm/resources/Issuing/CardBundles.js +14 -0
  45. package/esm/resources/Issuing/CardDesigns.js +18 -0
  46. package/esm/resources/OAuth.js +2 -2
  47. package/esm/resources/Orders.js +21 -0
  48. package/esm/resources/PaymentMethodConfigurations.js +22 -0
  49. package/esm/resources/QuotePhases.js +19 -0
  50. package/esm/resources/Quotes.js +32 -0
  51. package/esm/resources/SubscriptionSchedules.js +4 -0
  52. package/esm/resources/Tax/Forms.js +17 -0
  53. package/esm/resources/Tax/Registrations.js +15 -0
  54. package/esm/resources/Terminal/Readers.js +12 -0
  55. package/esm/resources/TestHelpers/Issuing/CardDesigns.js +13 -0
  56. package/esm/resources/TestHelpers/Issuing/Cards.js +4 -0
  57. package/esm/resources.js +33 -1
  58. package/esm/stripe.core.js +6 -3
  59. package/esm/utils.js +27 -1
  60. package/package.json +1 -1
  61. package/types/AccountSessions.d.ts +27 -0
  62. package/types/AccountSessionsResource.d.ts +36 -0
  63. package/types/Accounts.d.ts +39 -0
  64. package/types/AccountsResource.d.ts +71 -0
  65. package/types/Capital/FinancingOffers.d.ts +183 -0
  66. package/types/Capital/FinancingOffersResource.d.ts +94 -0
  67. package/types/Capital/FinancingSummary.d.ts +106 -0
  68. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  69. package/types/Capital/FinancingTransactions.d.ts +135 -0
  70. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  71. package/types/Charges.d.ts +26 -0
  72. package/types/ChargesResource.d.ts +580 -0
  73. package/types/Checkout/Sessions.d.ts +37 -1
  74. package/types/Checkout/SessionsResource.d.ts +17 -1
  75. package/types/Coupons.d.ts +1 -1
  76. package/types/CouponsResource.d.ts +1 -1
  77. package/types/CustomerSessions.d.ts +38 -0
  78. package/types/CustomerSessionsResource.d.ts +27 -0
  79. package/types/Discounts.d.ts +10 -0
  80. package/types/FinancialConnections/Accounts.d.ts +74 -0
  81. package/types/FinancialConnections/AccountsResource.d.ts +75 -1
  82. package/types/FinancialConnections/InferredBalances.d.ts +38 -0
  83. package/types/FinancialConnections/Sessions.d.ts +44 -1
  84. package/types/FinancialConnections/SessionsResource.d.ts +33 -1
  85. package/types/FinancialConnections/Transactions.d.ts +85 -0
  86. package/types/FinancialConnections/TransactionsResource.d.ts +48 -0
  87. package/types/GiftCards/Cards.d.ts +118 -0
  88. package/types/GiftCards/CardsResource.d.ts +159 -0
  89. package/types/GiftCards/Transactions.d.ts +129 -0
  90. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  91. package/types/InvoiceItemsResource.d.ts +88 -0
  92. package/types/Invoices.d.ts +39 -2
  93. package/types/InvoicesResource.d.ts +424 -2
  94. package/types/Issuing/Authorizations.d.ts +25 -0
  95. package/types/Issuing/CardBundles.d.ts +48 -0
  96. package/types/Issuing/CardBundlesResource.d.ts +63 -0
  97. package/types/Issuing/CardDesigns.d.ts +58 -0
  98. package/types/Issuing/CardDesignsResource.d.ts +113 -0
  99. package/types/Issuing/CardholdersResource.d.ts +4 -2
  100. package/types/Issuing/Cards.d.ts +41 -1
  101. package/types/Issuing/CardsResource.d.ts +130 -0
  102. package/types/Issuing/Transactions.d.ts +17 -0
  103. package/types/LineItems.d.ts +7 -0
  104. package/types/Mandates.d.ts +11 -0
  105. package/types/Orders.d.ts +1044 -0
  106. package/types/OrdersResource.d.ts +2683 -0
  107. package/types/PaymentIntents.d.ts +198 -1
  108. package/types/PaymentIntentsResource.d.ts +1428 -68
  109. package/types/PaymentMethodConfigurations.d.ts +1384 -0
  110. package/types/PaymentMethodConfigurationsResource.d.ts +1758 -0
  111. package/types/PaymentMethods.d.ts +16 -0
  112. package/types/Prices.d.ts +22 -0
  113. package/types/PricesResource.d.ts +22 -0
  114. package/types/Products.d.ts +39 -0
  115. package/types/ProductsResource.d.ts +36 -0
  116. package/types/QuoteLines.d.ts +580 -0
  117. package/types/QuotePhases.d.ts +193 -0
  118. package/types/QuotePhasesResource.d.ts +67 -0
  119. package/types/QuotePreviewInvoices.d.ts +1344 -0
  120. package/types/QuotePreviewSchedules.d.ts +660 -0
  121. package/types/Quotes.d.ts +527 -1
  122. package/types/QuotesResource.d.ts +3021 -215
  123. package/types/SetupAttempts.d.ts +4 -0
  124. package/types/SetupIntents.d.ts +46 -1
  125. package/types/SetupIntentsResource.d.ts +85 -3
  126. package/types/Sources.d.ts +23 -0
  127. package/types/SubscriptionItems.d.ts +23 -0
  128. package/types/SubscriptionItemsResource.d.ts +147 -0
  129. package/types/SubscriptionSchedules.d.ts +214 -0
  130. package/types/SubscriptionSchedulesResource.d.ts +1310 -15
  131. package/types/Subscriptions.d.ts +53 -2
  132. package/types/SubscriptionsResource.d.ts +443 -2
  133. package/types/Tax/Forms.d.ts +133 -0
  134. package/types/Tax/FormsResource.d.ts +90 -0
  135. package/types/Tax/Registrations.d.ts +1006 -0
  136. package/types/Tax/RegistrationsResource.d.ts +1280 -0
  137. package/types/Terminal/Readers.d.ts +183 -0
  138. package/types/Terminal/ReadersResource.d.ts +171 -0
  139. package/types/TestHelpers/Issuing/CardDesignsResource.d.ts +55 -0
  140. package/types/TestHelpers/Issuing/CardsResource.d.ts +22 -0
  141. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  142. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  143. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  144. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  145. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  146. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  147. package/types/WebhookEndpointsResource.d.ts +50 -0
  148. package/types/index.d.ts +71 -0
  149. package/types/lib.d.ts +12 -0
package/CHANGELOG.md CHANGED
@@ -1,13 +1,8 @@
1
1
  # Changelog
2
2
 
3
- ## 13.4.0 - 2023-08-31
4
- * [#1884](https://github.com/stripe/stripe-node/pull/1884) Update generated code
5
- * Add support for new resource `AccountSession`
6
- * Add support for `create` method on resource `AccountSession`
7
- * Add support for new values `obligation_inbound`, `obligation_outbound`, `obligation_payout_failure`, `obligation_payout`, `obligation_reversal_inbound`, and `obligation_reversal_outbound` on enum `BalanceTransaction.type`
8
- * Change type of `Event.type` from `string` to `enum`
9
- * Add support for `application` on `PaymentLink`
10
- * Add support for new value `obligation` on enum `Reporting.ReportRunCreateParams.parameters.reporting_category`
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
11
6
 
12
7
  ## 13.3.0 - 2023-08-24
13
8
  * [#1879](https://github.com/stripe/stripe-node/pull/1879) Update generated code
@@ -66,12 +61,37 @@
66
61
  * These fields are not fully operational.
67
62
  * ⚠️Add support for new value `2023-08-16` on enum `WebhookEndpointCreateParams.api_version`
68
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
+
69
77
  ## 12.18.0 - 2023-08-10
70
78
  * [#1867](https://github.com/stripe/stripe-node/pull/1867) Update generated code
71
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`
72
80
  * Add support for new value `payment_reversal` on enum `BalanceTransaction.type`
73
81
  * Change `Invoice.subscription_details.metadata` and `Invoice.subscription_details` to be required
74
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
+
75
95
  ## 12.17.0 - 2023-08-03
76
96
  * [#1863](https://github.com/stripe/stripe-node/pull/1863) Update generated code
77
97
  * Change many types from `string` to `emptyStringable(string)`
@@ -80,14 +100,14 @@
80
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`
81
101
  * [#1866](https://github.com/stripe/stripe-node/pull/1866) Allow monkey patching http / https
82
102
 
103
+ ## 12.17.0-beta.1 - 2023-07-27
104
+ * Updated stable APIs to the latest version
105
+
83
106
  ## 12.16.0 - 2023-07-27
84
107
  * [#1853](https://github.com/stripe/stripe-node/pull/1853) Update generated code
85
108
  * Add support for `monthly_estimated_revenue` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
86
109
  * [#1859](https://github.com/stripe/stripe-node/pull/1859) Revert "import * as http -> import http from 'http'"
87
110
 
88
- ## 12.15.0 - 2023-07-27 (DEPRECATED ⚠️ )
89
- * 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.
90
-
91
111
  ## 12.14.0 - 2023-07-20
92
112
  * [#1842](https://github.com/stripe/stripe-node/pull/1842) Update generated code
93
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`
@@ -98,6 +118,17 @@
98
118
  * [#1849](https://github.com/stripe/stripe-node/pull/1849) Changelog: fix delimiterless namespaced param types
99
119
  * [#1848](https://github.com/stripe/stripe-node/pull/1848) Changelog: `CheckoutSessionCreateParams` -> `Checkout.SessionCreateParams`
100
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
+
101
132
  ## 12.13.0 - 2023-07-13
102
133
  * [#1838](https://github.com/stripe/stripe-node/pull/1838) Update generated code
103
134
  * Add support for new resource `Tax.Settings`
@@ -114,6 +145,11 @@
114
145
  * Add support for `numeric` and `text` on `PaymentLink.custom_fields[]`
115
146
  * Add support for `automatic_tax` on `SubscriptionListParams`
116
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
+
117
153
  ## 12.11.0 - 2023-06-29
118
154
  * [#1823](https://github.com/stripe/stripe-node/pull/1823) Update generated code
119
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`
@@ -121,16 +157,26 @@
121
157
  * Add support for `effective_at` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
122
158
  * [#1828](https://github.com/stripe/stripe-node/pull/1828) Better CryptoProvider error
123
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
+
124
166
  ## 12.10.0 - 2023-06-22
125
167
  * [#1820](https://github.com/stripe/stripe-node/pull/1820) Update generated code
126
168
  * Add support for `on_behalf_of` on `Mandate`
127
- * [#1817](https://github.com/stripe/stripe-node/pull/1817) Update README.md
128
- * [#1819](https://github.com/stripe/stripe-node/pull/1819) Update generated code
129
- * Release specs are identical.
130
169
  * [#1813](https://github.com/stripe/stripe-node/pull/1813) Update generated code
131
170
  * Change type of `Checkout.Session.success_url` from `string` to `string | null`
132
- * Change type of `FileCreateParams.file` from `string` to `file`
133
- * [#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
134
180
 
135
181
  ## 12.9.0 - 2023-06-08
136
182
  * [#1809](https://github.com/stripe/stripe-node/pull/1809) Update generated code
@@ -138,6 +184,20 @@
138
184
  * Add support for `taxability_reason` on `Tax.Calculation.tax_breakdown[]`
139
185
  * [#1812](https://github.com/stripe/stripe-node/pull/1812) More helpful error when signing secrets contain whitespace
140
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
+
141
201
  ## 12.8.0 - 2023-06-01
142
202
  * [#1799](https://github.com/stripe/stripe-node/pull/1799) Update generated code
143
203
  * Add support for `numeric` and `text` on `Checkout.SessionCreateParams.custom_fields[]`, `PaymentLinkCreateParams.custom_fields[]`, and `PaymentLinkUpdateParams.custom_fields[]`
@@ -148,6 +208,9 @@
148
208
  * Add support for `description`, `iin`, and `issuer` on `PaymentMethod.card_present` and `PaymentMethod.interac_present`
149
209
  * Add support for `payer_email` on `PaymentMethod.paypal`
150
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
+
151
214
  ## 12.7.0 - 2023-05-25
152
215
  * [#1797](https://github.com/stripe/stripe-node/pull/1797) Update generated code
153
216
  * Add support for `zip_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -158,6 +221,13 @@
158
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`
159
222
  * Add support for new value `zip` on enum `PaymentMethod.type`
160
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
+
161
231
  ## 12.6.0 - 2023-05-19
162
232
  * [#1787](https://github.com/stripe/stripe-node/pull/1787) Update generated code
163
233
  * Add support for `subscription_update_confirm` and `subscription_update` on `BillingPortal.Session.flow` and `BillingPortal.SessionCreateParams.flow_data`
@@ -166,6 +236,18 @@
166
236
  * Add support for `buyer_id` and `cashtag` on `Charge.payment_method_details.cashapp` and `PaymentMethod.cashapp`
167
237
  * Add support for new values `amusement_tax` and `communications_tax` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
168
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
+
169
251
  ## 12.5.0 - 2023-05-11
170
252
  * [#1785](https://github.com/stripe/stripe-node/pull/1785) Update generated code
171
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`
@@ -183,12 +265,34 @@
183
265
  * Add support for `effective_percentage` on `TaxRate`
184
266
  * Add support for `gb_bank_transfer` and `jp_bank_transfer` on `CustomerCashBalanceTransaction.Funded.BankTransfer`
185
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
+
186
272
  ## 12.4.0 - 2023-05-04
187
273
  * [#1774](https://github.com/stripe/stripe-node/pull/1774) Update generated code
188
274
  * Add support for `link` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
189
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`
190
276
  * [#1782](https://github.com/stripe/stripe-node/pull/1782) Let user supply a timestamp when verifying webhooks
191
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
+
287
+ ## 12.3.0 - 2023-04-27
288
+ * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
289
+ * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
290
+ * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
291
+ * Add support for `metadata` on `PaymentIntentCaptureParams`
292
+ * Add support for `checks` on `SetupAttempt.payment_method_details.card`
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
+
192
296
  ## 12.3.0 - 2023-04-27
193
297
  * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
194
298
  * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
@@ -197,6 +301,12 @@
197
301
  * Add support for `checks` on `SetupAttempt.payment_method_details.card`
198
302
  * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
199
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`
309
+
200
310
  ## 12.2.0 - 2023-04-20
201
311
  * [#1759](https://github.com/stripe/stripe-node/pull/1759) Update generated code
202
312
  * Change `Checkout.Session.currency_conversion` to be required
@@ -206,6 +316,16 @@
206
316
  * [#1762](https://github.com/stripe/stripe-node/pull/1762) Add Deno webhook signing example
207
317
  * [#1761](https://github.com/stripe/stripe-node/pull/1761) Add Deno usage instructions in README
208
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
+
209
329
  ## 12.1.1 - 2023-04-13
210
330
  No product changes.
211
331
 
@@ -214,6 +334,16 @@ No product changes.
214
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`
215
335
  * [#1749](https://github.com/stripe/stripe-node/pull/1749) Type extend and ResourceNamespace better
216
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
+
217
347
  ## 12.0.0 - 2023-04-06
218
348
  * [#1743](https://github.com/stripe/stripe-node/pull/1743) Remove `Stripe.default` and `Stripe.Stripe`
219
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.
@@ -256,6 +386,11 @@ This was added to maintain backwards compatibility during the transition of stri
256
386
  * Add support for `status_details` on `PaymentMethod.us_bank_account`
257
387
  * [#1747](https://github.com/stripe/stripe-node/pull/1747) (Typescript) remove deprecated properties
258
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
+
259
394
  ## 11.17.0 - 2023-03-30
260
395
  * [#1734](https://github.com/stripe/stripe-node/pull/1734) Update generated code
261
396
  * Remove support for `create` method on resource `Tax.Transaction`
@@ -265,6 +400,21 @@ This was added to maintain backwards compatibility during the transition of stri
265
400
  * This is not a breaking change, as `deleted` was never returned or accepted as input.
266
401
  * Add support for `amount_tip` on `Terminal.ReaderPresentPaymentMethodParams.testHelpers`
267
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
+
268
418
  ## 11.16.0 - 2023-03-23
269
419
  * [#1730](https://github.com/stripe/stripe-node/pull/1730) Update generated code
270
420
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
@@ -276,6 +426,19 @@ This was added to maintain backwards compatibility during the transition of stri
276
426
  * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
277
427
  * [#1726](https://github.com/stripe/stripe-node/pull/1726) Add Deno entry point
278
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
+
279
442
  ## 11.15.0 - 2023-03-16
280
443
  * [#1714](https://github.com/stripe/stripe-node/pull/1714) API Updates
281
444
  * Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -304,6 +467,16 @@ This was added to maintain backwards compatibility during the transition of stri
304
467
  * Add support for new value `cashapp` on enum `PaymentMethod.type`
305
468
  * Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
306
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
+
307
480
  ## 11.14.0 - 2023-03-09
308
481
  * [#1703](https://github.com/stripe/stripe-node/pull/1703) API Updates
309
482
  * Add support for `card_issuing` on `Issuing.CardholderCreateParams.individual` and `Issuing.CardholderUpdateParams.individual`
@@ -314,6 +487,25 @@ This was added to maintain backwards compatibility during the transition of stri
314
487
  * [#1695](https://github.com/stripe/stripe-node/pull/1695) Migrate generated files to ES module syntax
315
488
  * [#1699](https://github.com/stripe/stripe-node/pull/1699) Remove extra test directory
316
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
+
317
509
  ## 11.13.0 - 2023-03-02
318
510
  * [#1696](https://github.com/stripe/stripe-node/pull/1696) API Updates
319
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.
@@ -322,6 +514,14 @@ This was added to maintain backwards compatibility during the transition of stri
322
514
 
323
515
  * [#1689](https://github.com/stripe/stripe-node/pull/1689) Update v11.8.0 changelog with breaking change disclaimer
324
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
+
325
525
  ## 11.12.0 - 2023-02-23
326
526
  * [#1688](https://github.com/stripe/stripe-node/pull/1688) API Updates
327
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`
@@ -329,6 +529,15 @@ This was added to maintain backwards compatibility during the transition of stri
329
529
  * Add support for new value `igst` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
330
530
  * [#1687](https://github.com/stripe/stripe-node/pull/1687) Convert TypeScript files to use ES modules
331
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
+
332
541
  ## 11.11.0 - 2023-02-16
333
542
  * [#1681](https://github.com/stripe/stripe-node/pull/1681) API Updates
334
543
  * Add support for `refund_payment` method on resource `Terminal.Reader`
@@ -343,9 +552,32 @@ This was added to maintain backwards compatibility during the transition of stri
343
552
  * [#1685](https://github.com/stripe/stripe-node/pull/1685) Add more webhook parsing checks
344
553
  * [#1684](https://github.com/stripe/stripe-node/pull/1684) Add infrastructure for mocked tests
345
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
+
346
562
  ## 11.10.0 - 2023-02-09
347
563
  * [#1679](https://github.com/stripe/stripe-node/pull/1679) Enable library to work in worker environments without extra configuration.
348
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
+
349
581
  ## 11.9.1 - 2023-02-03
350
582
  * [#1672](https://github.com/stripe/stripe-node/pull/1672) Update main entrypoint on package.json
351
583
 
@@ -371,12 +603,23 @@ This was added to maintain backwards compatibility during the transition of stri
371
603
  * [#1668](https://github.com/stripe/stripe-node/pull/1668) Use EventTarget in worker / browser runtimes
372
604
  * [#1667](https://github.com/stripe/stripe-node/pull/1667) fix: added support for TypeScript "NodeNext" module resolution
373
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
+
374
613
  ## 11.8.0 - 2023-01-26
375
614
  * [#1665](https://github.com/stripe/stripe-node/pull/1665) API Updates
376
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`
377
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`
378
617
  * [#1660](https://github.com/stripe/stripe-node/pull/1660) Introduce separate entry point for worker environments
379
- * 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.
380
623
 
381
624
  ## 11.7.0 - 2023-01-19
382
625
  * [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
@@ -384,10 +627,39 @@ This was added to maintain backwards compatibility during the transition of stri
384
627
  * Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
385
628
  * [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3
386
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
+
387
654
  ## 11.6.0 - 2023-01-05
388
655
  * [#1646](https://github.com/stripe/stripe-node/pull/1646) API Updates
389
656
  * Add support for `card_issuing` on `Issuing.Cardholder.individual`
390
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
+
391
663
  ## 11.5.0 - 2022-12-22
392
664
  * [#1642](https://github.com/stripe/stripe-node/pull/1642) API Updates
393
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`
@@ -395,6 +667,13 @@ This was added to maintain backwards compatibility during the transition of stri
395
667
  * Change `Checkout.SessionCreateParams.cancel_url` to be optional
396
668
  * Change type of `Checkout.Session.cancel_url` from `string` to `string | null`
397
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
+
398
677
  ## 11.4.0 - 2022-12-15
399
678
  * [#1639](https://github.com/stripe/stripe-node/pull/1639) API Updates
400
679
  * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
@@ -404,6 +683,12 @@ This was added to maintain backwards compatibility during the transition of stri
404
683
  * [#1634](https://github.com/stripe/stripe-node/pull/1634) API Updates
405
684
  * Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` to be optional
406
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
+
407
692
  ## 11.2.0 - 2022-12-06
408
693
  * [#1632](https://github.com/stripe/stripe-node/pull/1632) API Updates
409
694
  * Add support for `flow_data` on `BillingPortal.SessionCreateParams`
@@ -427,7 +712,6 @@ This was added to maintain backwards compatibility during the transition of stri
427
712
  * Add support for `custom_text` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
428
713
  * Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code`
429
714
 
430
-
431
715
  ## 11.0.0 - 2022-11-16
432
716
 
433
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
@@ -440,62 +724,11 @@ This release includes breaking changes resulting from moving to use the new API
440
724
  * [#1615](https://github.com/stripe/stripe-node/pull/1615) API Updates
441
725
  * ⚠️ Remove support for `tos_shown_and_accepted` on `Checkout.SessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked.
442
726
 
443
- ### ⚠️ Changed
444
- * Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
445
- * 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)
446
-
447
- ### ⚠️ Removed
448
- * Remove `Orders` resource. (#1580)
449
- * Remove `SKU` resource (#1583)
450
- * Remove deprecated `Checkout.SessionCreateParams.subscription_data.items`. (#1580)
451
- * Remove deprecated configuration setter methods (`setHost`, `setProtocol`, `setPort`, `setApiVersion`, `setApiKey`, `setTimeout`, `setAppInfo`, `setHttpAgent`, `setMaxNetworkRetries`, and `setTelemetryEnabled`). (#1597)
452
-
453
- Use the config object to set these options instead, for example:
454
- ```typescript
455
- const stripe = Stripe('sk_test_...', {
456
- apiVersion: '2019-08-08',
457
- maxNetworkRetries: 1,
458
- httpAgent: new ProxyAgent(process.env.http_proxy),
459
- timeout: 1000,
460
- host: 'api.example.com',
461
- port: 123,
462
- telemetry: true,
463
- });
464
- ```
465
- * Remove deprecated basic method definitions. (#1600)
466
- Use basic methods defined on the resource instead.
467
- ```typescript
468
- // Before
469
- basicMethods: true
470
-
471
- // After
472
- create: stripeMethod({
473
- method: 'POST',
474
- fullPath: '/v1/resource',
475
- }),
476
- list: stripeMethod({
477
- method: 'GET',
478
- methodType: 'list',
479
- fullPath: '/v1/resource',
480
- }),
481
- retrieve: stripeMethod({
482
- method: 'GET',
483
- fullPath: '/v1/resource/{id}',
484
- }),
485
- update: stripeMethod({
486
- method: 'POST',
487
- fullPath: '/v1/resource/{id}',
488
- }),
489
- // Avoid 'delete' keyword in JS
490
- del: stripeMethod({
491
- method: 'DELETE',
492
- fullPath: '/v1/resource/{id}',
493
- }),
494
- ```
495
- * 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)
496
- * Remove `charges` field on `PaymentIntent` and replace it with `latest_charge`. (#1614 )
497
- * Remove deprecated `amount` field on `Checkout.Session.LineItem`. (#1614 )
498
- * 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`.
499
732
 
500
733
  ## 10.17.0 - 2022-11-08
501
734
  * [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates
@@ -509,6 +742,22 @@ This release includes breaking changes resulting from moving to use the new API
509
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`
510
743
  * Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]`
511
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
+
512
761
  ## 10.15.0 - 2022-10-20
513
762
  * [#1588](https://github.com/stripe/stripe-node/pull/1588) API Updates
514
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`
@@ -516,6 +765,11 @@ This release includes breaking changes resulting from moving to use the new API
516
765
  * Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `Terminal.ReaderProcessPaymentIntentParams.process_config`
517
766
  * [#1585](https://github.com/stripe/stripe-node/pull/1585) use native UUID method if available
518
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
+
519
773
  ## 10.14.0 - 2022-10-13
520
774
  * [#1582](https://github.com/stripe/stripe-node/pull/1582) API Updates
521
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`
@@ -523,6 +777,11 @@ This release includes breaking changes resulting from moving to use the new API
523
777
  * Add support for `network_data` on `Issuing.Authorization`
524
778
  * ⚠️ Remove `currency`, `description`, `images`, and `name` from `Checkout.SessionCreateParams`. These properties do not work on the latest API version. (fixes #1575)
525
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
+
526
785
  ## 10.13.0 - 2022-10-06
527
786
  * [#1571](https://github.com/stripe/stripe-node/pull/1571) API Updates
528
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`
@@ -543,6 +802,11 @@ This release includes breaking changes resulting from moving to use the new API
543
802
  * [#1562](https://github.com/stripe/stripe-node/pull/1562) Restore lib after generating
544
803
  * [#1551](https://github.com/stripe/stripe-node/pull/1551) Re-introduce Typescript changes
545
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
+
546
810
  ## 10.11.0 - 2022-09-22
547
811
  * [#1560](https://github.com/stripe/stripe-node/pull/1560) API Updates
548
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`
@@ -550,7 +814,6 @@ This release includes breaking changes resulting from moving to use the new API
550
814
  * Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams`
551
815
  * Change `SubscriptionSchedule.phases[].currency` to be required
552
816
 
553
-
554
817
  ## 10.10.0 - 2022-09-15
555
818
  * [#1552](https://github.com/stripe/stripe-node/pull/1552) API Updates
556
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`
@@ -593,6 +856,11 @@ This release includes breaking changes resulting from moving to use the new API
593
856
  * [#1532](https://github.com/stripe/stripe-node/pull/1532) Update coveralls step to run for one node version, remove finish step
594
857
  * [#1531](https://github.com/stripe/stripe-node/pull/1531) Regen yarn.lock.
595
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
+
596
864
  ## 10.5.0 - 2022-08-24
597
865
  * [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
598
866
  * [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation
@@ -607,6 +875,11 @@ This release includes breaking changes resulting from moving to use the new API
607
875
  * Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
608
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.
609
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.
610
883
 
611
884
  ## 10.3.0 - 2022-08-19
612
885
  * [#1516](https://github.com/stripe/stripe-node/pull/1516) API Updates
@@ -619,11 +892,15 @@ This release includes breaking changes resulting from moving to use the new API
619
892
  * Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
620
893
  * [#1515](https://github.com/stripe/stripe-node/pull/1515) Add a support section to the readme
621
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
+
622
900
  ## 10.2.0 - 2022-08-11
623
901
  * [#1510](https://github.com/stripe/stripe-node/pull/1510) API Updates
624
902
  * Add support for `payment_method_collection` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
625
903
 
626
-
627
904
  ## 10.1.0 - 2022-08-09
628
905
  * [#1506](https://github.com/stripe/stripe-node/pull/1506) API Updates
629
906
  * Add support for `process_config` on `Terminal.Reader.action.process_payment_intent`
@@ -633,50 +910,22 @@ This release includes breaking changes resulting from moving to use the new API
633
910
  * [#1503](https://github.com/stripe/stripe-node/pull/1503) API Updates
634
911
  * Add support for `expires_at` on `Apps.Secret` and `Apps.SecretCreateParams`
635
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
+
636
918
  ## 10.0.0 - 2022-08-02
637
919
 
638
- 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".
639
921
 
640
- * 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
641
- * 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.
642
923
 
643
924
  "⚠️" symbol highlights breaking changes.
644
925
 
645
926
  * [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates
646
927
  * [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes
647
928
 
648
- ### Added
649
- * 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`
650
- * Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
651
-
652
- ### ⚠️ Changed
653
- * Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable.
654
- * Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`.
655
- * 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`.
656
- * Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable.
657
- * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
658
-
659
- ### ⚠️ Removed
660
- * Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions.
661
- * Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.
662
- * Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`.
663
- * Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions.
664
- * Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead.
665
- * Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.
666
- * Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
667
- * Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.
668
- * Remove `IssuerFraudRecords` resource.
669
- * Remove `Recipient` resource and`recipient` property from `Card` resource.
670
- * Remove `InvoiceMarkUncollectibleParams` definition.
671
- * Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions.
672
- * Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.
673
- * Remove `LineItemListParams` definition. The interface was no longer in use.
674
-
675
- ### ⚠️ Renamed
676
- * Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`.
677
- * Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`.
678
- * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
679
-
680
929
  ## 9.16.0 - 2022-07-26
681
930
  * [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates
682
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`
@@ -693,6 +942,20 @@ This release includes breaking changes resulting from:
693
942
  * Add support for `mandate` on `InvoicePayParams`
694
943
  * Add support for `product_data` on `OrderCreateParams.line_items[]` and `OrderUpdateParams.line_items[]`
695
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.
696
959
 
697
960
  ## 9.14.0 - 2022-07-18
698
961
  * [#1477](https://github.com/stripe/stripe-node/pull/1477) API Updates
@@ -716,6 +979,18 @@ This release includes breaking changes resulting from:
716
979
  * Change `Transfer.source_type` to be optional and not nullable
717
980
  * [#1471](https://github.com/stripe/stripe-node/pull/1471) Update readme to include a note on beta packages
718
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
+
719
994
  ## 9.12.0 - 2022-07-07
720
995
  * [#1468](https://github.com/stripe/stripe-node/pull/1468) API Updates
721
996
  * Add support for `currency` on `Checkout.SessionCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkCreateParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `Subscription`
@@ -778,6 +1053,10 @@ This release includes breaking changes resulting from:
778
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`
779
1054
  * Add support for `custom_unit_amount` on `PriceCreateParams` and `Price`
780
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
+
781
1060
  ## 9.7.0 - 2022-06-08
782
1061
  * [#1441](https://github.com/stripe/stripe-node/pull/1441) API Updates
783
1062
  * Add support for `affirm`, `bancontact`, `card`, `ideal`, `p24`, and `sofort` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
@@ -798,7 +1077,6 @@ This release includes breaking changes resulting from:
798
1077
  * Add support for `network` on `SetupIntent.payment_method_options.card`
799
1078
  * Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `Terminal.ReaderListParams.device_type`
800
1079
 
801
-
802
1080
  ## 9.5.0 - 2022-05-26
803
1081
  * [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
804
1082
  * Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -869,7 +1147,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
869
1147
  * Add support for `default_price` on `ProductUpdateParams` and `Product`
870
1148
  * Add support for `instructions_email` on `RefundCreateParams` and `Refund`
871
1149
 
872
-
873
1150
  ## 8.221.0 - 2022-05-05
874
1151
  * [#1413](https://github.com/stripe/stripe-node/pull/1413) API Updates
875
1152
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
@@ -1146,7 +1423,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1146
1423
  * [#1297](https://github.com/stripe/stripe-node/pull/1297) API Updates
1147
1424
  * Add support for `automatic_payment_methods` on `PaymentIntentCreateParams` and `PaymentIntent`
1148
1425
 
1149
-
1150
1426
  ## 8.189.0 - 2021-11-16
1151
1427
  * [#1295](https://github.com/stripe/stripe-node/pull/1295) API Updates
1152
1428
  * Add support for new resource `ShippingRate`
@@ -1169,7 +1445,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1169
1445
  * Remove support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account`. This API was unused.
1170
1446
  * Add support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account.company`
1171
1447
 
1172
-
1173
1448
  ## 8.186.0 - 2021-11-01
1174
1449
  * [#1283](https://github.com/stripe/stripe-node/pull/1283) API Updates
1175
1450
  * Add support for `ownership_declaration` on `AccountUpdateParams.company`, `AccountCreateParams.company`, `Account.company`, and `TokenCreateParams.account.company`
@@ -1313,7 +1588,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1313
1588
  * Add support for `wallet` on `Issuing.Transaction`
1314
1589
  * Add support for `ideal` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
1315
1590
 
1316
-
1317
1591
  ## 8.163.0 - 2021-07-15
1318
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
1319
1593
 
@@ -2846,7 +3120,7 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
2846
3120
 
2847
3121
  - [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
2848
3122
 
2849
- ### 2.2.1 - 2013-12-01
3123
+ ## 2.2.1 - 2013-12-01
2850
3124
 
2851
3125
  - [BUGFIX] Fix user-agent header issue (see issue #75)
2852
3126
 
@@ -2909,3 +3183,4 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
2909
3183
  ## 0.0.2 - 2011-09-28
2910
3184
 
2911
3185
  - Initial release with customers and tokens APIs
3186
+