stripe 16.7.0-beta.1 → 16.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/CHANGELOG.md +128 -787
  2. package/README.md +0 -33
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +5 -66
  5. package/cjs/StripeResource.js +1 -1
  6. package/cjs/apiVersion.js +1 -2
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  9. package/cjs/resources/Invoices.js +0 -17
  10. package/cjs/resources/OAuth.js +1 -1
  11. package/cjs/resources/PaymentIntents.js +0 -4
  12. package/cjs/resources/Quotes.js +0 -32
  13. package/cjs/resources/SubscriptionSchedules.js +0 -4
  14. package/cjs/resources/Tax/Calculations.js +4 -0
  15. package/cjs/resources/Terminal/Readers.js +0 -12
  16. package/cjs/resources.js +10 -40
  17. package/cjs/stripe.core.js +3 -6
  18. package/cjs/utils.js +3 -30
  19. package/esm/RequestSender.js +6 -67
  20. package/esm/StripeResource.js +2 -2
  21. package/esm/apiVersion.js +0 -1
  22. package/esm/multipart.js +2 -2
  23. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  24. package/esm/resources/Invoices.js +0 -17
  25. package/esm/resources/OAuth.js +2 -2
  26. package/esm/resources/PaymentIntents.js +0 -4
  27. package/esm/resources/Quotes.js +0 -32
  28. package/esm/resources/SubscriptionSchedules.js +0 -4
  29. package/esm/resources/Tax/Calculations.js +4 -0
  30. package/esm/resources/Terminal/Readers.js +0 -12
  31. package/esm/resources.js +0 -26
  32. package/esm/stripe.core.js +3 -6
  33. package/esm/utils.js +1 -27
  34. package/package.json +1 -1
  35. package/types/AccountLinksResource.d.ts +1 -5
  36. package/types/AccountSessions.d.ts +0 -15
  37. package/types/AccountSessionsResource.d.ts +0 -215
  38. package/types/Accounts.d.ts +5 -110
  39. package/types/AccountsResource.d.ts +6 -252
  40. package/types/Cards.d.ts +2 -2
  41. package/types/Charges.d.ts +8 -70
  42. package/types/ChargesResource.d.ts +5 -1299
  43. package/types/Checkout/Sessions.d.ts +91 -118
  44. package/types/Checkout/SessionsResource.d.ts +97 -114
  45. package/types/ConfirmationTokens.d.ts +22 -62
  46. package/types/Coupons.d.ts +1 -1
  47. package/types/CouponsResource.d.ts +1 -1
  48. package/types/CreditNotes.d.ts +0 -21
  49. package/types/CreditNotesResource.d.ts +0 -51
  50. package/types/CustomerSessions.d.ts +1 -1
  51. package/types/CustomerSessionsResource.d.ts +1 -1
  52. package/types/CustomersResource.d.ts +0 -2
  53. package/types/Disputes.d.ts +0 -158
  54. package/types/DisputesResource.d.ts +0 -120
  55. package/types/EventTypes.d.ts +0 -460
  56. package/types/Events.d.ts +0 -85
  57. package/types/FinancialConnections/Accounts.d.ts +1 -29
  58. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  59. package/types/FinancialConnections/Sessions.d.ts +1 -49
  60. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  61. package/types/Identity/VerificationSessions.d.ts +5 -0
  62. package/types/Identity/VerificationSessionsResource.d.ts +7 -0
  63. package/types/InvoiceItems.d.ts +0 -5
  64. package/types/InvoiceItemsResource.d.ts +0 -98
  65. package/types/InvoiceLineItems.d.ts +0 -22
  66. package/types/Invoices.d.ts +2 -116
  67. package/types/InvoicesResource.d.ts +1763 -5421
  68. package/types/Issuing/CardholdersResource.d.ts +1 -2
  69. package/types/LineItems.d.ts +0 -7
  70. package/types/Mandates.d.ts +0 -77
  71. package/types/PaymentIntents.d.ts +119 -608
  72. package/types/PaymentIntentsResource.d.ts +3680 -7208
  73. package/types/PaymentLinks.d.ts +2 -2
  74. package/types/PaymentLinksResource.d.ts +4 -4
  75. package/types/PaymentMethodConfigurations.d.ts +0 -36
  76. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  77. package/types/PaymentMethods.d.ts +22 -62
  78. package/types/PaymentMethodsResource.d.ts +0 -110
  79. package/types/Persons.d.ts +4 -1
  80. package/types/Prices.d.ts +0 -22
  81. package/types/PricesResource.d.ts +0 -22
  82. package/types/Products.d.ts +0 -39
  83. package/types/ProductsResource.d.ts +0 -36
  84. package/types/Quotes.d.ts +1 -596
  85. package/types/QuotesResource.d.ts +266 -3175
  86. package/types/SetupAttempts.d.ts +6 -9
  87. package/types/SetupIntents.d.ts +3 -110
  88. package/types/SetupIntentsResource.d.ts +6 -498
  89. package/types/Sources.d.ts +0 -23
  90. package/types/SubscriptionItems.d.ts +0 -21
  91. package/types/SubscriptionItemsResource.d.ts +0 -109
  92. package/types/SubscriptionSchedules.d.ts +0 -200
  93. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  94. package/types/Subscriptions.d.ts +3 -83
  95. package/types/SubscriptionsResource.d.ts +8 -351
  96. package/types/Tax/CalculationsResource.d.ts +20 -0
  97. package/types/Terminal/Readers.d.ts +1 -279
  98. package/types/Terminal/ReadersResource.d.ts +0 -208
  99. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
  100. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  101. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  102. package/types/TransfersResource.d.ts +1 -1
  103. package/types/Treasury/FinancialAccounts.d.ts +3 -5
  104. package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
  105. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  106. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  107. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  108. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  109. package/types/WebhookEndpointsResource.d.ts +0 -54
  110. package/types/index.d.ts +0 -67
  111. package/types/lib.d.ts +0 -12
  112. package/cjs/resources/AccountNotices.js +0 -21
  113. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  114. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  115. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  116. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  117. package/cjs/resources/GiftCards/Cards.js +0 -23
  118. package/cjs/resources/GiftCards/Transactions.js +0 -33
  119. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  120. package/cjs/resources/Margins.js +0 -22
  121. package/cjs/resources/Orders.js +0 -24
  122. package/cjs/resources/QuotePhases.js +0 -22
  123. package/cjs/resources/Tax/Associations.js +0 -9
  124. package/cjs/resources/Tax/Forms.js +0 -20
  125. package/esm/resources/AccountNotices.js +0 -18
  126. package/esm/resources/Capital/FinancingOffers.js +0 -18
  127. package/esm/resources/Capital/FinancingSummary.js +0 -9
  128. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  129. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  130. package/esm/resources/GiftCards/Cards.js +0 -20
  131. package/esm/resources/GiftCards/Transactions.js +0 -30
  132. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  133. package/esm/resources/Margins.js +0 -19
  134. package/esm/resources/Orders.js +0 -21
  135. package/esm/resources/QuotePhases.js +0 -19
  136. package/esm/resources/Tax/Associations.js +0 -6
  137. package/esm/resources/Tax/Forms.js +0 -17
  138. package/types/AccountNotices.d.ts +0 -113
  139. package/types/AccountNoticesResource.d.ts +0 -98
  140. package/types/Capital/FinancingOffers.d.ts +0 -188
  141. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  142. package/types/Capital/FinancingSummary.d.ts +0 -106
  143. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  144. package/types/Capital/FinancingTransactions.d.ts +0 -135
  145. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  146. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  147. package/types/FinancialConnections/Institutions.d.ts +0 -93
  148. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  149. package/types/GiftCards/Cards.d.ts +0 -118
  150. package/types/GiftCards/CardsResource.d.ts +0 -159
  151. package/types/GiftCards/Transactions.d.ts +0 -129
  152. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  153. package/types/InvoicePayments.d.ts +0 -138
  154. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
  155. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
  156. package/types/Margins.d.ts +0 -56
  157. package/types/MarginsResource.d.ts +0 -114
  158. package/types/Orders.d.ts +0 -1083
  159. package/types/OrdersResource.d.ts +0 -2763
  160. package/types/QuoteLines.d.ts +0 -634
  161. package/types/QuotePhases.d.ts +0 -198
  162. package/types/QuotePhasesResource.d.ts +0 -67
  163. package/types/QuotePreviewInvoices.d.ts +0 -1529
  164. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  165. package/types/Tax/Associations.d.ts +0 -126
  166. package/types/Tax/AssociationsResource.d.ts +0 -29
  167. package/types/Tax/Forms.d.ts +0 -133
  168. package/types/Tax/FormsResource.d.ts +0 -90
package/CHANGELOG.md CHANGED
@@ -1,24 +1,24 @@
1
1
  # Changelog
2
2
 
3
- ## 16.7.0-beta.1 - 2024-08-01
4
- * [#2145](https://github.com/stripe/stripe-node/pull/2145) Update generated code for beta
5
- * Add support for `attach_payment` method on resource `Invoice`
6
- * Add support for `app_install` and `app_viewport` on `AccountSessionCreateParams.components`
7
- * Remove support for `partner_rejected_details` on `Dispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3`
8
- * Add support for `lines_invalid` on `Quote.status_details.stale.last_reason`
9
- * Add support for new value `lines_invalid` on enum `Quote.status_details.stale.last_reason.type`
10
- * Add support for `last_price_migration_error` on `SubscriptionSchedule` and `Subscription`
11
-
12
- ## 16.6.0-beta.1 - 2024-07-25
13
- * [#2137](https://github.com/stripe/stripe-node/pull/2137) Update generated code for beta
14
- * Add support for new resources `Billing.AlertTriggered`, `Billing.Alert`, and `Tax.Association`
15
- * Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
16
- * Add support for `find` method on resource `Association`
17
- * Add support for `capital` on `Account.settings`, `AccountCreateParams.settings`, and `AccountUpdateParams.settings`
18
- * Add support for new values `issuing.account_closed_for_not_providing_business_model_clarification`, `issuing.account_closed_for_not_providing_url_clarification`, and `issuing.account_closed_for_not_providing_use_case_clarification` on enum `AccountNotice.reason`
19
- * Add support for `async_workflows` on `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentDecrementAuthorizationParams`, `PaymentIntentIncrementAuthorizationParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
20
- * Add support for `payto` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
21
- * Add support for `display_name` on `Treasury.FinancialAccountCreateParams`, `Treasury.FinancialAccountUpdateParams`, and `Treasury.FinancialAccount`
3
+ ## 16.7.0 - 2024-08-08
4
+ * [#2147](https://github.com/stripe/stripe-node/pull/2147) Update generated code
5
+ * Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Billing.Alert`
6
+ * Add support for `retrieve` method on resource `Tax.Calculation`
7
+ * Add support for new value `invalid_mandate_reference_prefix_format` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
8
+ * Add support for `type` on `Charge.payment_method_details.card_present.offline`, `ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present.offline`, `PaymentMethod.card.generated_from.payment_method_details.card_present.offline`, and `SetupAttempt.payment_method_details.card_present.offline`
9
+ * Add support for `offline` on `ConfirmationToken.payment_method_preview.card_present` and `PaymentMethod.card_present`
10
+ * Add support for `related_customer` on `Identity.VerificationSessionCreateParams`, `Identity.VerificationSessionListParams`, and `Identity.VerificationSession`
11
+ * Change `InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.count`, `InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.interval`, `InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.count`, `InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.interval`, `PaymentIntentConfirmParams.payment_method_options.card.installments.plan.count`, `PaymentIntentConfirmParams.payment_method_options.card.installments.plan.interval`, `PaymentIntentCreateParams.payment_method_options.card.installments.plan.count`, `PaymentIntentCreateParams.payment_method_options.card.installments.plan.interval`, `PaymentIntentUpdateParams.payment_method_options.card.installments.plan.count`, and `PaymentIntentUpdateParams.payment_method_options.card.installments.plan.interval` to be optional
12
+ * Add support for new value `girocard` on enums `PaymentIntent.payment_method_options.card.network`, `PaymentIntentConfirmParams.payment_method_options.card.network`, `PaymentIntentCreateParams.payment_method_options.card.network`, `PaymentIntentUpdateParams.payment_method_options.card.network`, `SetupIntent.payment_method_options.card.network`, `SetupIntentConfirmParams.payment_method_options.card.network`, `SetupIntentCreateParams.payment_method_options.card.network`, `SetupIntentUpdateParams.payment_method_options.card.network`, `Subscription.payment_settings.payment_method_options.card.network`, `SubscriptionCreateParams.payment_settings.payment_method_options.card.network`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.card.network`
13
+ * Add support for new value `financial_addresses.aba.forwarding` on enums `Treasury.FinancialAccount.active_features[]`, `Treasury.FinancialAccount.pending_features[]`, and `Treasury.FinancialAccount.restricted_features[]`
14
+
15
+ ## 16.6.0 - 2024-08-01
16
+ * [#2144](https://github.com/stripe/stripe-node/pull/2144) Update generated code
17
+ * Add support for new resources `Billing.AlertTriggered` and `Billing.Alert`
18
+ * Add support for new value `charge_exceeds_transaction_limit` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
19
+ * ⚠️ Remove support for `authorization_code` on `Charge.payment_method_details.card`. This was accidentally released last week.
20
+ * Add support for new value `billing.alert.triggered` on enum `Event.type`
21
+ * Add support for new value `billing.alert.triggered` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
22
22
 
23
23
  ## 16.5.0 - 2024-07-25
24
24
  * [#2143](https://github.com/stripe/stripe-node/pull/2143) Update generated code
@@ -44,12 +44,6 @@
44
44
  * Add support for new value `issuing_dispute.funds_rescinded` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
45
45
  * [#2136](https://github.com/stripe/stripe-node/pull/2136) Update changelog
46
46
 
47
- ## 16.4.0-beta.1 - 2024-07-11
48
- * [#2128](https://github.com/stripe/stripe-node/pull/2128) Update generated code for beta
49
- * Change `ConfirmationToken.payment_method_options` and `CustomerSession.components.payment_element` to be required
50
- * Add support for new value `not_qualified` on enum `Dispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3.status`
51
- * [#2134](https://github.com/stripe/stripe-node/pull/2134) Fix merge conflicts
52
-
53
47
  ## 16.3.0 - 2024-07-11
54
48
  * [#2130](https://github.com/stripe/stripe-node/pull/2130) Update generated code
55
49
  * ⚠️ Remove support for values `billing_policy_remote_function_response_invalid`, `billing_policy_remote_function_timeout`, `billing_policy_remote_function_unexpected_status_code`, and `billing_policy_remote_function_unreachable` from enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`.
@@ -63,27 +57,12 @@
63
57
  * [#2132](https://github.com/stripe/stripe-node/pull/2132) check `hasOwnProperty` when using `for..in`
64
58
  * [#2048](https://github.com/stripe/stripe-node/pull/2048) Add generateTestHeaderStringAsync function to Webhooks.ts
65
59
 
66
- ## 16.3.0-beta.1 - 2024-07-05
67
- * [#2126](https://github.com/stripe/stripe-node/pull/2126) Update generated code for beta
68
- * ⚠️ Remove support for `payment_method_update` on `CustomerSession.components.payment_element.features` and `CustomerSessionCreateParams.components.payment_element.features`. Users are expected to completely migrate from using `payment_method_update`.
69
- * Add support for new resource `FinancialConnections.Institution`
70
- * Add support for `list` and `retrieve` methods on resource `Institution`
71
- * Add support for `institution` on `Checkout.Session.payment_method_options.us_bank_account.financial_connections.filters`, `FinancialConnections.Session.filters`, `FinancialConnections.SessionCreateParams.filters`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections.filters`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters`, `SetupIntent.payment_method_options.us_bank_account.financial_connections.filters`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters`
72
- * Add support for `payment_method_allow_redisplay_filters`, `payment_method_redisplay_limit`, `payment_method_redisplay`, and `payment_method_save_usage` on `CustomerSession.components.payment_element.features` and `CustomerSessionCreateParams.components.payment_element.features`
73
- * Add support for new value `balance` on enums `FinancialConnections.Account.subscriptions[]`, `FinancialConnections.AccountSubscribeParams.features[]`, and `FinancialConnections.AccountUnsubscribeParams.features[]`
74
-
75
60
  ## 16.2.0 - 2024-07-05
76
61
  * [#2125](https://github.com/stripe/stripe-node/pull/2125) Update generated code
77
62
  * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
78
63
  * Add support for new value `payment_intent_fx_quote_invalid` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
79
64
  * Add support for `posted_at` on `Tax.TransactionCreateFromCalculationParams` and `Tax.Transaction`
80
65
 
81
- ## 16.2.0-beta.1 - 2024-06-27
82
- * [#2110](https://github.com/stripe/stripe-node/pull/2110) Update generated code for beta
83
- * Remove support for `payment_method_set_as_default` on `CustomerSession.components.payment_element.features` and `CustomerSessionCreateParams.components.payment_element.features`
84
- * Add support for new value `ch_uid` on enums `OrderCreateParams.tax_details.tax_ids[].type` and `OrderUpdateParams.tax_details.tax_ids[].type`
85
- * Add support for new value `ch_uid` on enum `Order.tax_details.tax_ids[].type`
86
-
87
66
  ## 16.1.0 - 2024-06-27
88
67
  * [#2120](https://github.com/stripe/stripe-node/pull/2120) Update generated code
89
68
  * Add support for `filters` on `Checkout.Session.payment_method_options.us_bank_account.financial_connections`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntent.payment_method_options.us_bank_account.financial_connections`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections`
@@ -139,11 +118,6 @@
139
118
  * Change type of `PaymentMethodCreateParams.card` from `PaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2` to `PaymentMethodCreateParams.Card` where the new Card is a union of all the properties of Card1 and Card2
140
119
  * Change type of `SetupIntentConfirmParams.mandate_data` from `Stripe.Emptyable<SetupIntentConfirmParams.MandateData1 | SetupIntentConfirmParams.MandateData2>` to `Stripe.Emptyable<SetupIntentConfirmParams.MandateData>` where the new MandateData is a union of all the properties of MandateData1 and MandateData2
141
120
 
142
- ## 15.12.0-beta.1 - 2024-06-13
143
- * [#2103](https://github.com/stripe/stripe-node/pull/2103) Update generated code for beta
144
- * Add support for new value `de_stn` on enums `OrderCreateParams.tax_details.tax_ids[].type` and `OrderUpdateParams.tax_details.tax_ids[].type`
145
- * Add support for new value `de_stn` on enum `Order.tax_details.tax_ids[].type`
146
-
147
121
  ## 15.11.0 - 2024-06-13
148
122
  * [#2102](https://github.com/stripe/stripe-node/pull/2102) Update generated code
149
123
  * Add support for `multibanco_payments` and `twint_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -157,19 +131,11 @@
157
131
  * Add support for `multibanco_display_details` on `PaymentIntent.next_action`
158
132
  * Add support for `invoice_settings` on `Subscription`
159
133
 
160
- ## 15.11.0-beta.1 - 2024-06-06
161
- * [#2098](https://github.com/stripe/stripe-node/pull/2098) Update generated code for beta
162
- * Add support for `twint` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
163
-
164
134
  ## 15.10.0 - 2024-06-06
165
135
  * [#2101](https://github.com/stripe/stripe-node/pull/2101) Update generated code
166
136
  * Add support for `gb_bank_transfer_payments`, `jp_bank_transfer_payments`, `mx_bank_transfer_payments`, `sepa_bank_transfer_payments`, and `us_bank_transfer_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
167
137
  * Add support for new value `swish` on enums `Invoice.payment_settings.payment_method_types[]`, `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `Subscription.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]`
168
138
 
169
- ## 15.10.0-beta.1 - 2024-05-30
170
- * [#2094](https://github.com/stripe/stripe-node/pull/2094) Update generated code for beta
171
- * Add support for new values `en-RO` and `ro-RO` on enums `OrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale` and `OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale`
172
-
173
139
  ## 15.9.0 - 2024-05-30
174
140
  * [#2095](https://github.com/stripe/stripe-node/pull/2095) Update generated code
175
141
  * Add support for new value `verification_requires_additional_proof_of_registration` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, and `BankAccount.requirements.errors[].code`
@@ -180,19 +146,12 @@
180
146
  * Add support for new values `en-RO` and `ro-RO` on enums `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale`
181
147
  * Add support for new values `issuing_personalization_design.activated`, `issuing_personalization_design.deactivated`, `issuing_personalization_design.rejected`, and `issuing_personalization_design.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
182
148
 
183
- ## 15.9.0-beta.1 - 2024-05-23
184
- * [#2093](https://github.com/stripe/stripe-node/pull/2093) Update generated code for beta
185
- * Change `CreditNoteCreateParams.refunds[].refund`, `CreditNotePreviewLinesParams.refunds[].refund`, and `CreditNotePreviewParams.refunds[].refund` to be optional
186
-
187
149
  ## 15.8.0 - 2024-05-23
188
150
  * [#2092](https://github.com/stripe/stripe-node/pull/2092) Update generated code
189
151
  * Add support for `external_account_collection` on `AccountSession.components.balances.features`, `AccountSession.components.payouts.features`, `AccountSessionCreateParams.components.balances.features`, and `AccountSessionCreateParams.components.payouts.features`
190
152
  * Add support for new value `terminal_reader_invalid_location_for_payment` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
191
153
  * Add support for `payment_method_remove` on `Checkout.Session.saved_payment_method_options`
192
154
 
193
- ## 15.8.0-beta.1 - 2024-05-16
194
- * [#2087](https://github.com/stripe/stripe-node/pull/2087) Update generated code for beta
195
-
196
155
  ## 15.7.0 - 2024-05-16
197
156
  * [#2088](https://github.com/stripe/stripe-node/pull/2088) Update generated code
198
157
  * Add support for `fee_source` on `ApplicationFee`
@@ -210,10 +169,6 @@
210
169
  * Add support for `stripe_s700` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration`
211
170
  * Change `Treasury.OutboundPayment.tracking_details` and `Treasury.OutboundTransfer.tracking_details` to be required
212
171
 
213
- ## 15.7.0-beta.1 - 2024-05-09
214
- * [#2079](https://github.com/stripe/stripe-node/pull/2079) Update generated code for beta
215
- * No new beta features. Merging changes from the main branch.
216
-
217
172
  ## 15.6.0 - 2024-05-09
218
173
  * [#2086](https://github.com/stripe/stripe-node/pull/2086) Update generated code
219
174
  * Remove support for `pending_invoice_items_behavior` on `SubscriptionCreateParams`
@@ -227,18 +182,6 @@
227
182
  * Add support for new values `treasury.outbound_payment.tracking_details_updated` and `treasury.outbound_transfer.tracking_details_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
228
183
  * [#2085](https://github.com/stripe/stripe-node/pull/2085) Remove unnecessary pointer to description in deprecation message
229
184
 
230
- ## 15.6.0-beta.1 - 2024-05-02
231
- * [#2073](https://github.com/stripe/stripe-node/pull/2073) Update generated code for beta
232
- * Add support for `rechnung_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
233
- * Add support for `rechnung` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethodUpdateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
234
- * Add support for `multibanco` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
235
- * Add support for new value `multibanco` on enum `Checkout.SessionCreateParams.payment_method_types[]`
236
- * Add support for new value `rechnung` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
237
- * Add support for new value `rechnung` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
238
- * Add support for new value `rechnung` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
239
- * Change `GiftCards.Card.code` and `GiftCards.Card.transactions` to be optional
240
- * Change `Tax.Calculation.ship_from_details` and `Tax.Transaction.ship_from_details` to be required
241
-
242
185
  ## 15.5.0 - 2024-05-02
243
186
  * [#2072](https://github.com/stripe/stripe-node/pull/2072) Update generated code
244
187
  * Add support for new value `shipping_address_invalid` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
@@ -255,11 +198,6 @@
255
198
  - Mark as deprecated the `persistent_token` property on `ConfirmationToken.PaymentMethodPreview.Link`, `PaymentIntent.PaymentMethodOptions.Link`, `PaymentIntentResource.PaymentMethodOptions.Link`, `PaymentMethod.Link.persistent_token`. `SetupIntents.PaymentMethodOptions.Card.Link.persistent_token`, `SetupIntentsResource.persistent_token`. This is a legacy parameter that no longer has any function.
256
199
  * [#2074](https://github.com/stripe/stripe-node/pull/2074) Add a more explicit comment on `limit` param in `autoPagingToArray`
257
200
 
258
- ## 15.5.0-beta.1 - 2024-04-25
259
- * [#2070](https://github.com/stripe/stripe-node/pull/2070) Update generated code for beta
260
- * Add support for `payment_method_settings` on `AccountSessionCreateParams.components`
261
- * Add support for `cancel_subscription_schedule` on `QuoteCreateParams.lines[]`, `QuoteLine`, and `QuoteUpdateParams.lines[]`
262
-
263
201
  ## 15.4.0 - 2024-04-25
264
202
  * [#2071](https://github.com/stripe/stripe-node/pull/2071) Update generated code
265
203
  * Add support for `setup_future_usage` on `Checkout.Session.payment_method_options.amazon_pay`, `Checkout.Session.payment_method_options.revolut_pay`, `PaymentIntent.payment_method_options.amazon_pay`, and `PaymentIntent.payment_method_options.revolut_pay`
@@ -272,12 +210,6 @@
272
210
  * Add support for `mobilepay` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
273
211
  * [#2061](https://github.com/stripe/stripe-node/pull/2061) Make cloudflare package export
274
212
 
275
- ## 15.4.0-beta.1 - 2024-04-18
276
- * [#2065](https://github.com/stripe/stripe-node/pull/2065) Update generated code for beta
277
- * Add support for `capital_overview`, `tax_registrations`, and `tax_settings` on `AccountSessionCreateParams.components`
278
- * Add support for `external_account_collection` on `AccountSessionCreateParams.components.financial_account.features`
279
- * Add support for `subscription_trial_from_plan` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
280
-
281
213
  ## 15.3.0 - 2024-04-18
282
214
  * [#2069](https://github.com/stripe/stripe-node/pull/2069) Update generated code
283
215
  * Add support for `create_preview` method on resource `Invoice`
@@ -302,19 +234,6 @@
302
234
  * Add support for `swish` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
303
235
  * Add support for new value `entitlements.active_entitlement_summary.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
304
236
 
305
- ## 15.2.0-beta.1 - 2024-04-11
306
- * [#2058](https://github.com/stripe/stripe-node/pull/2058) Update generated code for beta
307
- * Add support for `retrieve` method on resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
308
- * Add support for `fees`, `losses`, `requirement_collection`, and `stripe_dashboard` on `AccountCreateParams.controller`
309
- * Change type of `Entitlements.Feature.metadata` from `map(string: string) | null` to `map(string: string)`
310
- * Change `FinancialConnections.Account.ownership_refresh.next_refresh_available_at` to be required
311
- * Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enums `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `OrderCreateParams.tax_details.tax_ids[].type`, and `OrderUpdateParams.tax_details.tax_ids[].type`
312
- * Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enum `Order.tax_details.tax_ids[].type`
313
- * Add support for `hosted_voucher_url` on `PaymentIntent.next_action.multibanco_display_details`
314
- * Add support for `toggles` on `Terminal.Reader.action.collect_inputs.inputs[]` and `Terminal.ReaderCollectInputsParams.inputs[]`
315
- * Add support for new values `email`, `numeric`, `phone`, and `text` on enum `Terminal.ReaderCollectInputsParams.inputs[].type`
316
- * Add support for `email`, `numeric`, `phone`, and `text` on `Terminal.Reader.action.collect_inputs.inputs[]`
317
-
318
237
  ## 15.1.0 - 2024-04-11
319
238
  * [#2062](https://github.com/stripe/stripe-node/pull/2062) Update generated code
320
239
  * Add support for `account_management` and `notification_banner` on `AccountSession.components` and `AccountSessionCreateParams.components`
@@ -393,14 +312,6 @@
393
312
  * Add support for `event_name` on `Billing.MeterEventAdjustmentCreateParams` and `Billing.MeterEventAdjustment`
394
313
  * Add support for `cancel` and `type` on `Billing.MeterEventAdjustment`
395
314
 
396
- ## 14.25.0-beta.1 - 2024-04-04
397
- * [#2054](https://github.com/stripe/stripe-node/pull/2054) Update generated code for beta
398
- * Add support for `update` method on resource `Entitlements.Feature`
399
- * Add support for `risk_controls` on `AccountCreateParams`, `AccountUpdateParams`, and `Account`
400
- * Change `Discount.subscription_item`, `QuoteLine.actions[].add_discount`, `QuoteLine.actions[].add_item.discounts`, `QuoteLine.actions[].remove_discount`, `QuoteLine.actions[].set_discounts`, `QuoteLine.actions[].set_items[].discounts`, `Subscription.discounts`, `SubscriptionItem.discounts`, `SubscriptionSchedule.phases[].add_invoice_items[].discounts`, `SubscriptionSchedule.phases[].discounts`, and `SubscriptionSchedule.phases[].items[].discounts` to be required
401
- * Add support for `promotion_code` on `InvoiceAddLinesParams.lines[].discounts[]`, `InvoiceUpdateLinesParams.lines[].discounts[]`, `QuoteCreateParams.line_items[].discounts[]`, `QuoteCreateParams.lines[].actions[].add_discount`, `QuoteCreateParams.phases[].line_items[].discounts[]`, `QuoteUpdateParams.line_items[].discounts[]`, `QuoteUpdateParams.lines[].actions[].add_discount`, and `QuoteUpdateParams.phases[].line_items[].discounts[]`
402
- * Change type of `QuoteLine.actions[].add_item.discounts`, `QuoteLine.actions[].set_items[].discounts`, `SubscriptionSchedule.phases[].add_invoice_items[].discounts`, `SubscriptionSchedule.phases[].discounts`, and `SubscriptionSchedule.phases[].items[].discounts` from `array(DiscountsResourceStackableDiscount) | null` to `array(DiscountsResourceStackableDiscount)`
403
- * Change type of `Subscription.discounts` and `SubscriptionItem.discounts` from `array(expandable(Discount)) | null` to `array(expandable(Discount))`
404
315
 
405
316
  ## 14.24.0 - 2024-04-04
406
317
  * [#2053](https://github.com/stripe/stripe-node/pull/2053) Update generated code
@@ -422,11 +333,6 @@
422
333
  * Add support for `card_present` on `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, and `SetupIntentUpdateParams.payment_method_options`
423
334
  * Add support for new value `mobile_phone_reader` on enums `Terminal.Reader.device_type` and `Terminal.ReaderListParams.device_type`
424
335
 
425
- ## 14.24.0-beta.1 - 2024-03-28
426
- * [#2047](https://github.com/stripe/stripe-node/pull/2047) Update generated code for beta
427
- * Add support for `financial_account_transactions`, `financial_account`, `issuing_card`, and `issuing_cards_list` on `AccountSessionCreateParams.components`
428
- * Remove support for `subscription_billing_cycle_anchor`, `subscription_cancel_at_period_end`, `subscription_cancel_at`, `subscription_cancel_now`, `subscription_default_tax_rates`, `subscription_items`, `subscription_prebilling`, `subscription_proration_behavior`, `subscription_proration_date`, `subscription_resume_at`, `subscription_start_date`, and `subscription_trial_end` on `InvoiceCreatePreviewParams`
429
-
430
336
  ## 14.23.0 - 2024-03-28
431
337
  * [#2046](https://github.com/stripe/stripe-node/pull/2046) Update generated code
432
338
  * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
@@ -440,23 +346,6 @@
440
346
  * Add support for `meter` on `PlanCreateParams`, `Plan`, `Price.recurring`, `PriceCreateParams.recurring`, and `PriceListParams.recurring`
441
347
  * [#2045](https://github.com/stripe/stripe-node/pull/2045) esbuild test project fixes
442
348
 
443
- ## 14.23.0-beta.1 - 2024-03-21
444
- * [#2039](https://github.com/stripe/stripe-node/pull/2039) Update generated code for beta
445
- * Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement`
446
- * Add support for `list` method on resource `ActiveEntitlement`
447
- * Add support for `mobilepay` on `ConfirmationToken.payment_method_preview` and `ConfirmationTokenCreateParams.testHelpers.payment_method_data`
448
- * Add support for new value `mobilepay` on enum `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`
449
- * Add support for `use_stripe_sdk` on `ConfirmationToken`
450
- * Remove support for `payment_method` on `ConfirmationToken`
451
- * Change type of `ConfirmationToken.mandate_data` from `ConfirmationTokensResourceMandateData` to `ConfirmationTokensResourceMandateData | null`
452
- * Add support for new value `mobilepay` on enum `ConfirmationToken.payment_method_preview.type`
453
- * Add support for `metadata` on `Entitlements.FeatureCreateParams` and `Entitlements.Feature`
454
- * Add support for `active` on `Entitlements.Feature`
455
- * Add support for new value `entitlements.active_entitlement_summary.updated` on enum `Event.type`
456
- * Remove support for value `customer.entitlement_summary.updated` from enum `Event.type`
457
- * Add support for new value `entitlements.active_entitlement_summary.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
458
- * Remove support for value `customer.entitlement_summary.updated` from enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
459
-
460
349
  ## 14.22.0 - 2024-03-21
461
350
  * [#2040](https://github.com/stripe/stripe-node/pull/2040) Update generated code
462
351
  * Add support for new resources `ConfirmationToken` and `Forwarding.Request`
@@ -474,18 +363,6 @@
474
363
  * Add support for `payout` on `Treasury.ReceivedDebit.linked_flows`
475
364
  * [#2043](https://github.com/stripe/stripe-node/pull/2043) Don't mutate error.type during minification
476
365
 
477
- ## 14.22.0-beta.1 - 2024-03-14
478
- * [#2036](https://github.com/stripe/stripe-node/pull/2036) Update generated code for beta
479
- * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
480
- * Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
481
- * Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
482
- * Add support for `create` test helper method on resource `ConfirmationToken`
483
- * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
484
- * Add support for `multibanco` payment method throughout the API.
485
- * Add support for `second_line` on `Issuing.PhysicalBundle.features`
486
- * Add support for `multibanco_display_details` on `PaymentIntent.next_action`
487
- * Add support for `meter` on `PlanCreateParams`, `Plan`, `Price.recurring`, `PriceCreateParams.recurring`, and `PriceListParams.recurring`
488
-
489
366
  ## 14.21.0 - 2024-03-14
490
367
  * [#2035](https://github.com/stripe/stripe-node/pull/2035) Update generated code
491
368
  * Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
@@ -495,10 +372,6 @@
495
372
  * Change type of `SubscriptionCreateParams.application_fee_percent` and `SubscriptionUpdateParams.application_fee_percent` from `number` to `emptyStringable(number)`
496
373
  * Add support for `sepa_debit` on `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options`
497
374
 
498
- ## 14.21.0-beta.1 - 2024-03-07
499
- * [#2032](https://github.com/stripe/stripe-node/pull/2032) Update generated code for beta
500
- * Add support for new value `billing_period_end` on enums `QuoteCreateParams.lines[].ends_at.type`, `QuoteLine.ends_at.type`, and `QuoteUpdateParams.lines[].ends_at.type`
501
-
502
375
  ## 14.20.0 - 2024-03-07
503
376
  * [#2033](https://github.com/stripe/stripe-node/pull/2033) Update generated code
504
377
  * Add support for `documents` on `AccountSession.components` and `AccountSessionCreateParams.components`
@@ -506,16 +379,6 @@
506
379
  * Add support for `created` on `CreditNoteListParams`
507
380
  * Add support for `sepa_debit` on `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, and `InvoiceUpdateParams.payment_settings.payment_method_options`
508
381
 
509
- ## 14.20.0-beta.1 - 2024-02-29
510
- * [#2026](https://github.com/stripe/stripe-node/pull/2026) Update generated code for beta
511
- * Remove support for resource `Entitlements.Event`
512
- * Change type of `ConfirmationToken.mandate_data` from `ConfirmationTokensResourceMandateData | null` to `ConfirmationTokensResourceMandateData`
513
- * Change `ConfirmationToken.mandate_data`, `ConfirmationToken.payment_method_options`, and `ConfirmationToken.payment_method` to be optional
514
- * Remove support for `quantity` and `type` on `Entitlements.FeatureCreateParams` and `Entitlements.Feature`
515
- * Add support for `livemode` on `Issuing.PersonalizationDesign`
516
- * Add support for `application_fee_amount`, `description`, `metadata`, and `transfer_data` on `PaymentIntentDecrementAuthorizationParams`
517
- * Add support for `enable_customer_cancellation` on `Terminal.Reader.action.collect_payment_method.collect_config` and `Terminal.ReaderCollectPaymentMethodParams.collect_config`
518
-
519
382
  ## 14.19.0 - 2024-02-29
520
383
  * [#2029](https://github.com/stripe/stripe-node/pull/2029) Update generated code
521
384
  * Change `Identity.VerificationReport.type`, `SubscriptionSchedule.default_settings.invoice_settings.account_tax_ids`, `SubscriptionSchedule.phases[].invoice_settings.account_tax_ids`, and `TaxId.owner` to be required
@@ -526,9 +389,6 @@
526
389
  * Add support for `payment_method` on `TokenCreateParams.bank_account`
527
390
  * [#2027](https://github.com/stripe/stripe-node/pull/2027) vscode settings: true -> "explicit"
528
391
 
529
- ## 14.19.0-beta.1 - 2024-02-22
530
- * [#2023](https://github.com/stripe/stripe-node/pull/2023) Update generated code for beta
531
-
532
392
  ## 14.18.0 - 2024-02-22
533
393
  * [#2022](https://github.com/stripe/stripe-node/pull/2022) Update generated code
534
394
  * Add support for `client_reference_id` on `Identity.VerificationReportListParams`, `Identity.VerificationReport`, `Identity.VerificationSessionCreateParams`, `Identity.VerificationSessionListParams`, and `Identity.VerificationSession`
@@ -584,16 +444,6 @@
584
444
  * [#2021](https://github.com/stripe/stripe-node/pull/2021) Add TaxIds API
585
445
  * Add support for `create`, `del`, `list`, and `retrieve` methods on resource `TaxId`
586
446
 
587
- ## 14.18.0-beta.1 - 2024-02-16
588
- * [#2017](https://github.com/stripe/stripe-node/pull/2017) Update generated code for beta
589
- * Add support for `payto` and `twint` payment method throughout the API
590
- * Add support for `decrement_authorization` method on resource `PaymentIntent`
591
- * Add support for `decremental_authorization` on `Charge.payment_method_details.card`
592
- * Add support for `display_brand` on `ConfirmationToken.payment_method_preview.card`
593
- * Add support for new value `no_voec` on enums `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `OrderCreateParams.tax_details.tax_ids[].type`, and `OrderUpdateParams.tax_details.tax_ids[].type`
594
- * Add support for new value `no_voec` on enum `Order.tax_details.tax_ids[].type`
595
- * Add support for `request_decremental_authorization` on `PaymentIntent.payment_method_options.card`, `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card`, and `PaymentIntentUpdateParams.payment_method_options.card`
596
-
597
447
  ## 14.17.0 - 2024-02-15
598
448
  * [#2018](https://github.com/stripe/stripe-node/pull/2018) Update generated code
599
449
  * Add support for `networks` on `Card`, `PaymentMethodCreateParams.card`, `PaymentMethodUpdateParams.card`, and `TokenCreateParams.card`
@@ -603,11 +453,6 @@
603
453
  * Add support for `display_brand` on `PaymentMethod.card`
604
454
  * Add support for new value `financial_connections.account.refreshed_ownership` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
605
455
 
606
- ## 14.17.0-beta.1 - 2024-02-08
607
- * [#2014](https://github.com/stripe/stripe-node/pull/2014) Update generated code for beta
608
- * Add support for `payment_method_options` on `ConfirmationToken`
609
- * Add support for new value `velobank` on enum `ConfirmationToken.payment_method_preview.p24.bank`
610
-
611
456
  ## 14.16.0 - 2024-02-08
612
457
  * [#2012](https://github.com/stripe/stripe-node/pull/2012) Update generated code
613
458
  * Add support for `invoices` on `Account.settings` and `AccountUpdateParams.settings`
@@ -625,37 +470,6 @@
625
470
  * [#2009](https://github.com/stripe/stripe-node/pull/2009) Remove https check for *.stripe.com
626
471
  * Stops throwing exceptions if `protocol: 'http'` is set for requests to `api.stripe.com`.
627
472
 
628
- ## 14.15.0-beta.2 - 2024-02-01
629
- * [#2002](https://github.com/stripe/stripe-node/pull/2002) Update generated code for beta
630
- * Add support for new resources `Entitlements.Event` and `Entitlements.Feature`
631
- * Add support for `create` method on resource `Event`
632
- * Add support for `create` and `list` methods on resource `Feature`
633
- * Add support for `swish` on `ConfirmationToken.payment_method_preview`
634
- * Add support for new value `swish` on enum `ConfirmationToken.payment_method_preview.type`
635
- * Add support for new value `customer.entitlement_summary.updated` on enum `Event.type`
636
- * Add support for `account_tax_ids` on `InvoiceCreatePreviewParams.schedule_details.phases[].invoice_settings`, `InvoiceUpcomingLinesParams.schedule_details.phases[].invoice_settings`, and `InvoiceUpcomingParams.schedule_details.phases[].invoice_settings`
637
- * Add support for `feature` on `Product.features[]`, `ProductCreateParams.features[]`, and `ProductUpdateParams.features[]`
638
- * Add support for new value `customer.entitlement_summary.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
639
-
640
- ## 14.15.0-beta.1 - 2024-01-25
641
- * [#1997](https://github.com/stripe/stripe-node/pull/1997) Update generated code for beta
642
- * Add support for `create_preview` method on resource `Invoice`
643
- * Add support for `charged_off_at` on `Capital.FinancingOffer`
644
- * Change `Checkout.Session.automatic_tax.liability`, `Checkout.Session.invoice_creation.invoice_data.issuer`, `PaymentLink.automatic_tax.liability`, `PaymentLink.invoice_creation.invoice_data.issuer`, `PaymentLink.subscription_data.invoice_settings.issuer`, `PaymentLink.subscription_data.invoice_settings`, `Quote.automatic_tax.liability`, `Quote.invoice_settings.issuer`, `SubscriptionSchedule.default_settings.automatic_tax.liability`, `SubscriptionSchedule.default_settings.invoice_settings.issuer`, `SubscriptionSchedule.phases[].automatic_tax.liability`, and `SubscriptionSchedule.phases[].invoice_settings.issuer` to be required
645
- * Add support for new values `disabled` and `enabled` on enums `CustomerSession.components.payment_element.features.payment_method_remove`, `CustomerSession.components.payment_element.features.payment_method_save`, `CustomerSession.components.payment_element.features.payment_method_set_as_default`, `CustomerSession.components.payment_element.features.payment_method_update`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_remove`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_save`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_set_as_default`, and `CustomerSessionCreateParams.components.payment_element.features.payment_method_update`
646
- * Remove support for values `auto` and `never` from enums `CustomerSession.components.payment_element.features.payment_method_remove`, `CustomerSession.components.payment_element.features.payment_method_save`, `CustomerSession.components.payment_element.features.payment_method_set_as_default`, `CustomerSession.components.payment_element.features.payment_method_update`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_remove`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_save`, `CustomerSessionCreateParams.components.payment_element.features.payment_method_set_as_default`, and `CustomerSessionCreateParams.components.payment_element.features.payment_method_update`
647
- * Add support for `enhanced_evidence` on `Dispute.evidence` and `DisputeUpdateParams.evidence`
648
- * Add support for `enhanced_eligibility_types` on `Dispute`
649
- * Add support for `enhanced_eligibility` on `Dispute.evidence_details`
650
- * Add support for `promotion_code` on `InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].add`, `InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].remove`, `InvoiceUpcomingLinesParams.schedule_details.amendments[].discount_actions[].set`, `InvoiceUpcomingLinesParams.schedule_details.amendments[].item_actions[].add.discounts[]`, `InvoiceUpcomingLinesParams.schedule_details.amendments[].item_actions[].set.discounts[]`, `InvoiceUpcomingLinesParams.schedule_details.phases[].add_invoice_items[].discounts[]`, `InvoiceUpcomingLinesParams.schedule_details.phases[].discounts[]`, `InvoiceUpcomingLinesParams.schedule_details.phases[].items[].discounts[]`, `InvoiceUpcomingLinesParams.subscription_details.items[].discounts[]`, `InvoiceUpcomingLinesParams.subscription_items[].discounts[]`, `InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].add`, `InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].remove`, `InvoiceUpcomingParams.schedule_details.amendments[].discount_actions[].set`, `InvoiceUpcomingParams.schedule_details.amendments[].item_actions[].add.discounts[]`, `InvoiceUpcomingParams.schedule_details.amendments[].item_actions[].set.discounts[]`, `InvoiceUpcomingParams.schedule_details.phases[].add_invoice_items[].discounts[]`, `InvoiceUpcomingParams.schedule_details.phases[].discounts[]`, `InvoiceUpcomingParams.schedule_details.phases[].items[].discounts[]`, `InvoiceUpcomingParams.subscription_details.items[].discounts[]`, `InvoiceUpcomingParams.subscription_items[].discounts[]`, `QuoteCreateParams.lines[].actions[].add_item.discounts[]`, `QuoteCreateParams.lines[].actions[].remove_discount`, `QuoteCreateParams.lines[].actions[].set_discounts[]`, `QuoteCreateParams.lines[].actions[].set_items[].discounts[]`, `QuoteCreateParams.phases[].discounts[]`, `QuoteLine.actions[].add_discount`, `QuoteLine.actions[].add_item.discounts[]`, `QuoteLine.actions[].remove_discount`, `QuoteLine.actions[].set_discounts[]`, `QuoteLine.actions[].set_items[].discounts[]`, `QuoteUpdateParams.lines[].actions[].add_item.discounts[]`, `QuoteUpdateParams.lines[].actions[].remove_discount`, `QuoteUpdateParams.lines[].actions[].set_discounts[]`, `QuoteUpdateParams.lines[].actions[].set_items[].discounts[]`, `QuoteUpdateParams.phases[].discounts[]`, `SubscriptionCreateParams.add_invoice_items[].discounts[]`, `SubscriptionCreateParams.discounts[]`, `SubscriptionCreateParams.items[].discounts[]`, `SubscriptionItemCreateParams.discounts[]`, `SubscriptionItemUpdateParams.discounts[]`, `SubscriptionSchedule.phases[].add_invoice_items[].discounts[]`, `SubscriptionSchedule.phases[].discounts[]`, `SubscriptionSchedule.phases[].items[].discounts[]`, `SubscriptionScheduleAmendParams.amendments[].discount_actions[].add`, `SubscriptionScheduleAmendParams.amendments[].discount_actions[].remove`, `SubscriptionScheduleAmendParams.amendments[].discount_actions[].set`, `SubscriptionScheduleAmendParams.amendments[].item_actions[].add.discounts[]`, `SubscriptionScheduleAmendParams.amendments[].item_actions[].set.discounts[]`, `SubscriptionScheduleCreateParams.phases[].add_invoice_items[].discounts[]`, `SubscriptionScheduleCreateParams.phases[].discounts[]`, `SubscriptionScheduleCreateParams.phases[].items[].discounts[]`, `SubscriptionScheduleUpdateParams.phases[].add_invoice_items[].discounts[]`, `SubscriptionScheduleUpdateParams.phases[].discounts[]`, `SubscriptionScheduleUpdateParams.phases[].items[].discounts[]`, `SubscriptionUpdateParams.add_invoice_items[].discounts[]`, `SubscriptionUpdateParams.discounts[]`, and `SubscriptionUpdateParams.items[].discounts[]`
651
- * [#1996](https://github.com/stripe/stripe-node/pull/1996) Update generated code for beta
652
- Release specs are identical.
653
- * [#1993](https://github.com/stripe/stripe-node/pull/1993) Update generated code for beta
654
- * Add support for new value `nn` on enum `ConfirmationToken.payment_method_preview.ideal.bank`
655
- * Add support for new value `NNBANL2G` on enum `ConfirmationToken.payment_method_preview.ideal.bic`
656
- * Change `Invoice.automatic_tax.liability`, `Invoice.issuer`, and `Subscription.automatic_tax.liability` to be required
657
- * [#1994](https://github.com/stripe/stripe-node/pull/1994) Beta: report `raw_request` usage
658
-
659
473
  ## 14.14.0 - 2024-01-25
660
474
  * [#1998](https://github.com/stripe/stripe-node/pull/1998) Update generated code
661
475
  * Add support for `annual_revenue` and `estimated_worker_count` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
@@ -681,15 +495,6 @@
681
495
  * Add support for `invoice_settings` on `SubscriptionCreateParams` and `SubscriptionUpdateParams`
682
496
  * [#1992](https://github.com/stripe/stripe-node/pull/1992) Add a hint about formatting during request forwarding
683
497
 
684
- ## 14.14.0-beta.1 - 2024-01-18
685
- * [#1996](https://github.com/stripe/stripe-node/pull/1996) Update generated code for beta
686
- Release specs are identical.
687
- * [#1993](https://github.com/stripe/stripe-node/pull/1993) Update generated code for beta
688
- * Add support for new value `nn` on enum `ConfirmationToken.payment_method_preview.ideal.bank`
689
- * Add support for new value `NNBANL2G` on enum `ConfirmationToken.payment_method_preview.ideal.bic`
690
- * Change `Invoice.automatic_tax.liability`, `Invoice.issuer`, and `Subscription.automatic_tax.liability` to be required
691
- * [#1994](https://github.com/stripe/stripe-node/pull/1994) Beta: report `raw_request` usage
692
-
693
498
  ## 14.13.0 - 2024-01-18
694
499
  * [#1995](https://github.com/stripe/stripe-node/pull/1995) Update generated code
695
500
  * Add support for providing `BankAccount`, `Card`, and `CardToken` details on the `external_account` parameter in `AccountUpdateParams`
@@ -705,17 +510,6 @@
705
510
  * Add support for `invoice_settings` on `SubscriptionCreateParams` and `SubscriptionUpdateParams`
706
511
  * [#1992](https://github.com/stripe/stripe-node/pull/1992) Add a hint about formatting during request forwarding
707
512
 
708
- ## 14.13.0-beta.1 - 2024-01-12
709
- * [#1989](https://github.com/stripe/stripe-node/pull/1989) Update generated code for beta
710
- * Add support for `amount` on `ChargeCaptureParams.payment_details.flight.segments[]`, `ChargeUpdateParams.payment_details.flight.segments[]`, `PaymentIntentCaptureParams.payment_details.flight.segments[]`, `PaymentIntentConfirmParams.payment_details.flight.segments[]`, `PaymentIntentCreateParams.payment_details.flight.segments[]`, and `PaymentIntentUpdateParams.payment_details.flight.segments[]`
711
- * Add support for `number_of_rooms` and `room_class` on `ChargeCaptureParams.payment_details.lodging`, `ChargeUpdateParams.payment_details.lodging`, `PaymentIntentCaptureParams.payment_details.lodging`, `PaymentIntentConfirmParams.payment_details.lodging`, `PaymentIntentCreateParams.payment_details.lodging`, and `PaymentIntentUpdateParams.payment_details.lodging`
712
- * Change `ConfirmationToken.setup_future_usage` to be required
713
- * Add support for `buy_button` on `CustomerSession.components` and `CustomerSessionCreateParams.components`
714
- * Add support for new values `high_risk_industry`, `insufficient_margin_ratio`, `insufficient_operating_profit`, `insufficient_reserves`, `insufficient_time_in_network`, `lacking_cash_account`, and `poor_payment_history_with_platform` on enums `Issuing.CreditUnderwritingRecord.decision.application_rejected.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.application_rejected.reasons[]`, and `Issuing.CreditUnderwritingRecordReportDecisionParams.decision.application_rejected.reasons[]`
715
- * Add support for new values `high_risk_industry`, `insufficient_margin_ratio`, `insufficient_operating_profit`, `insufficient_reserves`, `insufficient_time_in_network`, and `lacking_cash_account` on enums `Issuing.CreditUnderwritingRecord.decision.credit_limit_decreased.reasons[]`, `Issuing.CreditUnderwritingRecord.decision.credit_line_closed.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_limit_decreased.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_line_closed.reasons[]`, `Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_limit_decreased.reasons[]`, and `Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_line_closed.reasons[]`
716
- * [#1986](https://github.com/stripe/stripe-node/pull/1986) Update generated code for beta
717
- * Change `AccountSession.components.capital_financing_promotion.features` to be required
718
-
719
513
  ## 14.12.0 - 2024-01-12
720
514
  * [#1990](https://github.com/stripe/stripe-node/pull/1990) Update generated code
721
515
  * Add support for new resource `CustomerSession`
@@ -725,11 +519,6 @@
725
519
  * Remove support for value `obligation` from enum `Reporting.ReportRunCreateParams.parameters.reporting_category`
726
520
  * Add support for `billing_cycle_anchor_config` on `SubscriptionCreateParams` and `Subscription`
727
521
 
728
- ## 14.12.0-beta.1 - 2024-01-04
729
- * [#1986](https://github.com/stripe/stripe-node/pull/1986) Update generated code for beta
730
- * Change `AccountSession.components.capital_financing_promotion.features` to be required
731
- * Updated stable APIs to the latest version
732
-
733
522
  ## 14.11.0 - 2024-01-04
734
523
  * [#1985](https://github.com/stripe/stripe-node/pull/1985) Update generated code
735
524
  * Add support for `retrieve` method on resource `Tax.Registration`
@@ -737,15 +526,6 @@
737
526
  * Change type of `SubscriptionSchedule.default_settings.invoice_settings` from `InvoiceSettingSubscriptionScheduleSetting | null` to `InvoiceSettingSubscriptionScheduleSetting`
738
527
  * [#1987](https://github.com/stripe/stripe-node/pull/1987) Update docstrings to indicate removal of deprecated event types
739
528
 
740
- ## 14.11.0-beta.1 - 2023-12-22
741
- * [#1977](https://github.com/stripe/stripe-node/pull/1977) Update generated code for beta
742
- * Add support for `capital_financing_promotion` on `AccountSession.components` and `AccountSessionCreateParams.components`
743
- * Add support for new value `shipping_address_invalid` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
744
- * Change `FinancialConnections.Account.balance_refresh.next_refresh_available_at`, `FinancialConnections.Account.subscriptions`, and `FinancialConnections.Account.transaction_refresh` to be required
745
- * Change type of `Invoice.issuer` and `SubscriptionSchedule.default_settings.invoice_settings.issuer` from `ConnectAccountReference | null` to `ConnectAccountReference`
746
- * Change type of `PaymentLink.subscription_data.invoice_settings` from `PaymentLinksResourceSubscriptionDataInvoiceSettings | null` to `PaymentLinksResourceSubscriptionDataInvoiceSettings`
747
- * Add support for `ship_from_details` on `Tax.CalculationCreateParams`, `Tax.Calculation`, and `Tax.Transaction`
748
-
749
529
  ## 14.10.0 - 2023-12-22
750
530
  * [#1979](https://github.com/stripe/stripe-node/pull/1979) Update generated code
751
531
  * Add support for `collection_method` on `Mandate.payment_method_details.us_bank_account`
@@ -769,12 +549,6 @@
769
549
  * Add support for `destination_details` on `Refund`
770
550
  * Add support for new value `financial_connections.account.refreshed_transactions` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
771
551
 
772
- ## 14.10.0-beta.1 - 2023-12-14
773
- * [#1975](https://github.com/stripe/stripe-node/pull/1975) Update generated code for beta
774
- * Add support for `preview_mode` and `subscription_details` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
775
- * Remove support for `subscription_trial_from_plan` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
776
- * Add support for `billing_behavior`, `end_behavior`, and `proration_behavior` on `InvoiceUpcomingLinesParams.schedule_details` and `InvoiceUpcomingParams.schedule_details`
777
-
778
552
  ## 14.9.0 - 2023-12-14
779
553
  * [#1973](https://github.com/stripe/stripe-node/pull/1973) Add `usage` to X-Stripe-Client-Telemetry
780
554
  * [#1971](https://github.com/stripe/stripe-node/pull/1971) Update generated code
@@ -782,13 +556,6 @@
782
556
  * Add support for `after_submit` on `Checkout.Session.custom_text`, `Checkout.SessionCreateParams.custom_text`, `PaymentLink.custom_text`, `PaymentLinkCreateParams.custom_text`, and `PaymentLinkUpdateParams.custom_text`
783
557
  * Add support for `created` on `Radar.EarlyFraudWarningListParams`
784
558
 
785
- ## 14.9.0-beta.1 - 2023-12-08
786
- * [#1969](https://github.com/stripe/stripe-node/pull/1969) Update generated code for beta
787
- * Add support for `retrieve` method on resource `FinancialConnections.Transaction`
788
- * Remove support for `issuing_card` and `issuing_cards_list` on `AccountSessionCreateParams.components`
789
- * Add support for `payment_method_remove`, `payment_method_save`, and `payment_method_set_as_default` on `CustomerSession.components.payment_element.features` and `CustomerSessionCreateParams.components.payment_element.features`
790
- * Remove support for `payment_method_detach` and `payment_method_set_as_customer_default` on `CustomerSession.components.payment_element.features` and `CustomerSessionCreateParams.components.payment_element.features`
791
-
792
559
  ## 14.8.0 - 2023-12-07
793
560
  * [#1968](https://github.com/stripe/stripe-node/pull/1968) Update generated code
794
561
  * Add support for `payment_details`, `payments`, and `payouts` on `AccountSession.components` and `AccountSessionCreateParams.components`
@@ -802,9 +569,6 @@
802
569
  * Add support for `transfer_group` on `PaymentLink.payment_intent_data`, `PaymentLinkCreateParams.payment_intent_data`, and `PaymentLinkUpdateParams.payment_intent_data`
803
570
  * Add support for `trial_settings` on `PaymentLink.subscription_data`, `PaymentLinkCreateParams.subscription_data`, and `PaymentLinkUpdateParams.subscription_data`
804
571
 
805
- ## 14.8.0-beta.1 - 2023-11-30
806
- * [#1967](https://github.com/stripe/stripe-node/pull/1967) Update generated code for beta
807
-
808
572
  ## 14.7.0 - 2023-11-30
809
573
  * [#1965](https://github.com/stripe/stripe-node/pull/1965) Update generated code
810
574
  * Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
@@ -819,18 +583,6 @@
819
583
  * Add support for new values `climate_order_purchase` and `climate_order_refund` on enum `Reporting.ReportRunCreateParams.parameters.reporting_category`
820
584
  * Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
821
585
 
822
- ## 14.7.0-beta.2 - 2023-11-27
823
- * [#1966](https://github.com/stripe/stripe-node/pull/1966) beta: climate APIs
824
- * Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
825
- * Add support for new value `financial_connections_account_inactive` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
826
- * Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enum `Event.type`
827
- * Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
828
-
829
- ## 14.7.0-beta.1 - 2023-11-21
830
- * [#1962](https://github.com/stripe/stripe-node/pull/1962) Update generated code for beta
831
- * Rename `.delivery.receipient` to `.delivery.recipient` on `Charge` and `PaymentIntent` APIs.
832
- * Add support for `components` on `CustomerSessionCreateParams` and `CustomerSession`
833
-
834
586
  ## 14.6.0 - 2023-11-21
835
587
  * [#1961](https://github.com/stripe/stripe-node/pull/1961) Update generated code
836
588
  * Add support for `electronic_commerce_indicator` on `Charge.payment_method_details.card.three_d_secure` and `SetupAttempt.payment_method_details.card.three_d_secure`
@@ -843,16 +595,6 @@
843
595
  * Add support for `authorization_code` on `Issuing.Transaction.network_data`
844
596
  * Add support for `three_d_secure` on `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card`, `PaymentIntentUpdateParams.payment_method_options.card`, `SetupIntentConfirmParams.payment_method_options.card`, `SetupIntentCreateParams.payment_method_options.card`, and `SetupIntentUpdateParams.payment_method_options.card`
845
597
 
846
- ## 14.6.0-beta.1 - 2023-11-16
847
- * [#1959](https://github.com/stripe/stripe-node/pull/1959) Update generated code for beta
848
- * Add support for `event_details` and `subscription` on `ChargeCaptureParams.payment_details`, `ChargeUpdateParams.payment_details`, `PaymentIntent.payment_details`, `PaymentIntentCaptureParams.payment_details`, `PaymentIntentConfirmParams.payment_details`, `PaymentIntentCreateParams.payment_details`, and `PaymentIntentUpdateParams.payment_details`
849
- * Add support for `affiliate` and `delivery` on `ChargeCaptureParams.payment_details.car_rental`, `ChargeCaptureParams.payment_details.flight`, `ChargeCaptureParams.payment_details.lodging`, `ChargeUpdateParams.payment_details.car_rental`, `ChargeUpdateParams.payment_details.flight`, `ChargeUpdateParams.payment_details.lodging`, `PaymentIntent.payment_details.car_rental`, `PaymentIntentCaptureParams.payment_details.car_rental`, `PaymentIntentCaptureParams.payment_details.flight`, `PaymentIntentCaptureParams.payment_details.lodging`, `PaymentIntentConfirmParams.payment_details.car_rental`, `PaymentIntentConfirmParams.payment_details.flight`, `PaymentIntentConfirmParams.payment_details.lodging`, `PaymentIntentCreateParams.payment_details.car_rental`, `PaymentIntentCreateParams.payment_details.flight`, `PaymentIntentCreateParams.payment_details.lodging`, `PaymentIntentUpdateParams.payment_details.car_rental`, `PaymentIntentUpdateParams.payment_details.flight`, and `PaymentIntentUpdateParams.payment_details.lodging`
850
- * Add support for `drivers` on `ChargeCaptureParams.payment_details.car_rental`, `ChargeUpdateParams.payment_details.car_rental`, `PaymentIntent.payment_details.car_rental`, `PaymentIntentCaptureParams.payment_details.car_rental`, `PaymentIntentConfirmParams.payment_details.car_rental`, `PaymentIntentCreateParams.payment_details.car_rental`, and `PaymentIntentUpdateParams.payment_details.car_rental`
851
- * Add support for `passengers` on `ChargeCaptureParams.payment_details.flight`, `ChargeCaptureParams.payment_details.lodging`, `ChargeUpdateParams.payment_details.flight`, `ChargeUpdateParams.payment_details.lodging`, `PaymentIntentCaptureParams.payment_details.flight`, `PaymentIntentCaptureParams.payment_details.lodging`, `PaymentIntentConfirmParams.payment_details.flight`, `PaymentIntentConfirmParams.payment_details.lodging`, `PaymentIntentCreateParams.payment_details.flight`, `PaymentIntentCreateParams.payment_details.lodging`, `PaymentIntentUpdateParams.payment_details.flight`, and `PaymentIntentUpdateParams.payment_details.lodging`
852
- * Add support for `created` on `CustomerSession`
853
- * [#1954](https://github.com/stripe/stripe-node/pull/1954) Update generated code for beta
854
- * Add support for `issuing_card` and `issuing_cards_list` on `AccountSessionCreateParams.components`
855
-
856
598
  ## 14.5.0 - 2023-11-16
857
599
  * [#1957](https://github.com/stripe/stripe-node/pull/1957) Update generated code
858
600
  * Add support for `bacs_debit_payments` on `AccountCreateParams.settings` and `AccountUpdateParams.settings`
@@ -867,13 +609,6 @@
867
609
  * [#1958](https://github.com/stripe/stripe-node/pull/1958) Move Webhooks instance to static field
868
610
  * [#1952](https://github.com/stripe/stripe-node/pull/1952) Use AbortController for native fetch cancellation when available
869
611
 
870
- ## 14.5.0-beta.1 - 2023-11-10
871
- * [#1948](https://github.com/stripe/stripe-node/pull/1948) Update generated code for beta
872
- * Add support for new value `quote.reestimate_failed` on enum `Event.type`
873
- * Add support for `metadata` on `QuoteCreateParams.phases[]`, `QuotePhase`, and `QuoteUpdateParams.phases[]`
874
- * Add support for `last_reestimation_details` on `Quote.computed`
875
- * Add support for new value `quote.reestimate_failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
876
-
877
612
  ## 14.4.0 - 2023-11-09
878
613
  * [#1947](https://github.com/stripe/stripe-node/pull/1947) Update generated code
879
614
  * Add support for new value `terminal_reader_hardware_fault` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
@@ -881,23 +616,6 @@
881
616
  * Change `Product.features[].name` to be optional
882
617
  * Add support for `metadata` on `Quote.subscription_data`, `QuoteCreateParams.subscription_data`, and `QuoteUpdateParams.subscription_data`
883
618
 
884
- ## 14.4.0-beta.1 - 2023-11-02
885
- * [#1945](https://github.com/stripe/stripe-node/pull/1945) Update generated code for beta
886
- * Add support for `attach_payment_intent` method on resource `Invoice`
887
- * Add support for `revolut_pay` on `ConfirmationToken.payment_method_preview`
888
- * Add support for new value `revolut_pay` on enum `ConfirmationToken.payment_method_preview.type`
889
- * Change `ConfirmationToken.payment_method_preview.paypal.payer_email`, `ConfirmationToken.payment_method_preview.paypal.payer_id`, `Issuing.Authorization.merchant_data.url`, `Issuing.Authorization.verification_data.three_d_secure`, `Issuing.Transaction.merchant_data.url`, `Order.payment.settings.payment_method_options.paypal.reference`, and `QuoteLine.set_schedule_end` to be required
890
- * Add support for `refunds` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, and `CreditNote`
891
- * Add support for `post_payment_amount` and `pre_payment_amount` on `CreditNote`
892
- * Add support for new value `invoice.payment.overpaid` on enum `Event.type`
893
- * Add support for `schedule_details` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
894
- * Add support for `amounts_due` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
895
- * Add support for `payments` on `Invoice`
896
- * Add support for `created` on `Issuing.PersonalizationDesign`
897
- * Add support for `ending_before`, `limit`, and `starting_after` on `Tax.RegistrationListParams`
898
- * Change type of `Tax.RegistrationCreateParams.active_from` to be `'now' | DateTime`
899
- * Add support for new value `invoice.payment.overpaid` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
900
-
901
619
  ## 14.3.0 - 2023-11-02
902
620
  * [#1943](https://github.com/stripe/stripe-node/pull/1943) Update generated code
903
621
  * Add support for new resource `Tax.Registration`
@@ -915,37 +633,12 @@
915
633
  * Add support for `description` on `PaymentLink.payment_intent_data`, `PaymentLinkCreateParams.payment_intent_data`, and `PaymentLinkUpdateParams.payment_intent_data`
916
634
  * Add support for new value `unreconciled_customer_funds` on enum `Reporting.ReportRunCreateParams.parameters.reporting_category`
917
635
 
918
- ## 14.3.0-beta.1 - 2023-10-26
919
- * [#1938](https://github.com/stripe/stripe-node/pull/1938) Update generated code for beta
920
- * Add support for new resource `Margin`
921
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
922
- * Add support for `subsellers` on `Checkout.SessionCreateParams.payment_method_options.paypal`, `Order.payment.settings.payment_method_options.paypal`, `OrderCreateParams.payment.settings.payment_method_options.paypal`, `OrderUpdateParams.payment.settings.payment_method_options.paypal`, `PaymentIntent.payment_method_options.paypal`, `PaymentIntentConfirmParams.payment_method_options.paypal`, `PaymentIntentCreateParams.payment_method_options.paypal`, `PaymentIntentUpdateParams.payment_method_options.paypal`, `SetupIntent.payment_method_options.paypal`, `SetupIntentConfirmParams.payment_method_options.paypal`, `SetupIntentCreateParams.payment_method_options.paypal`, and `SetupIntentUpdateParams.payment_method_options.paypal`
923
- * Add support for `default_margins` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
924
- * Add support for `total_margin_amounts` on `Invoice`
925
- * Add support for `margins` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, and `InvoiceItem`
926
- * Add support for new values `applicant_is_not_beneficial_owner`, `current_account_tier_ineligible`, `customer_requested_account_closure`, `dispute_rate_too_high`, and `invalid_business_license` on enums `Issuing.CreditUnderwritingRecord.decision.credit_limit_decreased.reasons[]`, `Issuing.CreditUnderwritingRecord.decision.credit_line_closed.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_limit_decreased.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_line_closed.reasons[]`, `Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_limit_decreased.reasons[]`, and `Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_line_closed.reasons[]`
927
- * Add support for new values `applicant_is_not_beneficial_owner`, `current_account_tier_ineligible`, `customer_requested_account_closure`, `dispute_rate_too_high`, and `invalid_business_license` on enums `Issuing.CreditUnderwritingRecord.decision.application_rejected.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.application_rejected.reasons[]`, and `Issuing.CreditUnderwritingRecordReportDecisionParams.decision.application_rejected.reasons[]`
928
- * Remove support for values `change_in_financial_state`, `change_in_utilization_of_credit_line`, `decrease_in_income_to_expense_ratio`, `decrease_in_social_media_performance`, `exceeds_acceptable_platform_exposure`, `has_recent_credit_limit_increase`, `insufficient_credit_utilization`, `insufficient_usage_as_qualified_expenses`, and `poor_payment_history_with_platform` from enums `Issuing.CreditUnderwritingRecord.decision.application_rejected.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.application_rejected.reasons[]`, and `Issuing.CreditUnderwritingRecordReportDecisionParams.decision.application_rejected.reasons[]`
929
- * Add support for `is_default` on `Issuing.PersonalizationDesign.preferences`, `Issuing.PersonalizationDesignCreateParams.preferences`, `Issuing.PersonalizationDesignListParams.preferences`, and `Issuing.PersonalizationDesignUpdateParams.preferences`
930
- * Add support for `is_platform_default` on `Issuing.PersonalizationDesign.preferences` and `Issuing.PersonalizationDesignListParams.preferences`
931
- * Remove support for `account_default` on `Issuing.PersonalizationDesign.preferences`, `Issuing.PersonalizationDesignCreateParams.preferences`, `Issuing.PersonalizationDesignListParams.preferences`, and `Issuing.PersonalizationDesignUpdateParams.preferences`
932
- * Remove support for `platform_default` on `Issuing.PersonalizationDesign.preferences` and `Issuing.PersonalizationDesignListParams.preferences`
933
- * Add support for `liability` on `PaymentLink.automatic_tax`, `PaymentLinkCreateParams.automatic_tax`, and `PaymentLinkUpdateParams.automatic_tax`
934
- * Add support for `issuer` on `PaymentLink.invoice_creation.invoice_data`, `PaymentLinkCreateParams.invoice_creation.invoice_data`, and `PaymentLinkUpdateParams.invoice_creation.invoice_data`
935
- * Add support for `invoice_settings` on `PaymentLink.subscription_data`, `PaymentLinkCreateParams.subscription_data`, and `PaymentLinkUpdateParams.subscription_data`
936
- * Add support for new value `accept_failed_validations` on enum `Quote.status_details.stale.last_reason.type`
937
-
938
636
  ## 14.2.0 - 2023-10-26
939
637
  * [#1939](https://github.com/stripe/stripe-node/pull/1939) Update generated code
940
638
  * Add support for new value `balance_invalid_parameter` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
941
639
  * Change `Issuing.Cardholder.individual.card_issuing` to be optional
942
640
  * [#1940](https://github.com/stripe/stripe-node/pull/1940) Do not require passing apiVersion
943
641
 
944
- ## 14.2.0-beta.1 - 2023-10-17
945
- * [#1935](https://github.com/stripe/stripe-node/pull/1935) Update generated code for beta
946
- * [#1930](https://github.com/stripe/stripe-node/pull/1930) Update generated code for beta
947
- - Update pinned API version to `2023-10-16`
948
-
949
642
  ## 14.1.0 - 2023-10-17
950
643
  * [#1933](https://github.com/stripe/stripe-node/pull/1933) Update generated code
951
644
  * Add support for new value `invalid_dob_age_under_minimum` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, and `BankAccount.requirements.errors[].code`
@@ -959,9 +652,6 @@
959
652
  * Add support for `additional_tos_acceptances` on `TokenCreateParams.person`
960
653
  * Add support for new value `2023-10-16` on enum `WebhookEndpointCreateParams.api_version`
961
654
 
962
- ## 13.12.0-beta.1 - 2023-10-16
963
- * [#1925](https://github.com/stripe/stripe-node/pull/1925) Update generated code for beta
964
-
965
655
  ## 13.11.0 - 2023-10-16
966
656
  * [#1924](https://github.com/stripe/stripe-node/pull/1924) Update generated code
967
657
  * Add support for new values `issuing_token.created` and `issuing_token.updated` on enum `Event.type`
@@ -969,17 +659,6 @@
969
659
  * [#1926](https://github.com/stripe/stripe-node/pull/1926) Add named unions for all polymorphic types
970
660
  * [#1921](https://github.com/stripe/stripe-node/pull/1921) Add event types
971
661
 
972
- ## 13.11.0-beta.1 - 2023-10-11
973
- * [#1919](https://github.com/stripe/stripe-node/pull/1919) Update generated code for beta
974
- * Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
975
- * Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
976
- * Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
977
- * Change type of `Checkout.Session.automatic_tax.liability.account`, `Checkout.Session.invoice_creation.invoice_data.issuer.account`, `Invoice.automatic_tax.liability.account`, `Invoice.issuer.account`, `Quote.automatic_tax.liability.account`, `Quote.invoice_settings.issuer.account`, `Subscription.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.invoice_settings.issuer.account`, `SubscriptionSchedule.phases[].automatic_tax.liability.account`, and `SubscriptionSchedule.phases[].invoice_settings.issuer.account` from `expandable(Account) | null` to `expandable(Account)`
978
- * Change `Checkout.Session.automatic_tax.liability.account`, `Checkout.Session.invoice_creation.invoice_data.issuer.account`, `Invoice.automatic_tax.liability.account`, `Invoice.issuer.account`, `Issuing.Transaction.network_data.processing_date`, `Quote.automatic_tax.liability.account`, `Quote.invoice_settings.issuer.account`, `Subscription.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.invoice_settings.issuer.account`, `SubscriptionSchedule.phases[].automatic_tax.liability.account`, and `SubscriptionSchedule.phases[].invoice_settings.issuer.account` to be optional
979
- * Add support for new values `account_notice.created` and `account_notice.updated` on enum `Event.type`
980
- * Add support for new values `local_amusement_tax` and `state_communications_tax` on enums `Tax.Registration.country_options.us.type` and `Tax.RegistrationCreateParams.country_options.us.type`
981
- * Add support for new values `account_notice.created` and `account_notice.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
982
-
983
662
  ## 13.10.0 - 2023-10-11
984
663
  * [#1920](https://github.com/stripe/stripe-node/pull/1920) Update generated code
985
664
  * Add support for `redirect_on_completion`, `return_url`, and `ui_mode` on `Checkout.SessionCreateParams` and `Checkout.Session`
@@ -993,16 +672,6 @@
993
672
  * Add support for `offline` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration`
994
673
  * [#1914](https://github.com/stripe/stripe-node/pull/1914) Bump get-func-name from 2.0.0 to 2.0.2
995
674
 
996
- ## 13.10.0-beta.1 - 2023-10-05
997
- * [#1917](https://github.com/stripe/stripe-node/pull/1917) Update generated code for beta
998
- * Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
999
- * Remove support for `draft_quote`, `mark_stale_quote`, and `preview_invoice_lines` methods on resource `Quote`
1000
- * Add support for `liability` on `Checkout.Session.automatic_tax` and `Checkout.SessionCreateParams.automatic_tax`
1001
- * Add support for `issuer` on `Checkout.Session.invoice_creation.invoice_data` and `Checkout.SessionCreateParams.invoice_creation.invoice_data`
1002
- * Add support for `invoice_settings` on `Checkout.SessionCreateParams.subscription_data`
1003
- * Add support for `personalization_design` on `Issuing.CardListParams`
1004
- * Add support for `allow_backdated_lines` on `QuoteCreateParams`, `QuoteUpdateParams`, and `Quote`
1005
-
1006
675
  ## 13.9.0 - 2023-10-05
1007
676
  * [#1916](https://github.com/stripe/stripe-node/pull/1916) Update generated code
1008
677
  * Add support for new resource `Issuing.Token`
@@ -1017,49 +686,15 @@
1017
686
  * Add support for `statement_descriptor_suffix` and `statement_descriptor` on `PaymentLink.payment_intent_data` and `PaymentLinkCreateParams.payment_intent_data`
1018
687
  * Add support for `payment_intent_data` and `subscription_data` on `PaymentLinkUpdateParams`
1019
688
 
1020
- ## 13.9.0-beta.1 - 2023-09-28
1021
- * [#1910](https://github.com/stripe/stripe-node/pull/1910) Update generated code for beta
1022
- * Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
1023
- * Add support for new values `capital_financing_offer` and `capital_financing_reporting` on enum `AccountLinkCreateParams.type`
1024
- * Add support for `features` on `AccountSession.components.payment_details`, `AccountSession.components.payments`, `AccountSession.components.payouts`, `AccountSessionCreateParams.components.account_onboarding`, `AccountSessionCreateParams.components.payment_details`, `AccountSessionCreateParams.components.payments`, and `AccountSessionCreateParams.components.payouts`
1025
- * Change `ConfirmationToken.payment_method_preview.us_bank_account.financial_connections_account` and `ConfirmationToken.payment_method_preview.us_bank_account.status_details` to be required
1026
- * Add support for `reason` on `Event`
1027
-
1028
689
  ## 13.8.0 - 2023-09-28
1029
690
  * [#1911](https://github.com/stripe/stripe-node/pull/1911) Update generated code
1030
691
  * Add support for `rendering` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
1031
692
  * Change `PaymentMethod.us_bank_account.financial_connections_account` and `PaymentMethod.us_bank_account.status_details` to be required
1032
693
 
1033
- ## 13.8.0-beta.1 - 2023-09-21
1034
- * [#1906](https://github.com/stripe/stripe-node/pull/1906) Update generated code for beta
1035
- * Remove support for `customer` on `ConfirmationToken`
1036
- * Add support for `issuer` on `InvoiceCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `InvoiceUpdateParams`, `Invoice`, `Quote.invoice_settings`, `QuoteCreateParams.invoice_settings`, `QuoteUpdateParams.invoice_settings`, `SubscriptionSchedule.default_settings.invoice_settings`, `SubscriptionSchedule.phases[].invoice_settings`, `SubscriptionScheduleCreateParams.default_settings.invoice_settings`, `SubscriptionScheduleCreateParams.phases[].invoice_settings`, `SubscriptionScheduleUpdateParams.default_settings.invoice_settings`, and `SubscriptionScheduleUpdateParams.phases[].invoice_settings`
1037
- * Add support for `on_behalf_of` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
1038
- * Add support for `liability` on `Invoice.automatic_tax`, `InvoiceCreateParams.automatic_tax`, `InvoiceUpcomingLinesParams.automatic_tax`, `InvoiceUpcomingParams.automatic_tax`, `InvoiceUpdateParams.automatic_tax`, `Quote.automatic_tax`, `QuoteCreateParams.automatic_tax`, `QuoteUpdateParams.automatic_tax`, `Subscription.automatic_tax`, `SubscriptionCreateParams.automatic_tax`, `SubscriptionSchedule.default_settings.automatic_tax`, `SubscriptionSchedule.phases[].automatic_tax`, `SubscriptionScheduleCreateParams.default_settings.automatic_tax`, `SubscriptionScheduleCreateParams.phases[].automatic_tax`, `SubscriptionScheduleUpdateParams.default_settings.automatic_tax`, `SubscriptionScheduleUpdateParams.phases[].automatic_tax`, and `SubscriptionUpdateParams.automatic_tax`
1039
- * Change type of `Issuing.CardDesignUpdateParams.carrier_text` from `carrier_text_param` to `emptyStringable(carrier_text_param)`
1040
- * Add support for `invoice_settings` on `SubscriptionCreateParams` and `SubscriptionUpdateParams`
1041
-
1042
694
  ## 13.7.0 - 2023-09-21
1043
695
  * [#1907](https://github.com/stripe/stripe-node/pull/1907) Update generated code
1044
696
  * Add support for `terms_of_service_acceptance` on `Checkout.Session.custom_text`, `Checkout.SessionCreateParams.custom_text`, `PaymentLink.custom_text`, `PaymentLinkCreateParams.custom_text`, and `PaymentLinkUpdateParams.custom_text`
1045
697
 
1046
- ## 13.7.0-beta.1 - 2023-09-14
1047
- * [#1900](https://github.com/stripe/stripe-node/pull/1900) Update generated code for beta
1048
- * Add support for new resource `ConfirmationToken`
1049
- * Add support for `retrieve` method on resource `ConfirmationToken`
1050
- * Add support for `create` method on resource `Issuing.CardDesign`
1051
- * Add support for `reject_testmode` test helper method on resource `Issuing.CardDesign`
1052
- * Add support for new value `issuing_card_design.rejected` on enum `Event.type`
1053
- * Add support for `features` on `Issuing.CardBundle`
1054
- * Add support for `preferences` on `Issuing.CardDesignListParams`, `Issuing.CardDesignUpdateParams`, and `Issuing.CardDesign`
1055
- * Remove support for `preference` on `Issuing.CardDesignListParams`, `Issuing.CardDesignUpdateParams`, and `Issuing.CardDesign`
1056
- * Add support for `card_bundle` on `Issuing.CardDesignUpdateParams`
1057
- * Add support for `card_logo` and `carrier_text` on `Issuing.CardDesignUpdateParams` and `Issuing.CardDesign`
1058
- * Change type of `Issuing.CardDesignUpdateParams.lookup_key` and `Issuing.CardDesignUpdateParams.name` from `string` to `emptyStringable(string)`
1059
- * Add support for `rejection_reasons` on `Issuing.CardDesign`
1060
- * Add support for `confirmation_token` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `SetupIntentConfirmParams`, and `SetupIntentCreateParams`
1061
- * Add support for new value `issuing_card_design.rejected` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1062
-
1063
698
  ## 13.6.0 - 2023-09-14
1064
699
  * [#1905](https://github.com/stripe/stripe-node/pull/1905) Update generated code
1065
700
  * Add support for new resource `PaymentMethodConfiguration`
@@ -1076,16 +711,6 @@
1076
711
  * [#1895](https://github.com/stripe/stripe-node/pull/1895) feat: webhook signing Nestjs
1077
712
  * [#1878](https://github.com/stripe/stripe-node/pull/1878) Use src/apiVersion.ts, not API_VERSION as source of truth
1078
713
 
1079
- ## 13.6.0-beta.1 - 2023-09-07
1080
- * [#1898](https://github.com/stripe/stripe-node/pull/1898) Update generated code for beta
1081
- * Release specs are identical.
1082
- * [#1892](https://github.com/stripe/stripe-node/pull/1892) Update generated code for beta
1083
- * Remove support for `submit_card` test helper method on resource `Issuing.Card`
1084
- * Add support for `tax_forms` on `Account.settings`, `AccountCreateParams.settings`, and `AccountUpdateParams.settings`
1085
- * Add support for `card_design` on `Issuing.CardUpdateParams`
1086
- * Remove support for value `submitted` from enum `Issuing.Card.shipping.status`
1087
- * Add support for new value `platform_default` on enums `Issuing.CardDesign.preference` and `Issuing.CardDesignListParams.preference`
1088
-
1089
714
  ## 13.5.0 - 2023-09-07
1090
715
  * [#1893](https://github.com/stripe/stripe-node/pull/1893) Update generated code
1091
716
  * Add support for new resource `PaymentMethodDomain`
@@ -1097,10 +722,6 @@
1097
722
  * Add support for `features` on `ProductCreateParams`, `ProductUpdateParams`, and `Product`
1098
723
  * Remove support for value `invoiceitem.updated` from enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1099
724
 
1100
- ## 13.5.0-beta.1 - 2023-08-31
1101
- * [#1883](https://github.com/stripe/stripe-node/pull/1883) Update generated code for beta
1102
- * Rename `Quote.listPreviewSubscriptionSchedules` to `Quote.listPreviewSchedules` and `Quote.listPreview
1103
-
1104
725
  ## 13.4.0 - 2023-08-31
1105
726
  * [#1884](https://github.com/stripe/stripe-node/pull/1884) Update generated code
1106
727
  * Add support for new resource `AccountSession`
@@ -1167,37 +788,12 @@
1167
788
  * These fields are not fully operational.
1168
789
  * ⚠️Add support for new value `2023-08-16` on enum `WebhookEndpointCreateParams.api_version`
1169
790
 
1170
- ## 13.0.0-beta.1 - 2023-08-24
1171
- * [#1873](https://github.com/stripe/stripe-node/pull/1873) Update generated code for beta
1172
- * Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
1173
- * 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
1174
- * Remove support for `applies_to` on `Invoice` and `SubscriptionSchedule`
1175
- * Add support for `cl`, `co`, `id`, `kr`, `mx`, `my`, `sa`, `th`, `tr`, and `vn` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
1176
- * Remove support for `hk` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
1177
-
1178
- ## 12.19.0-beta.1 - 2023-08-10
1179
- * [#1868](https://github.com/stripe/stripe-node/pull/1868) Update generated code for beta
1180
- * Add support for `paypal` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
1181
- * Add support for new value `quote.accept_failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1182
-
1183
791
  ## 12.18.0 - 2023-08-10
1184
792
  * [#1867](https://github.com/stripe/stripe-node/pull/1867) Update generated code
1185
793
  * 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`
1186
794
  * Add support for new value `payment_reversal` on enum `BalanceTransaction.type`
1187
795
  * Change `Invoice.subscription_details.metadata` and `Invoice.subscription_details` to be required
1188
796
 
1189
- ## 12.18.0-beta.1 - 2023-08-03
1190
- * [#1861](https://github.com/stripe/stripe-node/pull/1861) Update generated code for beta
1191
- * Add support for `submit_card` test helper method on resource `Issuing.Card`
1192
- * Add support for `address_validation` on `Issuing.Card.shipping` and `Issuing.CardCreateParams.shipping`
1193
- * Add support for `shipping` on `Issuing.CardUpdateParams`
1194
- * Add support for new value `submitted` on enum `Issuing.Card.shipping.status`
1195
- * 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)`
1196
- * Add support for `reason` on `QuoteMarkStaleQuoteParams`
1197
- * Add support for `marked_stale` on `Quote.status_details.stale.last_reason`
1198
- * Change `Tax.FormListParams.payee.type` to be optional
1199
- * [#1864](https://github.com/stripe/stripe-node/pull/1864) Remove developer_message support
1200
-
1201
797
  ## 12.17.0 - 2023-08-03
1202
798
  * [#1863](https://github.com/stripe/stripe-node/pull/1863) Update generated code
1203
799
  * Change many types from `string` to `emptyStringable(string)`
@@ -1206,14 +802,14 @@
1206
802
  * Add support for new values `sepa_debit_fingerprint` and `us_bank_account_fingerprint` on enums `Radar.ValueList.item_type` and `Radar.ValueListCreateParams.item_type`
1207
803
  * [#1866](https://github.com/stripe/stripe-node/pull/1866) Allow monkey patching http / https
1208
804
 
1209
- ## 12.17.0-beta.1 - 2023-07-27
1210
- * Updated stable APIs to the latest version
1211
-
1212
805
  ## 12.16.0 - 2023-07-27
1213
806
  * [#1853](https://github.com/stripe/stripe-node/pull/1853) Update generated code
1214
807
  * Add support for `monthly_estimated_revenue` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
1215
808
  * [#1859](https://github.com/stripe/stripe-node/pull/1859) Revert "import * as http -> import http from 'http'"
1216
809
 
810
+ ## 12.15.0 - 2023-07-27 (DEPRECATED ⚠️ )
811
+ * 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.
812
+
1217
813
  ## 12.14.0 - 2023-07-20
1218
814
  * [#1842](https://github.com/stripe/stripe-node/pull/1842) Update generated code
1219
815
  * 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`
@@ -1224,17 +820,6 @@
1224
820
  * [#1849](https://github.com/stripe/stripe-node/pull/1849) Changelog: fix delimiterless namespaced param types
1225
821
  * [#1848](https://github.com/stripe/stripe-node/pull/1848) Changelog: `CheckoutSessionCreateParams` -> `Checkout.SessionCreateParams`
1226
822
 
1227
- ## 12.14.0-beta.1 - 2023-07-13
1228
- * [#1840](https://github.com/stripe/stripe-node/pull/1840) Update generated code for beta
1229
- Release specs are identical.
1230
- * [#1837](https://github.com/stripe/stripe-node/pull/1837) Update generated code for beta
1231
- * Add support for new resource `PaymentMethodConfiguration`
1232
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
1233
- * Add support for `payment_method_configuration` on `PaymentIntentCreateParams` and `PaymentIntentUpdateParams`
1234
- * Add support for `payment_method_configuration_details` on `PaymentIntent`
1235
- * Rename `Tax.SettingRetrieveParam` to `Tax.SettingsRetrieveParam` and `Tax.SettingUpdateParams` to `Tax.SettingsUpdateParams` (parity with main release)
1236
- * [#1832](https://github.com/stripe/stripe-node/pull/1832) Update generated code for beta
1237
-
1238
823
  ## 12.13.0 - 2023-07-13
1239
824
  * [#1838](https://github.com/stripe/stripe-node/pull/1838) Update generated code
1240
825
  * Add support for new resource `Tax.Settings`
@@ -1251,11 +836,6 @@
1251
836
  * Add support for `numeric` and `text` on `PaymentLink.custom_fields[]`
1252
837
  * Add support for `automatic_tax` on `SubscriptionListParams`
1253
838
 
1254
- ## 12.12.0-beta.1 - 2023-06-29
1255
- * [#1824](https://github.com/stripe/stripe-node/pull/1824) Update generated code for beta
1256
- * Add support for `metadata` on `Invoice.subscription_details`
1257
- * Change `Invoice.subscription_details.pause_collection` to be optional
1258
-
1259
839
  ## 12.11.0 - 2023-06-29
1260
840
  * [#1823](https://github.com/stripe/stripe-node/pull/1823) Update generated code
1261
841
  * 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`
@@ -1263,26 +843,16 @@
1263
843
  * Add support for `effective_at` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
1264
844
  * [#1828](https://github.com/stripe/stripe-node/pull/1828) Better CryptoProvider error
1265
845
 
1266
- ## 12.11.0-beta.1 - 2023-06-22
1267
- * [#1821](https://github.com/stripe/stripe-node/pull/1821) Update generated code for beta
1268
- * Add support for new resource `CustomerSession`
1269
- * Add support for `create` method on resource `CustomerSession`
1270
- * 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')`
1271
-
1272
846
  ## 12.10.0 - 2023-06-22
1273
847
  * [#1820](https://github.com/stripe/stripe-node/pull/1820) Update generated code
1274
848
  * Add support for `on_behalf_of` on `Mandate`
849
+ * [#1817](https://github.com/stripe/stripe-node/pull/1817) Update README.md
850
+ * [#1819](https://github.com/stripe/stripe-node/pull/1819) Update generated code
851
+ * Release specs are identical.
1275
852
  * [#1813](https://github.com/stripe/stripe-node/pull/1813) Update generated code
1276
853
  * Change type of `Checkout.Session.success_url` from `string` to `string | null`
1277
-
1278
- ## 12.10.0-beta.2 - 2023-06-15
1279
- * [#1818](https://github.com/stripe/stripe-node/pull/1818) Update generated code for beta
1280
- * Add support for `payment_details` on `ChargeCaptureParams`, `ChargeUpdateParams`, `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
1281
- * 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`
1282
- * [#1814](https://github.com/stripe/stripe-node/pull/1814) Update generated code for beta
1283
-
1284
- ## 12.10.0-beta.1 - 2023-06-08
1285
- * [#1811](https://github.com/stripe/stripe-node/pull/1811) Update generated code for beta
854
+ * Change type of `FileCreateParams.file` from `string` to `file`
855
+ * [#1815](https://github.com/stripe/stripe-node/pull/1815) Generate FileCreateParams
1286
856
 
1287
857
  ## 12.9.0 - 2023-06-08
1288
858
  * [#1809](https://github.com/stripe/stripe-node/pull/1809) Update generated code
@@ -1290,20 +860,6 @@
1290
860
  * Add support for `taxability_reason` on `Tax.Calculation.tax_breakdown[]`
1291
861
  * [#1812](https://github.com/stripe/stripe-node/pull/1812) More helpful error when signing secrets contain whitespace
1292
862
 
1293
- ## 12.9.0-beta.1 - 2023-06-01
1294
- * [#1801](https://github.com/stripe/stripe-node/pull/1801) Update generated code for beta
1295
- * Add support for `subscription_details` on `Invoice`
1296
- * 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[]`
1297
- * 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`
1298
- * Add support for `set_pause_collection` on `QuoteCreateParams.lines[]`, `QuoteLine`, `QuoteUpdateParams.lines[]`, and `SubscriptionScheduleAmendParams.amendments[]`
1299
- * 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`
1300
- * Add support for `pause_collection` on `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, and `SubscriptionScheduleUpdateParams.phases[]`
1301
- * Add support for `local_amusement_tax` on `Tax.Registration.country_options.us` and `TaxRegistrationCreateParams.country_options.us`
1302
- * Remove support for `locations` on `Tax.Settings` and `TaxSettingUpdateParams`
1303
- * Add support for new values `customer.subscription.collection_paused` and `customer.subscription.collection_resumed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1304
- * [#1775](https://github.com/stripe/stripe-node/pull/1775) Introduce stripe.rawRequest as a canonical way to request APIs without definitions
1305
- * Please refer to the [Custom Requests README section](https://github.com/stripe/stripe-node/tree/beta#custom-requests) for usage instructions.
1306
-
1307
863
  ## 12.8.0 - 2023-06-01
1308
864
  * [#1799](https://github.com/stripe/stripe-node/pull/1799) Update generated code
1309
865
  * Add support for `numeric` and `text` on `Checkout.SessionCreateParams.custom_fields[]`, `PaymentLinkCreateParams.custom_fields[]`, and `PaymentLinkUpdateParams.custom_fields[]`
@@ -1314,9 +870,6 @@
1314
870
  * Add support for `description`, `iin`, and `issuer` on `PaymentMethod.card_present` and `PaymentMethod.interac_present`
1315
871
  * Add support for `payer_email` on `PaymentMethod.paypal`
1316
872
 
1317
- ## 12.8.0-beta.1 - 2023-05-25
1318
- * [#1795](https://github.com/stripe/stripe-node/pull/1795) Update generated code for beta
1319
-
1320
873
  ## 12.7.0 - 2023-05-25
1321
874
  * [#1797](https://github.com/stripe/stripe-node/pull/1797) Update generated code
1322
875
  * Add support for `zip_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -1327,13 +880,6 @@
1327
880
  * 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`
1328
881
  * Add support for new value `zip` on enum `PaymentMethod.type`
1329
882
 
1330
- ## 12.7.0-beta.1 - 2023-05-19
1331
- * [#1788](https://github.com/stripe/stripe-node/pull/1788) Update generated code for beta
1332
- * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
1333
- * 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`
1334
- * Add support for `status_details` and `status` on `Tax.Settings`
1335
- * Add support for new value `tax.settings.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1336
-
1337
883
  ## 12.6.0 - 2023-05-19
1338
884
  * [#1787](https://github.com/stripe/stripe-node/pull/1787) Update generated code
1339
885
  * Add support for `subscription_update_confirm` and `subscription_update` on `BillingPortal.Session.flow` and `BillingPortal.SessionCreateParams.flow_data`
@@ -1342,18 +888,6 @@
1342
888
  * Add support for `buyer_id` and `cashtag` on `Charge.payment_method_details.cashapp` and `PaymentMethod.cashapp`
1343
889
  * Add support for new values `amusement_tax` and `communications_tax` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
1344
890
 
1345
- ## 12.6.0-beta.1 - 2023-05-11
1346
- * [#1786](https://github.com/stripe/stripe-node/pull/1786) Update generated code for beta
1347
- * Add support for `payer_email`, `payer_name`, and `seller_protection` on `Charge.payment_method_details.paypal`
1348
- * 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
1349
- * Add support for `capture_method`, `preferred_locale`, `reference_id`, and `setup_future_usage` on `CheckoutSessionCreateParams.payment_method_options.paypal`
1350
- * 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`
1351
- * 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`
1352
- * Remove support for `billing_agreement_id` and `currency` on `CheckoutSessionCreateParams.payment_method_options.paypal`
1353
- * Add support for `fingerprint`, `payer_id`, and `verified_email` on `Mandate.payment_method_details.paypal` and `PaymentMethod.paypal`
1354
- * Add support for `taxability_reason` and `taxable_amount` on `Order.shipping_cost.taxes[]`, `Order.total_details.breakdown.taxes[]`, and `QuotePhase.total_details.breakdown.taxes[]`
1355
- * Add support for `head_office` on `Tax.Settings` and `TaxSettingUpdateParams`
1356
-
1357
891
  ## 12.5.0 - 2023-05-11
1358
892
  * [#1785](https://github.com/stripe/stripe-node/pull/1785) Update generated code
1359
893
  * 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`
@@ -1371,25 +905,12 @@
1371
905
  * Add support for `effective_percentage` on `TaxRate`
1372
906
  * Add support for `gb_bank_transfer` and `jp_bank_transfer` on `CustomerCashBalanceTransaction.Funded.BankTransfer`
1373
907
 
1374
- ## 12.5.0-beta.1 - 2023-05-04
1375
- * [#1773](https://github.com/stripe/stripe-node/pull/1773) Update generated code for beta
1376
- * Updated stable APIs to the latest version
1377
-
1378
908
  ## 12.4.0 - 2023-05-04
1379
909
  * [#1774](https://github.com/stripe/stripe-node/pull/1774) Update generated code
1380
910
  * Add support for `link` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
1381
911
  * Add support for `brand`, `country`, `description`, `exp_month`, `exp_year`, `fingerprint`, `funding`, `iin`, `issuer`, `last4`, `network`, and `wallet` on `SetupAttempt.payment_method_details.card`
1382
912
  * [#1782](https://github.com/stripe/stripe-node/pull/1782) Let user supply a timestamp when verifying webhooks
1383
913
 
1384
- ## 12.4.0-beta.1 - 2023-04-27
1385
- * [#1769](https://github.com/stripe/stripe-node/pull/1769) Update generated code for beta
1386
- * Add support for `billing_cycle_anchor` and `proration_behavior` on `CheckoutSessionCreateParams.subscription_data`
1387
- * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
1388
- * Add support for `metadata` on `PaymentIntentCaptureParams`
1389
- * Add support for `checks` on `SetupAttempt.payment_method_details.card`
1390
- * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
1391
- * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
1392
-
1393
914
  ## 12.3.0 - 2023-04-27
1394
915
  * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
1395
916
  * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
@@ -1397,21 +918,6 @@
1397
918
  * Add support for `metadata` on `PaymentIntentCaptureParams`
1398
919
  * Add support for `checks` on `SetupAttempt.payment_method_details.card`
1399
920
  * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
1400
- * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
1401
-
1402
- ## 12.3.0 - 2023-04-27
1403
- * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
1404
- * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
1405
- * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
1406
- * Add support for `metadata` on `PaymentIntentCaptureParams`
1407
- * Add support for `checks` on `SetupAttempt.payment_method_details.card`
1408
- * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
1409
-
1410
- ## 12.3.0-beta.1 - 2023-04-20
1411
- * [#1760](https://github.com/stripe/stripe-node/pull/1760) Update generated code for beta
1412
- * Add support for `zip` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
1413
- * Add support for `country_options` on `Tax.Registration` and `TaxRegistrationCreateParams`
1414
- * Remove support for `state` and `type` on `Tax.Registration` and `TaxRegistrationCreateParams`
1415
921
 
1416
922
  ## 12.2.0 - 2023-04-20
1417
923
  * [#1759](https://github.com/stripe/stripe-node/pull/1759) Update generated code
@@ -1422,16 +928,6 @@
1422
928
  * [#1762](https://github.com/stripe/stripe-node/pull/1762) Add Deno webhook signing example
1423
929
  * [#1761](https://github.com/stripe/stripe-node/pull/1761) Add Deno usage instructions in README
1424
930
 
1425
- ## 12.2.0-beta.1 - 2023-04-13
1426
- * [#1751](https://github.com/stripe/stripe-node/pull/1751) Update generated code for beta
1427
- * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
1428
- * Add support for `paypal_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
1429
- * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
1430
- * Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal.Reader.action`
1431
- * Add support for `stripe_account` on `Terminal.Reader.action.process_payment_intent` and `Terminal.Reader.action.refund_payment`
1432
- * Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `Terminal.Reader.action.type`
1433
- * Add support for new value `terminal.reader.action_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1434
-
1435
931
  ## 12.1.1 - 2023-04-13
1436
932
  No product changes.
1437
933
 
@@ -1440,16 +936,6 @@ No product changes.
1440
936
  * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
1441
937
  * [#1749](https://github.com/stripe/stripe-node/pull/1749) Type extend and ResourceNamespace better
1442
938
 
1443
- ## 12.1.0-beta.1 - 2023-04-06
1444
- * [#1737](https://github.com/stripe/stripe-node/pull/1737) Update generated code for beta
1445
- * Add support for `treasury_transaction` on `CapitalFinancingTransactionListParams`
1446
- * Add support for `transaction` on `Capital.FinancingTransaction.details`
1447
- * Add support for new value `link` on enums `Charge.payment_method_details.card.wallet.type` and `PaymentMethod.card.wallet.type`
1448
- * Change `IssuingCardholderCreateParams.type` to be optional
1449
- * Add support for `country` on `PaymentMethod.link`
1450
- * Add support for `status_details` on `PaymentMethod.us_bank_account`
1451
- * [#1750](https://github.com/stripe/stripe-node/pull/1750) Merge master into beta
1452
-
1453
939
  ## 12.0.0 - 2023-04-06
1454
940
  * [#1743](https://github.com/stripe/stripe-node/pull/1743) Remove `Stripe.default` and `Stripe.Stripe`
1455
941
  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.
@@ -1492,11 +978,6 @@ This was added to maintain backwards compatibility during the transition of stri
1492
978
  * Add support for `status_details` on `PaymentMethod.us_bank_account`
1493
979
  * [#1747](https://github.com/stripe/stripe-node/pull/1747) (Typescript) remove deprecated properties
1494
980
 
1495
- ## 11.18.0-beta.1 - 2023-03-30
1496
- * [#1735](https://github.com/stripe/stripe-node/pull/1735) Update generated code
1497
- * Add support for new value `ioss` on enums `Tax.Registration.type` and `TaxRegistrationCreateParams.type`
1498
- * Change `TerminalReaderCollectInputsParams.inputs[].custom_text.description` to be optional
1499
-
1500
981
  ## 11.17.0 - 2023-03-30
1501
982
  * [#1734](https://github.com/stripe/stripe-node/pull/1734) Update generated code
1502
983
  * Remove support for `create` method on resource `Tax.Transaction`
@@ -1506,21 +987,6 @@ This was added to maintain backwards compatibility during the transition of stri
1506
987
  * This is not a breaking change, as `deleted` was never returned or accepted as input.
1507
988
  * Add support for `amount_tip` on `Terminal.ReaderPresentPaymentMethodParams.testHelpers`
1508
989
 
1509
- ## 11.17.0-beta.1 - 2023-03-23
1510
- * [#1724](https://github.com/stripe/stripe-node/pull/1724) Update generated code for beta (new)
1511
- * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
1512
- * Add support for `collect_inputs` method on resource `Terminal.Reader`
1513
- * Add support for `financing_offer` on `Capital.FinancingSummary`
1514
- * Add support for new value `link` on enum `CheckoutSessionCreateParams.payment_method_types[]`
1515
- * Add support for `fx_rate` on `Checkout.Session.currency_conversion`
1516
- * Add support for new value `link` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
1517
- * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
1518
- * Remove support for `preview` on `TaxCalculationCreateParams`
1519
- * Change type of `Tax.Calculation.line_items[]` from `LineItem` to `Tax.CalculationLineItem`
1520
- * Change type of `Tax.Transaction.line_items[]` from `LineItem` to `Tax.TransactionLineItem`
1521
- * Add support for `collect_inputs` on `Terminal.Reader.action`
1522
- * Add support for new value `collect_inputs` on enum `Terminal.Reader.action.type`
1523
-
1524
990
  ## 11.16.0 - 2023-03-23
1525
991
  * [#1730](https://github.com/stripe/stripe-node/pull/1730) Update generated code
1526
992
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
@@ -1532,19 +998,6 @@ This was added to maintain backwards compatibility during the transition of stri
1532
998
  * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
1533
999
  * [#1726](https://github.com/stripe/stripe-node/pull/1726) Add Deno entry point
1534
1000
 
1535
- ## 11.16.0-beta.1 - 2023-03-17
1536
- * [#1713](https://github.com/stripe/stripe-node/pull/1713) API Updates
1537
- * Add support for `create_from_calculation` method on resource `Tax.Transaction`
1538
- * Change type of `Invoice.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
1539
- * 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`
1540
- * 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`
1541
- * 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`
1542
- * 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
1543
- * Remove support for `applies_to` on `QuotePreviewInvoiceLinesParams`
1544
- * Add support for `shipping_cost` on `Tax.Calculation`, `Tax.Transaction`, `TaxCalculationCreateParams`, and `TaxTransactionCreateReversalParams`
1545
- * Add support for `tax_breakdown` on `Tax.Calculation`
1546
- * Remove support for `tax_summary` on `Tax.Calculation`
1547
-
1548
1001
  ## 11.15.0 - 2023-03-16
1549
1002
  * [#1714](https://github.com/stripe/stripe-node/pull/1714) API Updates
1550
1003
  * Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -1573,16 +1026,6 @@ This was added to maintain backwards compatibility during the transition of stri
1573
1026
  * Add support for new value `cashapp` on enum `PaymentMethod.type`
1574
1027
  * Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1575
1028
 
1576
- ## 11.15.0-beta.1 - 2023-03-09
1577
- * [#1705](https://github.com/stripe/stripe-node/pull/1705) API Updates for beta branch
1578
- * Updated stable APIs to the latest version
1579
- * Remove support for `list_transactions` method on resource `Tax.Transaction`
1580
- * Add support for `amendment_start` and `timestamp` on `SubscriptionScheduleAmendParams.prebilling[].bill_from`
1581
- * Change type of `SubscriptionScheduleAmendParams.prebilling[].bill_from.type` from `literal('now')` to `enum('amendment_start'|'now'|'timestamp')`
1582
- * Change type of `SubscriptionSchedule.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
1583
- * Add support for new value `lease_tax` on enum `Tax.Calculation.tax_summary[].tax_rate_details.tax_type`
1584
- * Add support for `tax_behavior` on `Tax.Settings.defaults` and `TaxSettingUpdateParams.defaults`
1585
-
1586
1029
  ## 11.14.0 - 2023-03-09
1587
1030
  * [#1703](https://github.com/stripe/stripe-node/pull/1703) API Updates
1588
1031
  * Add support for `card_issuing` on `Issuing.CardholderCreateParams.individual` and `Issuing.CardholderUpdateParams.individual`
@@ -1593,25 +1036,6 @@ This was added to maintain backwards compatibility during the transition of stri
1593
1036
  * [#1695](https://github.com/stripe/stripe-node/pull/1695) Migrate generated files to ES module syntax
1594
1037
  * [#1699](https://github.com/stripe/stripe-node/pull/1699) Remove extra test directory
1595
1038
 
1596
- ## 11.14.0-beta.2 - 2023-03-03
1597
- * [#1698](https://github.com/stripe/stripe-node/pull/1698) API Updates for beta branch
1598
- * Updated stable APIs to the latest version
1599
- * Add support for `update_behavior` on `Subscription.prebilling`, `SubscriptionCreateParams.prebilling`, `SubscriptionSchedule.prebilling`, `SubscriptionScheduleCreateParams.prebilling`, `SubscriptionScheduleUpdateParams.prebilling`, and `SubscriptionUpdateParams.prebilling`
1600
- * Add support for `prebilling` on `SubscriptionScheduleAmendParams`
1601
- * Add support for `taxability_override` on `Tax.Calculation.customer_details`, `Tax.Transaction.customer_details`, and `TaxCalculationCreateParams.customer_details`
1602
- * Add support for `tax_summary` on `Tax.Calculation`
1603
- * Remove support for `tax_breakdown` on `Tax.Calculation`
1604
-
1605
- ## 11.14.0-beta.1 - 2023-03-02
1606
- * [#1697](https://github.com/stripe/stripe-node/pull/1697) API Updates for beta branch
1607
- * Updated stable APIs to the latest version
1608
- * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
1609
- * Add support for `list` and `retrieve` methods on resource `CardBundle`
1610
- * Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
1611
- * Remove support for `controller` on `AccountUpdateParams`
1612
- * Add support for `card_design` on `Issuing.Card` and `IssuingCardCreateParams`
1613
- * 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[]`
1614
-
1615
1039
  ## 11.13.0 - 2023-03-02
1616
1040
  * [#1696](https://github.com/stripe/stripe-node/pull/1696) API Updates
1617
1041
  * 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.
@@ -1620,14 +1044,6 @@ This was added to maintain backwards compatibility during the transition of stri
1620
1044
 
1621
1045
  * [#1689](https://github.com/stripe/stripe-node/pull/1689) Update v11.8.0 changelog with breaking change disclaimer
1622
1046
 
1623
- ## 11.13.0-beta.1 - 2023-02-23
1624
- * [#1690](https://github.com/stripe/stripe-node/pull/1690) API Updates for beta branch
1625
- * Updated stable APIs to the latest version
1626
- * 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`
1627
- * Add support for new value `igst` on enum `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`
1628
- * Change `TaxTransactionCreateParams.reference` to be required
1629
- * 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[]`
1630
-
1631
1047
  ## 11.12.0 - 2023-02-23
1632
1048
  * [#1688](https://github.com/stripe/stripe-node/pull/1688) API Updates
1633
1049
  * 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`
@@ -1635,15 +1051,6 @@ This was added to maintain backwards compatibility during the transition of stri
1635
1051
  * Add support for new value `igst` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
1636
1052
  * [#1687](https://github.com/stripe/stripe-node/pull/1687) Convert TypeScript files to use ES modules
1637
1053
 
1638
- ## 11.12.0-beta.1 - 2023-02-16
1639
- * [#1686](https://github.com/stripe/stripe-node/pull/1686) API Updates for beta branch
1640
- * Updated stable APIs to the latest version
1641
- * Change type of `Quote.status_details.canceled` from `QuotesResourceStatusDetailsCanceledStatusDetails | null` to `QuotesResourceStatusDetailsCanceledStatusDetails`
1642
- * Change type of `Quote.status_details.stale` from `QuotesResourceStatusDetailsStaleStatusDetails | null` to `QuotesResourceStatusDetailsStaleStatusDetails`
1643
- * Change `Quote.status_details.canceled` and `Quote.status_details.stale` to be optional
1644
- * Remove support for `reference` on `Tax.Calculation` and `TaxCalculationCreateParams`
1645
- * Add support for `reference` on `TaxTransactionCreateParams`
1646
-
1647
1054
  ## 11.11.0 - 2023-02-16
1648
1055
  * [#1681](https://github.com/stripe/stripe-node/pull/1681) API Updates
1649
1056
  * Add support for `refund_payment` method on resource `Terminal.Reader`
@@ -1658,32 +1065,9 @@ This was added to maintain backwards compatibility during the transition of stri
1658
1065
  * [#1685](https://github.com/stripe/stripe-node/pull/1685) Add more webhook parsing checks
1659
1066
  * [#1684](https://github.com/stripe/stripe-node/pull/1684) Add infrastructure for mocked tests
1660
1067
 
1661
- ## 11.11.0-beta.1 - 2023-02-13
1662
- * [#1676](https://github.com/stripe/stripe-node/pull/1676) API Updates for beta branch
1663
- * Updated stable APIs to the latest version
1664
- * Add support for `currency_conversion` on `Checkout.Session`
1665
- * Add support for `limits` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
1666
- * Remove support for `enabled` on `FinancialConnectionsSessionCreateParams.manual_entry`
1667
-
1668
1068
  ## 11.10.0 - 2023-02-09
1669
1069
  * [#1679](https://github.com/stripe/stripe-node/pull/1679) Enable library to work in worker environments without extra configuration.
1670
1070
 
1671
- ## 11.10.0-beta.1 - 2023-02-02
1672
- * [#1671](https://github.com/stripe/stripe-node/pull/1671) API Updates for beta branch
1673
- * Updated stable APIs to the latest version
1674
- * Add support for new resource `FinancialConnections.Transaction`
1675
- * Add support for `list` method on resource `Transaction`
1676
- * Add support for `prefetch` on `.payment_method_options.us_bank_account.financial_connections` across several APIs
1677
- * 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
1678
- * Add support for new values `inferred_balances` and `transactions` on enum `FinancialConnectionsAccountRefreshParams.features[]`
1679
- * Add support for `inferred_balances_refresh`, `subscriptions`, and `transaction_refresh` on `FinancialConnections.Account`
1680
- * Add support for `manual_entry` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
1681
- * Add support for `status_details` and `status` on `FinancialConnections.Session`
1682
- * 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[]`
1683
- * Add support for `account_number` on `PaymentMethod.us_bank_account`
1684
- * Remove support for `id` on `QuoteCreateParams.lines[].starts_at.line_ends_at`
1685
- * 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[]`
1686
-
1687
1071
  ## 11.9.1 - 2023-02-03
1688
1072
  * [#1672](https://github.com/stripe/stripe-node/pull/1672) Update main entrypoint on package.json
1689
1073
 
@@ -1709,23 +1093,12 @@ This was added to maintain backwards compatibility during the transition of stri
1709
1093
  * [#1668](https://github.com/stripe/stripe-node/pull/1668) Use EventTarget in worker / browser runtimes
1710
1094
  * [#1667](https://github.com/stripe/stripe-node/pull/1667) fix: added support for TypeScript "NodeNext" module resolution
1711
1095
 
1712
- ## 11.9.0-beta.1 - 2023-01-26
1713
- * [#1666](https://github.com/stripe/stripe-node/pull/1666) API Updates for beta branch
1714
- * Updated stable APIs to the latest version
1715
- * Add support for `billing_agreement_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`
1716
- * Add support for `list_transactions` method on resource `Tax.Transaction`
1717
- * Change type of `QuoteUpdateParams.subscription_data_overrides` from `array(create_specs)` to `emptyStringable(array(update_specs))`
1718
-
1719
1096
  ## 11.8.0 - 2023-01-26
1720
1097
  * [#1665](https://github.com/stripe/stripe-node/pull/1665) API Updates
1721
1098
  * 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`
1722
1099
  * 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`
1723
1100
  * [#1660](https://github.com/stripe/stripe-node/pull/1660) Introduce separate entry point for worker environments
1724
-
1725
- ## 11.8.0-beta.1 - 2023-01-19
1726
- * [#1662](https://github.com/stripe/stripe-node/pull/1662) API Updates for beta branch
1727
- * Updated stable APIs to the latest version
1728
- * Add support for `Tax.Settings` resource.
1101
+ * 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.
1729
1102
 
1730
1103
  ## 11.7.0 - 2023-01-19
1731
1104
  * [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
@@ -1733,39 +1106,10 @@ This was added to maintain backwards compatibility during the transition of stri
1733
1106
  * Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1734
1107
  * [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3
1735
1108
 
1736
- ## 11.7.0-beta.2 - 2023-01-12
1737
- * [#1653](https://github.com/stripe/stripe-node/pull/1653) API Updates for beta branch
1738
- * Updated stable APIs to the latest version
1739
- * Add support for new resource `Tax.Registration`
1740
- * Add support for `create`, `list`, and `update` methods on resource `Registration`
1741
- * Add support for `controller` on `AccountCreateParams` and `AccountUpdateParams`
1742
- * Add support for `application` and `dashboard` on `Account.controller`
1743
- * Change type of `Quote.subscription_data_overrides[].proration_behavior` from `enum('always_invoice'|'create_prorations'|'none')` to `enum('always_invoice'|'create_prorations'|'none') | null`
1744
- * Remove support for `timestamp` on `QuoteLine.actions[].add_discount.discount_end`
1745
- * Change type of `QuoteLine.actions[].add_discount.discount_end.type` from `literal('timestamp')` to `literal('line_ends_at')`
1746
- * 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[]`
1747
- * Change `QuoteLine.actions[].add_discount.index` to be required
1748
- * Add support for new values `quote.accepting`, `quote.reestimated`, and `quote.stale` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1749
-
1750
- * Change `quote.draft_quote` implementation from hitting `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
1751
-
1752
- ## 11.7.0-beta.1 - 2023-01-05
1753
- * [#1648](https://github.com/stripe/stripe-node/pull/1648) API Updates for beta branch
1754
- * Updated stable APIs to the latest version
1755
- * Add support for `mark_stale_quote` method on resource `Quote`
1756
- * 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`
1757
- * 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`
1758
- * Add support for `metadata` on `Terminal.Reader.action.refund_payment` and `TerminalReaderRefundPaymentParams`
1759
-
1760
1109
  ## 11.6.0 - 2023-01-05
1761
1110
  * [#1646](https://github.com/stripe/stripe-node/pull/1646) API Updates
1762
1111
  * Add support for `card_issuing` on `Issuing.Cardholder.individual`
1763
1112
 
1764
- ## 11.6.0-beta.1 - 2022-12-22
1765
- * [#1643](https://github.com/stripe/stripe-node/pull/1643) API Updates for beta branch
1766
- * Updated stable APIs to the latest version
1767
- * Move `stripe.taxCalculations` to `stripe.tax.calculations` and `stripe.taxTransactions` to `stripe.tax.transactions`.
1768
-
1769
1113
  ## 11.5.0 - 2022-12-22
1770
1114
  * [#1642](https://github.com/stripe/stripe-node/pull/1642) API Updates
1771
1115
  * 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`
@@ -1773,13 +1117,6 @@ This was added to maintain backwards compatibility during the transition of stri
1773
1117
  * Change `Checkout.SessionCreateParams.cancel_url` to be optional
1774
1118
  * Change type of `Checkout.Session.cancel_url` from `string` to `string | null`
1775
1119
 
1776
- ## 11.5.0-beta.1 - 2022-12-15
1777
- * [#1640](https://github.com/stripe/stripe-node/pull/1640) API Updates for beta branch
1778
- * Updated stable APIs to the latest version
1779
- * Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction`
1780
- * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
1781
- * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
1782
-
1783
1120
  ## 11.4.0 - 2022-12-15
1784
1121
  * [#1639](https://github.com/stripe/stripe-node/pull/1639) API Updates
1785
1122
  * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
@@ -1789,12 +1126,6 @@ This was added to maintain backwards compatibility during the transition of stri
1789
1126
  * [#1634](https://github.com/stripe/stripe-node/pull/1634) API Updates
1790
1127
  * Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` to be optional
1791
1128
 
1792
- ## 11.3.0-beta.1 - 2022-12-08
1793
- * [#1635](https://github.com/stripe/stripe-node/pull/1635) API Updates for beta branch
1794
- * Updated stable APIs to the latest version
1795
- * [#1633](https://github.com/stripe/stripe-node/pull/1633) API Updates for beta branch
1796
- * Updated stable APIs to the latest version
1797
-
1798
1129
  ## 11.2.0 - 2022-12-06
1799
1130
  * [#1632](https://github.com/stripe/stripe-node/pull/1632) API Updates
1800
1131
  * Add support for `flow_data` on `BillingPortal.SessionCreateParams`
@@ -1818,6 +1149,7 @@ This was added to maintain backwards compatibility during the transition of stri
1818
1149
  * Add support for `custom_text` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
1819
1150
  * Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code`
1820
1151
 
1152
+
1821
1153
  ## 11.0.0 - 2022-11-16
1822
1154
 
1823
1155
  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
@@ -1830,11 +1162,62 @@ This release includes breaking changes resulting from moving to use the new API
1830
1162
  * [#1615](https://github.com/stripe/stripe-node/pull/1615) API Updates
1831
1163
  * ⚠️ Remove support for `tos_shown_and_accepted` on `Checkout.SessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked.
1832
1164
 
1833
- ## 10.18.0-beta.1 - 2022-11-10
1834
- * [#1616](https://github.com/stripe/stripe-node/pull/1616) API Updates for beta branch
1835
- * Updated stable APIs to the latest version
1836
- * Add `discount_end` to `Discount`.
1837
- * Add `url` to `MerchantData`.
1165
+ ### ⚠️ Changed
1166
+ * Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
1167
+ * 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)
1168
+
1169
+ ### ⚠️ Removed
1170
+ * Remove `Orders` resource. (#1580)
1171
+ * Remove `SKU` resource (#1583)
1172
+ * Remove deprecated `Checkout.SessionCreateParams.subscription_data.items`. (#1580)
1173
+ * Remove deprecated configuration setter methods (`setHost`, `setProtocol`, `setPort`, `setApiVersion`, `setApiKey`, `setTimeout`, `setAppInfo`, `setHttpAgent`, `setMaxNetworkRetries`, and `setTelemetryEnabled`). (#1597)
1174
+
1175
+ Use the config object to set these options instead, for example:
1176
+ ```typescript
1177
+ const stripe = Stripe('sk_test_...', {
1178
+ apiVersion: '2019-08-08',
1179
+ maxNetworkRetries: 1,
1180
+ httpAgent: new ProxyAgent(process.env.http_proxy),
1181
+ timeout: 1000,
1182
+ host: 'api.example.com',
1183
+ port: 123,
1184
+ telemetry: true,
1185
+ });
1186
+ ```
1187
+ * Remove deprecated basic method definitions. (#1600)
1188
+ Use basic methods defined on the resource instead.
1189
+ ```typescript
1190
+ // Before
1191
+ basicMethods: true
1192
+
1193
+ // After
1194
+ create: stripeMethod({
1195
+ method: 'POST',
1196
+ fullPath: '/v1/resource',
1197
+ }),
1198
+ list: stripeMethod({
1199
+ method: 'GET',
1200
+ methodType: 'list',
1201
+ fullPath: '/v1/resource',
1202
+ }),
1203
+ retrieve: stripeMethod({
1204
+ method: 'GET',
1205
+ fullPath: '/v1/resource/{id}',
1206
+ }),
1207
+ update: stripeMethod({
1208
+ method: 'POST',
1209
+ fullPath: '/v1/resource/{id}',
1210
+ }),
1211
+ // Avoid 'delete' keyword in JS
1212
+ del: stripeMethod({
1213
+ method: 'DELETE',
1214
+ fullPath: '/v1/resource/{id}',
1215
+ }),
1216
+ ```
1217
+ * 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)
1218
+ * Remove `charges` field on `PaymentIntent` and replace it with `latest_charge`. (#1614 )
1219
+ * Remove deprecated `amount` field on `Checkout.Session.LineItem`. (#1614 )
1220
+ * Remove support for `tos_shown_and_accepted` on `Checkout.Session.PaymentMethodOptions.Paynow`. (#1614 )
1838
1221
 
1839
1222
  ## 10.17.0 - 2022-11-08
1840
1223
  * [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates
@@ -1848,22 +1231,6 @@ This release includes breaking changes resulting from moving to use the new API
1848
1231
  * 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`
1849
1232
  * Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]`
1850
1233
 
1851
- ## 10.16.0-beta.2 - 2022-11-02
1852
- * [#1598](https://github.com/stripe/stripe-node/pull/1598) API Updates for beta branch
1853
- * Updated beta APIs to the latest stable version
1854
- * Add support for `cashappPayments` and `zipPayments` on `Account`.
1855
- * Add support for `cashapp` and `zip` on `Charge`, `PaymentMethod`.
1856
- * Add support for `trialSettings` on `SubscriptionSchedule`.
1857
-
1858
- ## 10.16.0-beta.1 - 2022-10-21
1859
- * [#1589](https://github.com/stripe/stripe-node/pull/1589) API Updates for beta branch
1860
- * Updated stable APIs to the latest version
1861
- * Add support for new value `revoked` on enum `CapitalFinancingOfferListParams.status`
1862
- * Add support for `paypal` on `Charge.payment_method_details` and `Source`
1863
- * Add support for `network_data` on `Issuing.Transaction`
1864
- * Add support for new value `paypal` on enum `Source.type`
1865
- * Add support for `billing_cycle_anchor` on `SubscriptionScheduleAmendParams.amendments[]`
1866
-
1867
1234
  ## 10.15.0 - 2022-10-20
1868
1235
  * [#1588](https://github.com/stripe/stripe-node/pull/1588) API Updates
1869
1236
  * 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`
@@ -1871,11 +1238,6 @@ This release includes breaking changes resulting from moving to use the new API
1871
1238
  * Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `Terminal.ReaderProcessPaymentIntentParams.process_config`
1872
1239
  * [#1585](https://github.com/stripe/stripe-node/pull/1585) use native UUID method if available
1873
1240
 
1874
- ## 10.15.0-beta.1 - 2022-10-14
1875
- * Add support for `schedule_settings` on `SubscriptionScheduleAmendParams`
1876
- * Add support for new value `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_end.type`
1877
- * Add support for new values `schedule_end` and `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_start.type`
1878
-
1879
1241
  ## 10.14.0 - 2022-10-13
1880
1242
  * [#1582](https://github.com/stripe/stripe-node/pull/1582) API Updates
1881
1243
  * 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`
@@ -1883,11 +1245,6 @@ This release includes breaking changes resulting from moving to use the new API
1883
1245
  * Add support for `network_data` on `Issuing.Authorization`
1884
1246
  * ⚠️ Remove `currency`, `description`, `images`, and `name` from `Checkout.SessionCreateParams`. These properties do not work on the latest API version. (fixes #1575)
1885
1247
 
1886
- ## 10.14.0-beta.1 - 2022-10-07
1887
- * [#1572](https://github.com/stripe/stripe-node/pull/1572) API Updates for beta branch
1888
- * Updated stable APIs to the latest version
1889
- * Add `reference_id` to `Paypal` interface.
1890
-
1891
1248
  ## 10.13.0 - 2022-10-06
1892
1249
  * [#1571](https://github.com/stripe/stripe-node/pull/1571) API Updates
1893
1250
  * 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`
@@ -1908,11 +1265,6 @@ This release includes breaking changes resulting from moving to use the new API
1908
1265
  * [#1562](https://github.com/stripe/stripe-node/pull/1562) Restore lib after generating
1909
1266
  * [#1551](https://github.com/stripe/stripe-node/pull/1551) Re-introduce Typescript changes
1910
1267
 
1911
- ## 10.12.0-beta.1 - 2022-09-26
1912
- * [#1561](https://github.com/stripe/stripe-node/pull/1561) API Updates for beta branch
1913
- * Updated stable APIs to the latest version
1914
- * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
1915
-
1916
1268
  ## 10.11.0 - 2022-09-22
1917
1269
  * [#1560](https://github.com/stripe/stripe-node/pull/1560) API Updates
1918
1270
  * 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`
@@ -1920,6 +1272,7 @@ This release includes breaking changes resulting from moving to use the new API
1920
1272
  * Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams`
1921
1273
  * Change `SubscriptionSchedule.phases[].currency` to be required
1922
1274
 
1275
+
1923
1276
  ## 10.10.0 - 2022-09-15
1924
1277
  * [#1552](https://github.com/stripe/stripe-node/pull/1552) API Updates
1925
1278
  * 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`
@@ -1962,11 +1315,6 @@ This release includes breaking changes resulting from moving to use the new API
1962
1315
  * [#1532](https://github.com/stripe/stripe-node/pull/1532) Update coveralls step to run for one node version, remove finish step
1963
1316
  * [#1531](https://github.com/stripe/stripe-node/pull/1531) Regen yarn.lock.
1964
1317
 
1965
- ## 10.6.0-beta.1 - 2022-08-26
1966
- * [#1529](https://github.com/stripe/stripe-node/pull/1529) API Updates for beta branch
1967
- * Updated stable APIs to the latest version
1968
- * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
1969
-
1970
1318
  ## 10.5.0 - 2022-08-24
1971
1319
  * [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
1972
1320
  * [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation
@@ -1981,11 +1329,6 @@ This release includes breaking changes resulting from moving to use the new API
1981
1329
  * Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
1982
1330
  * 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.
1983
1331
 
1984
- ## 10.4.0-beta.1 - 2022-08-23
1985
- * [#1523](https://github.com/stripe/stripe-node/pull/1523) API Updates for beta branch
1986
- - Updated stable APIs to the latest version
1987
- - `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)
1988
- * [#1521](https://github.com/stripe/stripe-node/pull/1521) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
1989
1332
 
1990
1333
  ## 10.3.0 - 2022-08-19
1991
1334
  * [#1516](https://github.com/stripe/stripe-node/pull/1516) API Updates
@@ -1998,15 +1341,11 @@ This release includes breaking changes resulting from moving to use the new API
1998
1341
  * Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1999
1342
  * [#1515](https://github.com/stripe/stripe-node/pull/1515) Add a support section to the readme
2000
1343
 
2001
- ## 10.3.0-beta.1 - 2022-08-11
2002
- * [#1511](https://github.com/stripe/stripe-node/pull/1511) API Updates for beta branch
2003
- - Updated stable APIs to the latest version
2004
- - Add refund_payment method to Terminal resource
2005
-
2006
1344
  ## 10.2.0 - 2022-08-11
2007
1345
  * [#1510](https://github.com/stripe/stripe-node/pull/1510) API Updates
2008
1346
  * Add support for `payment_method_collection` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
2009
1347
 
1348
+
2010
1349
  ## 10.1.0 - 2022-08-09
2011
1350
  * [#1506](https://github.com/stripe/stripe-node/pull/1506) API Updates
2012
1351
  * Add support for `process_config` on `Terminal.Reader.action.process_payment_intent`
@@ -2016,22 +1355,50 @@ This release includes breaking changes resulting from moving to use the new API
2016
1355
  * [#1503](https://github.com/stripe/stripe-node/pull/1503) API Updates
2017
1356
  * Add support for `expires_at` on `Apps.Secret` and `Apps.SecretCreateParams`
2018
1357
 
2019
- ## 10.1.0-beta.1 - 2022-08-03
2020
- * [#1498](https://github.com/stripe/stripe-node/pull/1498) API Updates for beta branch
2021
- - Updated stable APIs to the latest version
2022
- - Added the `Order` resource support
2023
-
2024
1358
  ## 10.0.0 - 2022-08-02
2025
1359
 
2026
- Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
1360
+ This release includes breaking changes resulting from:
2027
1361
 
2028
- 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.
1362
+ * 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
1363
+ * 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.
2029
1364
 
2030
1365
  "⚠️" symbol highlights breaking changes.
2031
1366
 
2032
1367
  * [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates
2033
1368
  * [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes
2034
1369
 
1370
+ ### Added
1371
+ * 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`
1372
+ * Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
1373
+
1374
+ ### ⚠️ Changed
1375
+ * Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable.
1376
+ * Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`.
1377
+ * 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`.
1378
+ * Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable.
1379
+ * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
1380
+
1381
+ ### ⚠️ Removed
1382
+ * Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions.
1383
+ * Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.
1384
+ * Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`.
1385
+ * Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions.
1386
+ * Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead.
1387
+ * Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.
1388
+ * Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
1389
+ * Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.
1390
+ * Remove `IssuerFraudRecords` resource.
1391
+ * Remove `Recipient` resource and`recipient` property from `Card` resource.
1392
+ * Remove `InvoiceMarkUncollectibleParams` definition.
1393
+ * Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions.
1394
+ * Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.
1395
+ * Remove `LineItemListParams` definition. The interface was no longer in use.
1396
+
1397
+ ### ⚠️ Renamed
1398
+ * Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`.
1399
+ * Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`.
1400
+ * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
1401
+
2035
1402
  ## 9.16.0 - 2022-07-26
2036
1403
  * [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates
2037
1404
  * 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`
@@ -2048,20 +1415,6 @@ Breaking changes that arose during code generation of the library that we postpo
2048
1415
  * Add support for `mandate` on `InvoicePayParams`
2049
1416
  * Add support for `product_data` on `OrderCreateParams.line_items[]` and `OrderUpdateParams.line_items[]`
2050
1417
 
2051
- ## 9.15.0-beta.1 - 2022-07-22
2052
- * [#1485](https://github.com/stripe/stripe-node/pull/1485) API Updates for beta branch
2053
- - Updated stable APIs to the latest version
2054
- * [#1483](https://github.com/stripe/stripe-node/pull/1483) API Updates for beta branch
2055
- - Updated stable APIs to the latest version
2056
- - Add `QuotePhase` resource
2057
- * [#1479](https://github.com/stripe/stripe-node/pull/1479) API Updates for beta branch
2058
- - Updated stable APIs to the latest version
2059
- - Add `Price.migrate_to` property
2060
- - Add `SubscriptionSchedule.amend` method.
2061
- - Add `Discount.subscription_item` property.
2062
- - Add `Quote.subscription_data.billing_behavior`, `billing_cycle_anchor`, `end_behavior`, `from_schedule`, `from_subscription`, `prebilling`, `proration_behavior` properties.
2063
- - Add `phases` parameter to `Quote.create`
2064
- - Add `Subscription.discounts`, `prebilling` properties.
2065
1418
 
2066
1419
  ## 9.14.0 - 2022-07-18
2067
1420
  * [#1477](https://github.com/stripe/stripe-node/pull/1477) API Updates
@@ -2085,18 +1438,6 @@ Breaking changes that arose during code generation of the library that we postpo
2085
1438
  * Change `Transfer.source_type` to be optional and not nullable
2086
1439
  * [#1471](https://github.com/stripe/stripe-node/pull/1471) Update readme to include a note on beta packages
2087
1440
 
2088
- ## 9.13.0-beta.1 - 2022-07-07
2089
- * [#1469](https://github.com/stripe/stripe-node/pull/1469) API Updates for beta branch
2090
- - Include `server_side_confirmation_beta=v1` beta
2091
- - Add `secretKeyConfirmation` to `PaymentIntent`
2092
- * [#1451](https://github.com/stripe/stripe-node/pull/1451) API Updates
2093
- - Updated stable APIs to the latest version
2094
- * [#1457](https://github.com/stripe/stripe-node/pull/1457) Use the generated API version
2095
- * [#1445](https://github.com/stripe/stripe-node/pull/1445) Support updating pre-release versions
2096
- * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
2097
- * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
2098
- * [#1444](https://github.com/stripe/stripe-node/pull/1444) Merge master branch into beta branch
2099
-
2100
1441
  ## 9.12.0 - 2022-07-07
2101
1442
  * [#1468](https://github.com/stripe/stripe-node/pull/1468) API Updates
2102
1443
  * Add support for `currency` on `Checkout.SessionCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkCreateParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `Subscription`
@@ -2159,10 +1500,6 @@ Breaking changes that arose during code generation of the library that we postpo
2159
1500
  * 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`
2160
1501
  * Add support for `custom_unit_amount` on `PriceCreateParams` and `Price`
2161
1502
 
2162
- ## 9.8.0-beta.1 - 2022-06-08
2163
- * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
2164
- * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
2165
-
2166
1503
  ## 9.7.0 - 2022-06-08
2167
1504
  * [#1441](https://github.com/stripe/stripe-node/pull/1441) API Updates
2168
1505
  * Add support for `affirm`, `bancontact`, `card`, `ideal`, `p24`, and `sofort` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
@@ -2183,6 +1520,7 @@ Breaking changes that arose during code generation of the library that we postpo
2183
1520
  * Add support for `network` on `SetupIntent.payment_method_options.card`
2184
1521
  * Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `Terminal.ReaderListParams.device_type`
2185
1522
 
1523
+
2186
1524
  ## 9.5.0 - 2022-05-26
2187
1525
  * [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
2188
1526
  * Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -2253,6 +1591,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
2253
1591
  * Add support for `default_price` on `ProductUpdateParams` and `Product`
2254
1592
  * Add support for `instructions_email` on `RefundCreateParams` and `Refund`
2255
1593
 
1594
+
2256
1595
  ## 8.221.0 - 2022-05-05
2257
1596
  * [#1413](https://github.com/stripe/stripe-node/pull/1413) API Updates
2258
1597
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
@@ -2529,6 +1868,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
2529
1868
  * [#1297](https://github.com/stripe/stripe-node/pull/1297) API Updates
2530
1869
  * Add support for `automatic_payment_methods` on `PaymentIntentCreateParams` and `PaymentIntent`
2531
1870
 
1871
+
2532
1872
  ## 8.189.0 - 2021-11-16
2533
1873
  * [#1295](https://github.com/stripe/stripe-node/pull/1295) API Updates
2534
1874
  * Add support for new resource `ShippingRate`
@@ -2551,6 +1891,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
2551
1891
  * Remove support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account`. This API was unused.
2552
1892
  * Add support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account.company`
2553
1893
 
1894
+
2554
1895
  ## 8.186.0 - 2021-11-01
2555
1896
  * [#1283](https://github.com/stripe/stripe-node/pull/1283) API Updates
2556
1897
  * Add support for `ownership_declaration` on `AccountUpdateParams.company`, `AccountCreateParams.company`, `Account.company`, and `TokenCreateParams.account.company`
@@ -2694,6 +2035,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
2694
2035
  * Add support for `wallet` on `Issuing.Transaction`
2695
2036
  * Add support for `ideal` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
2696
2037
 
2038
+
2697
2039
  ## 8.163.0 - 2021-07-15
2698
2040
  * [#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
2699
2041
 
@@ -4226,7 +3568,7 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
4226
3568
 
4227
3569
  - [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
4228
3570
 
4229
- ## 2.2.1 - 2013-12-01
3571
+ ### 2.2.1 - 2013-12-01
4230
3572
 
4231
3573
  - [BUGFIX] Fix user-agent header issue (see issue #75)
4232
3574
 
@@ -4289,4 +3631,3 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
4289
3631
  ## 0.0.2 - 2011-09-28
4290
3632
 
4291
3633
  - Initial release with customers and tokens APIs
4292
-