stripe 12.9.0 → 12.10.0-beta.2

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 (148) hide show
  1. package/CHANGELOG.md +331 -101
  2. package/README.md +33 -0
  3. package/VERSION +1 -1
  4. package/cjs/Error.js +2 -2
  5. package/cjs/RequestSender.js +65 -5
  6. package/cjs/StripeResource.js +1 -1
  7. package/cjs/apiVersion.js +2 -1
  8. package/cjs/multipart.js +1 -1
  9. package/cjs/resources/AccountSessions.js +12 -0
  10. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  11. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  12. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  13. package/cjs/resources/FinancialConnections/Accounts.js +13 -0
  14. package/cjs/resources/FinancialConnections/Transactions.js +13 -0
  15. package/cjs/resources/GiftCards/Cards.js +29 -0
  16. package/cjs/resources/GiftCards/Transactions.js +33 -0
  17. package/cjs/resources/Issuing/CardBundles.js +17 -0
  18. package/cjs/resources/Issuing/CardDesigns.js +21 -0
  19. package/cjs/resources/OAuth.js +1 -1
  20. package/cjs/resources/Orders.js +42 -0
  21. package/cjs/resources/QuotePhases.js +22 -0
  22. package/cjs/resources/Quotes.js +32 -0
  23. package/cjs/resources/SubscriptionSchedules.js +4 -0
  24. package/cjs/resources/Tax/Registrations.js +21 -0
  25. package/cjs/resources/Tax/Settings.js +16 -0
  26. package/cjs/resources/Terminal/Readers.js +12 -0
  27. package/cjs/resources/TestHelpers/Issuing/CardDesigns.js +16 -0
  28. package/cjs/resources.js +45 -11
  29. package/cjs/stripe.core.js +6 -3
  30. package/cjs/utils.js +30 -3
  31. package/esm/Error.js +2 -2
  32. package/esm/RequestSender.js +66 -6
  33. package/esm/StripeResource.js +2 -2
  34. package/esm/apiVersion.js +1 -0
  35. package/esm/multipart.js +2 -2
  36. package/esm/resources/AccountSessions.js +9 -0
  37. package/esm/resources/Capital/FinancingOffers.js +18 -0
  38. package/esm/resources/Capital/FinancingSummary.js +9 -0
  39. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  40. package/esm/resources/FinancialConnections/Accounts.js +13 -0
  41. package/esm/resources/FinancialConnections/Transactions.js +10 -0
  42. package/esm/resources/GiftCards/Cards.js +26 -0
  43. package/esm/resources/GiftCards/Transactions.js +30 -0
  44. package/esm/resources/Issuing/CardBundles.js +14 -0
  45. package/esm/resources/Issuing/CardDesigns.js +18 -0
  46. package/esm/resources/OAuth.js +2 -2
  47. package/esm/resources/Orders.js +39 -0
  48. package/esm/resources/QuotePhases.js +19 -0
  49. package/esm/resources/Quotes.js +32 -0
  50. package/esm/resources/SubscriptionSchedules.js +4 -0
  51. package/esm/resources/Tax/Registrations.js +18 -0
  52. package/esm/resources/Tax/Settings.js +13 -0
  53. package/esm/resources/Terminal/Readers.js +12 -0
  54. package/esm/resources/TestHelpers/Issuing/CardDesigns.js +13 -0
  55. package/esm/resources.js +32 -1
  56. package/esm/stripe.core.js +6 -3
  57. package/esm/utils.js +27 -1
  58. package/package.json +1 -1
  59. package/types/AccountSessions.d.ts +45 -0
  60. package/types/AccountSessionsResource.d.ts +27 -0
  61. package/types/Accounts.d.ts +39 -0
  62. package/types/AccountsResource.d.ts +71 -0
  63. package/types/BillingPortal/Sessions.d.ts +1 -1
  64. package/types/BillingPortal/SessionsResource.d.ts +1 -1
  65. package/types/Capital/FinancingOffers.d.ts +183 -0
  66. package/types/Capital/FinancingOffersResource.d.ts +94 -0
  67. package/types/Capital/FinancingSummary.d.ts +106 -0
  68. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  69. package/types/Capital/FinancingTransactions.d.ts +135 -0
  70. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  71. package/types/Charges.d.ts +28 -2
  72. package/types/ChargesResource.d.ts +584 -4
  73. package/types/Checkout/Sessions.d.ts +25 -1
  74. package/types/Checkout/SessionsResource.d.ts +16 -0
  75. package/types/Coupons.d.ts +1 -1
  76. package/types/CouponsResource.d.ts +1 -1
  77. package/types/Discounts.d.ts +10 -0
  78. package/types/FilesResource.d.ts +53 -3
  79. package/types/FinancialConnections/Accounts.d.ts +74 -0
  80. package/types/FinancialConnections/AccountsResource.d.ts +75 -1
  81. package/types/FinancialConnections/InferredBalances.d.ts +38 -0
  82. package/types/FinancialConnections/Sessions.d.ts +50 -0
  83. package/types/FinancialConnections/SessionsResource.d.ts +39 -0
  84. package/types/FinancialConnections/Transactions.d.ts +85 -0
  85. package/types/FinancialConnections/TransactionsResource.d.ts +48 -0
  86. package/types/GiftCards/Cards.d.ts +118 -0
  87. package/types/GiftCards/CardsResource.d.ts +159 -0
  88. package/types/GiftCards/Transactions.d.ts +129 -0
  89. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  90. package/types/InvoiceItemsResource.d.ts +88 -0
  91. package/types/Invoices.d.ts +78 -5
  92. package/types/InvoicesResource.d.ts +435 -3
  93. package/types/Issuing/Authorizations.d.ts +25 -0
  94. package/types/Issuing/AuthorizationsResource.d.ts +2 -2
  95. package/types/Issuing/CardBundles.d.ts +48 -0
  96. package/types/Issuing/CardBundlesResource.d.ts +63 -0
  97. package/types/Issuing/CardDesigns.d.ts +58 -0
  98. package/types/Issuing/CardDesignsResource.d.ts +113 -0
  99. package/types/Issuing/CardholdersResource.d.ts +4 -2
  100. package/types/Issuing/Cards.d.ts +6 -1
  101. package/types/Issuing/CardsResource.d.ts +5 -0
  102. package/types/Issuing/Transactions.d.ts +17 -0
  103. package/types/LineItems.d.ts +7 -0
  104. package/types/Mandates.d.ts +11 -0
  105. package/types/Orders.d.ts +1035 -0
  106. package/types/OrdersResource.d.ts +2653 -0
  107. package/types/PaymentIntents.d.ts +186 -0
  108. package/types/PaymentIntentsResource.d.ts +1430 -64
  109. package/types/PaymentMethods.d.ts +16 -0
  110. package/types/Prices.d.ts +22 -0
  111. package/types/PricesResource.d.ts +22 -0
  112. package/types/Products.d.ts +39 -0
  113. package/types/ProductsResource.d.ts +36 -0
  114. package/types/QuoteLines.d.ts +580 -0
  115. package/types/QuotePhases.d.ts +196 -0
  116. package/types/QuotePhasesResource.d.ts +67 -0
  117. package/types/Quotes.d.ts +522 -1
  118. package/types/QuotesResource.d.ts +3016 -215
  119. package/types/SetupAttempts.d.ts +5 -0
  120. package/types/SetupIntents.d.ts +34 -0
  121. package/types/SetupIntentsResource.d.ts +89 -1
  122. package/types/Sources.d.ts +23 -0
  123. package/types/SubscriptionItems.d.ts +23 -0
  124. package/types/SubscriptionItemsResource.d.ts +147 -0
  125. package/types/SubscriptionSchedules.d.ts +237 -0
  126. package/types/SubscriptionSchedulesResource.d.ts +1310 -15
  127. package/types/Subscriptions.d.ts +57 -1
  128. package/types/SubscriptionsResource.d.ts +451 -0
  129. package/types/Tax/Registrations.d.ts +923 -0
  130. package/types/Tax/RegistrationsResource.d.ts +1170 -0
  131. package/types/Tax/Settings.d.ts +79 -0
  132. package/types/Tax/SettingsResource.d.ts +77 -0
  133. package/types/Terminal/Readers.d.ts +177 -0
  134. package/types/Terminal/ReadersResource.d.ts +171 -0
  135. package/types/TestHelpers/Issuing/CardDesignsResource.d.ts +55 -0
  136. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  137. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  138. package/types/TransferReversals.d.ts +2 -2
  139. package/types/Transfers.d.ts +2 -2
  140. package/types/TransfersResource.d.ts +3 -3
  141. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  142. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  143. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  144. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  145. package/types/WebhookEndpointsResource.d.ts +48 -0
  146. package/types/index.d.ts +66 -0
  147. package/types/lib.d.ts +18 -0
  148. package/types/test/typescriptTest.ts +9 -0
package/CHANGELOG.md CHANGED
@@ -1,11 +1,35 @@
1
1
  # Changelog
2
2
 
3
+ ## 12.10.0-beta.2 - 2023-06-15
4
+ * [#1818](https://github.com/stripe/stripe-node/pull/1818) Update generated code for beta
5
+ * Add support for `payment_details` on `ChargeCaptureParams`, `ChargeUpdateParams`, `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
6
+ * 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`
7
+ * [#1814](https://github.com/stripe/stripe-node/pull/1814) Update generated code for beta
8
+
9
+
10
+ ## 12.10.0-beta.1 - 2023-06-08
11
+ * [#1811](https://github.com/stripe/stripe-node/pull/1811) Update generated code for beta
12
+
3
13
  ## 12.9.0 - 2023-06-08
4
14
  * [#1809](https://github.com/stripe/stripe-node/pull/1809) Update generated code
5
15
  * Change `Charge.payment_method_details.cashapp.buyer_id`, `Charge.payment_method_details.cashapp.cashtag`, `PaymentMethod.cashapp.buyer_id`, and `PaymentMethod.cashapp.cashtag` to be required
6
16
  * Add support for `taxability_reason` on `Tax.Calculation.tax_breakdown[]`
7
17
  * [#1812](https://github.com/stripe/stripe-node/pull/1812) More helpful error when signing secrets contain whitespace
8
18
 
19
+ ## 12.9.0-beta.1 - 2023-06-01
20
+ * [#1801](https://github.com/stripe/stripe-node/pull/1801) Update generated code for beta
21
+ * Add support for `subscription_details` on `Invoice`
22
+ * 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[]`
23
+ * 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`
24
+ * Add support for `set_pause_collection` on `QuoteCreateParams.lines[]`, `QuoteLine`, `QuoteUpdateParams.lines[]`, and `SubscriptionScheduleAmendParams.amendments[]`
25
+ * 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`
26
+ * Add support for `pause_collection` on `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, and `SubscriptionScheduleUpdateParams.phases[]`
27
+ * Add support for `local_amusement_tax` on `Tax.Registration.country_options.us` and `TaxRegistrationCreateParams.country_options.us`
28
+ * Remove support for `locations` on `Tax.Settings` and `TaxSettingUpdateParams`
29
+ * Add support for new values `customer.subscription.collection_paused` and `customer.subscription.collection_resumed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
30
+ * [#1775](https://github.com/stripe/stripe-node/pull/1775) Introduce stripe.rawRequest as a canonical way to request APIs without definitions
31
+ * Please refer to the [Custom Requests README section](https://github.com/stripe/stripe-node/tree/beta#custom-requests) for usage instructions.
32
+
9
33
  ## 12.8.0 - 2023-06-01
10
34
  * [#1799](https://github.com/stripe/stripe-node/pull/1799) Update generated code
11
35
  * Add support for `numeric` and `text` on `CheckoutSessionCreateParams.custom_fields[]`, `PaymentLinkCreateParams.custom_fields[]`, and `PaymentLinkUpdateParams.custom_fields[]`
@@ -16,6 +40,9 @@
16
40
  * Add support for `description`, `iin`, and `issuer` on `PaymentMethod.card_present` and `PaymentMethod.interac_present`
17
41
  * Add support for `payer_email` on `PaymentMethod.paypal`
18
42
 
43
+ ## 12.8.0-beta.1 - 2023-05-25
44
+ * [#1795](https://github.com/stripe/stripe-node/pull/1795) Update generated code for beta
45
+
19
46
  ## 12.7.0 - 2023-05-25
20
47
  * [#1797](https://github.com/stripe/stripe-node/pull/1797) Update generated code
21
48
  * Add support for `zip_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -26,6 +53,13 @@
26
53
  * 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`
27
54
  * Add support for new value `zip` on enum `PaymentMethod.type`
28
55
 
56
+ ## 12.7.0-beta.1 - 2023-05-19
57
+ * [#1788](https://github.com/stripe/stripe-node/pull/1788) Update generated code for beta
58
+ * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
59
+ * 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`
60
+ * Add support for `status_details` and `status` on `Tax.Settings`
61
+ * Add support for new value `tax.settings.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
62
+
29
63
  ## 12.6.0 - 2023-05-19
30
64
  * [#1787](https://github.com/stripe/stripe-node/pull/1787) Update generated code
31
65
  * Add support for `subscription_update_confirm` and `subscription_update` on `BillingPortal.Session.flow` and `BillingPortalSessionCreateParams.flow_data`
@@ -34,6 +68,18 @@
34
68
  * Add support for `buyer_id` and `cashtag` on `Charge.payment_method_details.cashapp` and `PaymentMethod.cashapp`
35
69
  * Add support for new values `amusement_tax` and `communications_tax` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
36
70
 
71
+ ## 12.6.0-beta.1 - 2023-05-11
72
+ * [#1786](https://github.com/stripe/stripe-node/pull/1786) Update generated code for beta
73
+ * Add support for `payer_email`, `payer_name`, and `seller_protection` on `Charge.payment_method_details.paypal`
74
+ * 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
75
+ * Add support for `capture_method`, `preferred_locale`, `reference_id`, and `setup_future_usage` on `CheckoutSessionCreateParams.payment_method_options.paypal`
76
+ * 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`
77
+ * 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`
78
+ * Remove support for `billing_agreement_id` and `currency` on `CheckoutSessionCreateParams.payment_method_options.paypal`
79
+ * Add support for `fingerprint`, `payer_id`, and `verified_email` on `Mandate.payment_method_details.paypal` and `PaymentMethod.paypal`
80
+ * Add support for `taxability_reason` and `taxable_amount` on `Order.shipping_cost.taxes[]`, `Order.total_details.breakdown.taxes[]`, and `QuotePhase.total_details.breakdown.taxes[]`
81
+ * Add support for `head_office` on `Tax.Settings` and `TaxSettingUpdateParams`
82
+
37
83
  ## 12.5.0 - 2023-05-11
38
84
  * [#1785](https://github.com/stripe/stripe-node/pull/1785) Update generated code
39
85
  * Add support for `paypal` on `Charge.payment_method_details`, `CheckoutSessionCreateParams.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`
@@ -51,12 +97,25 @@
51
97
  * Add support for `effective_percentage` on `TaxRate`
52
98
  * Add support for `gb_bank_transfer` and `jp_bank_transfer` on `CustomerCashBalanceTransaction.Funded.BankTransfer`
53
99
 
100
+ ## 12.5.0-beta.1 - 2023-05-04
101
+ * [#1773](https://github.com/stripe/stripe-node/pull/1773) Update generated code for beta
102
+ * Updated stable APIs to the latest version
103
+
54
104
  ## 12.4.0 - 2023-05-04
55
105
  * [#1774](https://github.com/stripe/stripe-node/pull/1774) Update generated code
56
106
  * Add support for `link` on `Checkout.Session.payment_method_options` and `CheckoutSessionCreateParams.payment_method_options`
57
107
  * Add support for `brand`, `country`, `description`, `exp_month`, `exp_year`, `fingerprint`, `funding`, `iin`, `issuer`, `last4`, `network`, and `wallet` on `SetupAttempt.payment_method_details.card`
58
108
  * [#1782](https://github.com/stripe/stripe-node/pull/1782) Let user supply a timestamp when verifying webhooks
59
109
 
110
+ ## 12.4.0-beta.1 - 2023-04-27
111
+ * [#1769](https://github.com/stripe/stripe-node/pull/1769) Update generated code for beta
112
+ * Add support for `billing_cycle_anchor` and `proration_behavior` on `CheckoutSessionCreateParams.subscription_data`
113
+ * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
114
+ * Add support for `metadata` on `PaymentIntentCaptureParams`
115
+ * Add support for `checks` on `SetupAttempt.payment_method_details.card`
116
+ * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
117
+ * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
118
+
60
119
  ## 12.3.0 - 2023-04-27
61
120
  * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
62
121
  * Add support for `billing_cycle_anchor` and `proration_behavior` on `CheckoutSessionCreateParams.subscription_data`
@@ -65,6 +124,12 @@
65
124
  * Add support for `checks` on `SetupAttempt.payment_method_details.card`
66
125
  * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
67
126
 
127
+ ## 12.3.0-beta.1 - 2023-04-20
128
+ * [#1760](https://github.com/stripe/stripe-node/pull/1760) Update generated code for beta
129
+ * Add support for `zip` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
130
+ * Add support for `country_options` on `Tax.Registration` and `TaxRegistrationCreateParams`
131
+ * Remove support for `state` and `type` on `Tax.Registration` and `TaxRegistrationCreateParams`
132
+
68
133
  ## 12.2.0 - 2023-04-20
69
134
  * [#1759](https://github.com/stripe/stripe-node/pull/1759) Update generated code
70
135
  * Change `Checkout.Session.currency_conversion` to be required
@@ -74,6 +139,16 @@
74
139
  * [#1762](https://github.com/stripe/stripe-node/pull/1762) Add Deno webhook signing example
75
140
  * [#1761](https://github.com/stripe/stripe-node/pull/1761) Add Deno usage instructions in README
76
141
 
142
+ ## 12.2.0-beta.1 - 2023-04-13
143
+ * [#1751](https://github.com/stripe/stripe-node/pull/1751) Update generated code for beta
144
+ * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
145
+ * Add support for `paypal_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
146
+ * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
147
+ * Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal.Reader.action`
148
+ * Add support for `stripe_account` on `Terminal.Reader.action.process_payment_intent` and `Terminal.Reader.action.refund_payment`
149
+ * Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `Terminal.Reader.action.type`
150
+ * Add support for new value `terminal.reader.action_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
151
+
77
152
  ## 12.1.1 - 2023-04-13
78
153
  No product changes.
79
154
 
@@ -82,6 +157,16 @@ No product changes.
82
157
  * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
83
158
  * [#1749](https://github.com/stripe/stripe-node/pull/1749) Type extend and ResourceNamespace better
84
159
 
160
+ ## 12.1.0-beta.1 - 2023-04-06
161
+ * [#1737](https://github.com/stripe/stripe-node/pull/1737) Update generated code for beta
162
+ * Add support for `treasury_transaction` on `CapitalFinancingTransactionListParams`
163
+ * Add support for `transaction` on `Capital.FinancingTransaction.details`
164
+ * Add support for new value `link` on enums `Charge.payment_method_details.card.wallet.type` and `PaymentMethod.card.wallet.type`
165
+ * Change `IssuingCardholderCreateParams.type` to be optional
166
+ * Add support for `country` on `PaymentMethod.link`
167
+ * Add support for `status_details` on `PaymentMethod.us_bank_account`
168
+ * [#1750](https://github.com/stripe/stripe-node/pull/1750) Merge master into beta
169
+
85
170
  ## 12.0.0 - 2023-04-06
86
171
  * [#1743](https://github.com/stripe/stripe-node/pull/1743) Remove `Stripe.default` and `Stripe.Stripe`
87
172
  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.
@@ -124,6 +209,11 @@ This was added to maintain backwards compatibility during the transition of stri
124
209
  * Add support for `status_details` on `PaymentMethod.us_bank_account`
125
210
  * [#1747](https://github.com/stripe/stripe-node/pull/1747) (Typescript) remove deprecated properties
126
211
 
212
+ ## 11.18.0-beta.1 - 2023-03-30
213
+ * [#1735](https://github.com/stripe/stripe-node/pull/1735) Update generated code
214
+ * Add support for new value `ioss` on enums `Tax.Registration.type` and `TaxRegistrationCreateParams.type`
215
+ * Change `TerminalReaderCollectInputsParams.inputs[].custom_text.description` to be optional
216
+
127
217
  ## 11.17.0 - 2023-03-30
128
218
  * [#1734](https://github.com/stripe/stripe-node/pull/1734) Update generated code
129
219
  * Remove support for `create` method on resource `Tax.Transaction`
@@ -133,6 +223,21 @@ This was added to maintain backwards compatibility during the transition of stri
133
223
  * This is not a breaking change, as `deleted` was never returned or accepted as input.
134
224
  * Add support for `amount_tip` on `TerminalReaderPresentPaymentMethodParams.testHelpers`
135
225
 
226
+ ## 11.17.0-beta.1 - 2023-03-23
227
+ * [#1724](https://github.com/stripe/stripe-node/pull/1724) Update generated code for beta (new)
228
+ * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
229
+ * Add support for `collect_inputs` method on resource `Terminal.Reader`
230
+ * Add support for `financing_offer` on `Capital.FinancingSummary`
231
+ * Add support for new value `link` on enum `CheckoutSessionCreateParams.payment_method_types[]`
232
+ * Add support for `fx_rate` on `Checkout.Session.currency_conversion`
233
+ * Add support for new value `link` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
234
+ * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
235
+ * Remove support for `preview` on `TaxCalculationCreateParams`
236
+ * Change type of `Tax.Calculation.line_items[]` from `LineItem` to `Tax.CalculationLineItem`
237
+ * Change type of `Tax.Transaction.line_items[]` from `LineItem` to `Tax.TransactionLineItem`
238
+ * Add support for `collect_inputs` on `Terminal.Reader.action`
239
+ * Add support for new value `collect_inputs` on enum `Terminal.Reader.action.type`
240
+
136
241
  ## 11.16.0 - 2023-03-23
137
242
  * [#1730](https://github.com/stripe/stripe-node/pull/1730) Update generated code
138
243
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
@@ -144,6 +249,19 @@ This was added to maintain backwards compatibility during the transition of stri
144
249
  * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
145
250
  * [#1726](https://github.com/stripe/stripe-node/pull/1726) Add Deno entry point
146
251
 
252
+ ## 11.16.0-beta.1 - 2023-03-17
253
+ * [#1713](https://github.com/stripe/stripe-node/pull/1713) API Updates
254
+ * Add support for `create_from_calculation` method on resource `Tax.Transaction`
255
+ * Change type of `Invoice.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
256
+ * 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`
257
+ * 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`
258
+ * 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`
259
+ * 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
260
+ * Remove support for `applies_to` on `QuotePreviewInvoiceLinesParams`
261
+ * Add support for `shipping_cost` on `Tax.Calculation`, `Tax.Transaction`, `TaxCalculationCreateParams`, and `TaxTransactionCreateReversalParams`
262
+ * Add support for `tax_breakdown` on `Tax.Calculation`
263
+ * Remove support for `tax_summary` on `Tax.Calculation`
264
+
147
265
  ## 11.15.0 - 2023-03-16
148
266
  * [#1714](https://github.com/stripe/stripe-node/pull/1714) API Updates
149
267
  * Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -172,6 +290,16 @@ This was added to maintain backwards compatibility during the transition of stri
172
290
  * Add support for new value `cashapp` on enum `PaymentMethod.type`
173
291
  * Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
174
292
 
293
+ ## 11.15.0-beta.1 - 2023-03-09
294
+ * [#1705](https://github.com/stripe/stripe-node/pull/1705) API Updates for beta branch
295
+ * Updated stable APIs to the latest version
296
+ * Remove support for `list_transactions` method on resource `Tax.Transaction`
297
+ * Add support for `amendment_start` and `timestamp` on `SubscriptionScheduleAmendParams.prebilling[].bill_from`
298
+ * Change type of `SubscriptionScheduleAmendParams.prebilling[].bill_from.type` from `literal('now')` to `enum('amendment_start'|'now'|'timestamp')`
299
+ * Change type of `SubscriptionSchedule.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
300
+ * Add support for new value `lease_tax` on enum `Tax.Calculation.tax_summary[].tax_rate_details.tax_type`
301
+ * Add support for `tax_behavior` on `Tax.Settings.defaults` and `TaxSettingUpdateParams.defaults`
302
+
175
303
  ## 11.14.0 - 2023-03-09
176
304
  * [#1703](https://github.com/stripe/stripe-node/pull/1703) API Updates
177
305
  * Add support for `card_issuing` on `IssuingCardholderCreateParams.individual` and `IssuingCardholderUpdateParams.individual`
@@ -182,6 +310,25 @@ This was added to maintain backwards compatibility during the transition of stri
182
310
  * [#1695](https://github.com/stripe/stripe-node/pull/1695) Migrate generated files to ES module syntax
183
311
  * [#1699](https://github.com/stripe/stripe-node/pull/1699) Remove extra test directory
184
312
 
313
+ ## 11.14.0-beta.2 - 2023-03-03
314
+ * [#1698](https://github.com/stripe/stripe-node/pull/1698) API Updates for beta branch
315
+ * Updated stable APIs to the latest version
316
+ * Add support for `update_behavior` on `Subscription.prebilling`, `SubscriptionCreateParams.prebilling`, `SubscriptionSchedule.prebilling`, `SubscriptionScheduleCreateParams.prebilling`, `SubscriptionScheduleUpdateParams.prebilling`, and `SubscriptionUpdateParams.prebilling`
317
+ * Add support for `prebilling` on `SubscriptionScheduleAmendParams`
318
+ * Add support for `taxability_override` on `Tax.Calculation.customer_details`, `Tax.Transaction.customer_details`, and `TaxCalculationCreateParams.customer_details`
319
+ * Add support for `tax_summary` on `Tax.Calculation`
320
+ * Remove support for `tax_breakdown` on `Tax.Calculation`
321
+
322
+ ## 11.14.0-beta.1 - 2023-03-02
323
+ * [#1697](https://github.com/stripe/stripe-node/pull/1697) API Updates for beta branch
324
+ * Updated stable APIs to the latest version
325
+ * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
326
+ * Add support for `list` and `retrieve` methods on resource `CardBundle`
327
+ * Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
328
+ * Remove support for `controller` on `AccountUpdateParams`
329
+ * Add support for `card_design` on `Issuing.Card` and `IssuingCardCreateParams`
330
+ * 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[]`
331
+
185
332
  ## 11.13.0 - 2023-03-02
186
333
  * [#1696](https://github.com/stripe/stripe-node/pull/1696) API Updates
187
334
  * 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.
@@ -190,6 +337,14 @@ This was added to maintain backwards compatibility during the transition of stri
190
337
 
191
338
  * [#1689](https://github.com/stripe/stripe-node/pull/1689) Update v11.8.0 changelog with breaking change disclaimer
192
339
 
340
+ ## 11.13.0-beta.1 - 2023-02-23
341
+ * [#1690](https://github.com/stripe/stripe-node/pull/1690) API Updates for beta branch
342
+ * Updated stable APIs to the latest version
343
+ * 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`
344
+ * Add support for new value `igst` on enum `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`
345
+ * Change `TaxTransactionCreateParams.reference` to be required
346
+ * 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[]`
347
+
193
348
  ## 11.12.0 - 2023-02-23
194
349
  * [#1688](https://github.com/stripe/stripe-node/pull/1688) API Updates
195
350
  * 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`
@@ -197,6 +352,15 @@ This was added to maintain backwards compatibility during the transition of stri
197
352
  * Add support for new value `igst` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
198
353
  * [#1687](https://github.com/stripe/stripe-node/pull/1687) Convert TypeScript files to use ES modules
199
354
 
355
+ ## 11.12.0-beta.1 - 2023-02-16
356
+ * [#1686](https://github.com/stripe/stripe-node/pull/1686) API Updates for beta branch
357
+ * Updated stable APIs to the latest version
358
+ * Change type of `Quote.status_details.canceled` from `QuotesResourceStatusDetailsCanceledStatusDetails | null` to `QuotesResourceStatusDetailsCanceledStatusDetails`
359
+ * Change type of `Quote.status_details.stale` from `QuotesResourceStatusDetailsStaleStatusDetails | null` to `QuotesResourceStatusDetailsStaleStatusDetails`
360
+ * Change `Quote.status_details.canceled` and `Quote.status_details.stale` to be optional
361
+ * Remove support for `reference` on `Tax.Calculation` and `TaxCalculationCreateParams`
362
+ * Add support for `reference` on `TaxTransactionCreateParams`
363
+
200
364
  ## 11.11.0 - 2023-02-16
201
365
  * [#1681](https://github.com/stripe/stripe-node/pull/1681) API Updates
202
366
  * Add support for `refund_payment` method on resource `Terminal.Reader`
@@ -211,9 +375,32 @@ This was added to maintain backwards compatibility during the transition of stri
211
375
  * [#1685](https://github.com/stripe/stripe-node/pull/1685) Add more webhook parsing checks
212
376
  * [#1684](https://github.com/stripe/stripe-node/pull/1684) Add infrastructure for mocked tests
213
377
 
378
+ ## 11.11.0-beta.1 - 2023-02-13
379
+ * [#1676](https://github.com/stripe/stripe-node/pull/1676) API Updates for beta branch
380
+ * Updated stable APIs to the latest version
381
+ * Add support for `currency_conversion` on `Checkout.Session`
382
+ * Add support for `limits` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
383
+ * Remove support for `enabled` on `FinancialConnectionsSessionCreateParams.manual_entry`
384
+
214
385
  ## 11.10.0 - 2023-02-09
215
386
  * [#1679](https://github.com/stripe/stripe-node/pull/1679) Enable library to work in worker environments without extra configuration.
216
387
 
388
+ ## 11.10.0-beta.1 - 2023-02-02
389
+ * [#1671](https://github.com/stripe/stripe-node/pull/1671) API Updates for beta branch
390
+ * Updated stable APIs to the latest version
391
+ * Add support for new resource `FinancialConnections.Transaction`
392
+ * Add support for `list` method on resource `Transaction`
393
+ * Add support for `prefetch` on `.payment_method_options.us_bank_account.financial_connections` across several APIs
394
+ * 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
395
+ * Add support for new values `inferred_balances` and `transactions` on enum `FinancialConnectionsAccountRefreshParams.features[]`
396
+ * Add support for `inferred_balances_refresh`, `subscriptions`, and `transaction_refresh` on `FinancialConnections.Account`
397
+ * Add support for `manual_entry` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
398
+ * Add support for `status_details` and `status` on `FinancialConnections.Session`
399
+ * 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[]`
400
+ * Add support for `account_number` on `PaymentMethod.us_bank_account`
401
+ * Remove support for `id` on `QuoteCreateParams.lines[].starts_at.line_ends_at`
402
+ * 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[]`
403
+
217
404
  ## 11.9.1 - 2023-02-03
218
405
  * [#1672](https://github.com/stripe/stripe-node/pull/1672) Update main entrypoint on package.json
219
406
 
@@ -239,12 +426,23 @@ This was added to maintain backwards compatibility during the transition of stri
239
426
  * [#1668](https://github.com/stripe/stripe-node/pull/1668) Use EventTarget in worker / browser runtimes
240
427
  * [#1667](https://github.com/stripe/stripe-node/pull/1667) fix: added support for TypeScript "NodeNext" module resolution
241
428
 
429
+ ## 11.9.0-beta.1 - 2023-01-26
430
+ * [#1666](https://github.com/stripe/stripe-node/pull/1666) API Updates for beta branch
431
+ * Updated stable APIs to the latest version
432
+ * Add support for `billing_agreement_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`
433
+ * Add support for `list_transactions` method on resource `Tax.Transaction`
434
+ * Change type of `QuoteUpdateParams.subscription_data_overrides` from `array(create_specs)` to `emptyStringable(array(update_specs))`
435
+
242
436
  ## 11.8.0 - 2023-01-26
243
437
  * [#1665](https://github.com/stripe/stripe-node/pull/1665) API Updates
244
438
  * 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`
245
439
  * 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`
246
440
  * [#1660](https://github.com/stripe/stripe-node/pull/1660) Introduce separate entry point for worker environments
247
- * 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.
441
+
442
+ ## 11.8.0-beta.1 - 2023-01-19
443
+ * [#1662](https://github.com/stripe/stripe-node/pull/1662) API Updates for beta branch
444
+ * Updated stable APIs to the latest version
445
+ * Add support for `Tax.Settings` resource.
248
446
 
249
447
  ## 11.7.0 - 2023-01-19
250
448
  * [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
@@ -252,10 +450,39 @@ This was added to maintain backwards compatibility during the transition of stri
252
450
  * Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
253
451
  * [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3
254
452
 
453
+ ## 11.7.0-beta.2 - 2023-01-12
454
+ * [#1653](https://github.com/stripe/stripe-node/pull/1653) API Updates for beta branch
455
+ * Updated stable APIs to the latest version
456
+ * Add support for new resource `Tax.Registration`
457
+ * Add support for `create`, `list`, and `update` methods on resource `Registration`
458
+ * Add support for `controller` on `AccountCreateParams` and `AccountUpdateParams`
459
+ * Add support for `application` and `dashboard` on `Account.controller`
460
+ * Change type of `Quote.subscription_data_overrides[].proration_behavior` from `enum('always_invoice'|'create_prorations'|'none')` to `enum('always_invoice'|'create_prorations'|'none') | null`
461
+ * Remove support for `timestamp` on `QuoteLine.actions[].add_discount.discount_end`
462
+ * Change type of `QuoteLine.actions[].add_discount.discount_end.type` from `literal('timestamp')` to `literal('line_ends_at')`
463
+ * 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[]`
464
+ * Change `QuoteLine.actions[].add_discount.index` to be required
465
+ * Add support for new values `quote.accepting`, `quote.reestimated`, and `quote.stale` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
466
+
467
+ * Change `quote.draft_quote` implementation from hitting `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
468
+
469
+ ## 11.7.0-beta.1 - 2023-01-05
470
+ * [#1648](https://github.com/stripe/stripe-node/pull/1648) API Updates for beta branch
471
+ * Updated stable APIs to the latest version
472
+ * Add support for `mark_stale_quote` method on resource `Quote`
473
+ * 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`
474
+ * 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`
475
+ * Add support for `metadata` on `Terminal.Reader.action.refund_payment` and `TerminalReaderRefundPaymentParams`
476
+
255
477
  ## 11.6.0 - 2023-01-05
256
478
  * [#1646](https://github.com/stripe/stripe-node/pull/1646) API Updates
257
479
  * Add support for `card_issuing` on `Issuing.Cardholder.individual`
258
480
 
481
+ ## 11.6.0-beta.1 - 2022-12-22
482
+ * [#1643](https://github.com/stripe/stripe-node/pull/1643) API Updates for beta branch
483
+ * Updated stable APIs to the latest version
484
+ * Move `stripe.taxCalculations` to `stripe.tax.calculations` and `stripe.taxTransactions` to `stripe.tax.transactions`.
485
+
259
486
  ## 11.5.0 - 2022-12-22
260
487
  * [#1642](https://github.com/stripe/stripe-node/pull/1642) API Updates
261
488
  * 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`
@@ -263,6 +490,13 @@ This was added to maintain backwards compatibility during the transition of stri
263
490
  * Change `CheckoutSessionCreateParams.cancel_url` to be optional
264
491
  * Change type of `Checkout.Session.cancel_url` from `string` to `string | null`
265
492
 
493
+ ## 11.5.0-beta.1 - 2022-12-15
494
+ * [#1640](https://github.com/stripe/stripe-node/pull/1640) API Updates for beta branch
495
+ * Updated stable APIs to the latest version
496
+ * Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction`
497
+ * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
498
+ * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
499
+
266
500
  ## 11.4.0 - 2022-12-15
267
501
  * [#1639](https://github.com/stripe/stripe-node/pull/1639) API Updates
268
502
  * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
@@ -272,6 +506,12 @@ This was added to maintain backwards compatibility during the transition of stri
272
506
  * [#1634](https://github.com/stripe/stripe-node/pull/1634) API Updates
273
507
  * Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` to be optional
274
508
 
509
+ ## 11.3.0-beta.1 - 2022-12-08
510
+ * [#1635](https://github.com/stripe/stripe-node/pull/1635) API Updates for beta branch
511
+ * Updated stable APIs to the latest version
512
+ * [#1633](https://github.com/stripe/stripe-node/pull/1633) API Updates for beta branch
513
+ * Updated stable APIs to the latest version
514
+
275
515
  ## 11.2.0 - 2022-12-06
276
516
  * [#1632](https://github.com/stripe/stripe-node/pull/1632) API Updates
277
517
  * Add support for `flow_data` on `BillingPortalSessionCreateParams`
@@ -295,7 +535,6 @@ This was added to maintain backwards compatibility during the transition of stri
295
535
  * Add support for `custom_text` on `Checkout.Session`, `CheckoutSessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
296
536
  * Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code`
297
537
 
298
-
299
538
  ## 11.0.0 - 2022-11-16
300
539
 
301
540
  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
@@ -308,62 +547,11 @@ This release includes breaking changes resulting from moving to use the new API
308
547
  * [#1615](https://github.com/stripe/stripe-node/pull/1615) API Updates
309
548
  * ⚠️ Remove support for `tos_shown_and_accepted` on `CheckoutSessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked.
310
549
 
311
- ### ⚠️ Changed
312
- * Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
313
- * 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)
314
-
315
- ### ⚠️ Removed
316
- * Remove `Orders` resource. (#1580)
317
- * Remove `SKU` resource (#1583)
318
- * Remove deprecated `CheckoutSessionCreateParams.subscription_data.items`. (#1580)
319
- * Remove deprecated configuration setter methods (`setHost`, `setProtocol`, `setPort`, `setApiVersion`, `setApiKey`, `setTimeout`, `setAppInfo`, `setHttpAgent`, `setMaxNetworkRetries`, and `setTelemetryEnabled`). (#1597)
320
-
321
- Use the config object to set these options instead, for example:
322
- ```typescript
323
- const stripe = Stripe('sk_test_...', {
324
- apiVersion: '2019-08-08',
325
- maxNetworkRetries: 1,
326
- httpAgent: new ProxyAgent(process.env.http_proxy),
327
- timeout: 1000,
328
- host: 'api.example.com',
329
- port: 123,
330
- telemetry: true,
331
- });
332
- ```
333
- * Remove deprecated basic method definitions. (#1600)
334
- Use basic methods defined on the resource instead.
335
- ```typescript
336
- // Before
337
- basicMethods: true
338
-
339
- // After
340
- create: stripeMethod({
341
- method: 'POST',
342
- fullPath: '/v1/resource',
343
- }),
344
- list: stripeMethod({
345
- method: 'GET',
346
- methodType: 'list',
347
- fullPath: '/v1/resource',
348
- }),
349
- retrieve: stripeMethod({
350
- method: 'GET',
351
- fullPath: '/v1/resource/{id}',
352
- }),
353
- update: stripeMethod({
354
- method: 'POST',
355
- fullPath: '/v1/resource/{id}',
356
- }),
357
- // Avoid 'delete' keyword in JS
358
- del: stripeMethod({
359
- method: 'DELETE',
360
- fullPath: '/v1/resource/{id}',
361
- }),
362
- ```
363
- * 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)
364
- * Remove `charges` field on `PaymentIntent` and replace it with `latest_charge`. (#1614 )
365
- * Remove deprecated `amount` field on `Checkout.Session.LineItem`. (#1614 )
366
- * Remove support for `tos_shown_and_accepted` on `Checkout.Session.PaymentMethodOptions.Paynow`. (#1614 )
550
+ ## 10.18.0-beta.1 - 2022-11-10
551
+ * [#1616](https://github.com/stripe/stripe-node/pull/1616) API Updates for beta branch
552
+ * Updated stable APIs to the latest version
553
+ * Add `discount_end` to `Discount`.
554
+ * Add `url` to `MerchantData`.
367
555
 
368
556
  ## 10.17.0 - 2022-11-08
369
557
  * [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates
@@ -377,6 +565,22 @@ This release includes breaking changes resulting from moving to use the new API
377
565
  * Add support for `on_behalf_of` on `CheckoutSessionCreateParams.subscription_data`, `SubscriptionCreateParams`, `SubscriptionSchedule.default_settings`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.default_settings`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.default_settings`, `SubscriptionScheduleUpdateParams.phases[]`, `SubscriptionUpdateParams`, and `Subscription`
378
566
  * Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]`
379
567
 
568
+ ## 10.16.0-beta.2 - 2022-11-02
569
+ * [#1598](https://github.com/stripe/stripe-node/pull/1598) API Updates for beta branch
570
+ * Updated beta APIs to the latest stable version
571
+ * Add support for `cashappPayments` and `zipPayments` on `Account`.
572
+ * Add support for `cashapp` and `zip` on `Charge`, `PaymentMethod`.
573
+ * Add support for `trialSettings` on `SubscriptionSchedule`.
574
+
575
+ ## 10.16.0-beta.1 - 2022-10-21
576
+ * [#1589](https://github.com/stripe/stripe-node/pull/1589) API Updates for beta branch
577
+ * Updated stable APIs to the latest version
578
+ * Add support for new value `revoked` on enum `CapitalFinancingOfferListParams.status`
579
+ * Add support for `paypal` on `Charge.payment_method_details` and `Source`
580
+ * Add support for `network_data` on `Issuing.Transaction`
581
+ * Add support for new value `paypal` on enum `Source.type`
582
+ * Add support for `billing_cycle_anchor` on `SubscriptionScheduleAmendParams.amendments[]`
583
+
380
584
  ## 10.15.0 - 2022-10-20
381
585
  * [#1588](https://github.com/stripe/stripe-node/pull/1588) API Updates
382
586
  * 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`
@@ -384,6 +588,11 @@ This release includes breaking changes resulting from moving to use the new API
384
588
  * Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `TerminalReaderProcessPaymentIntentParams.process_config`
385
589
  * [#1585](https://github.com/stripe/stripe-node/pull/1585) use native UUID method if available
386
590
 
591
+ ## 10.15.0-beta.1 - 2022-10-14
592
+ * Add support for `schedule_settings` on `SubscriptionScheduleAmendParams`
593
+ * Add support for new value `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_end.type`
594
+ * Add support for new values `schedule_end` and `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_start.type`
595
+
387
596
  ## 10.14.0 - 2022-10-13
388
597
  * [#1582](https://github.com/stripe/stripe-node/pull/1582) API Updates
389
598
  * 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`
@@ -391,6 +600,11 @@ This release includes breaking changes resulting from moving to use the new API
391
600
  * Add support for `network_data` on `Issuing.Authorization`
392
601
  * ⚠️ Remove `currency`, `description`, `images`, and `name` from `Checkout.SessionCreateParams`. These properties do not work on the latest API version. (fixes #1575)
393
602
 
603
+ ## 10.14.0-beta.1 - 2022-10-07
604
+ * [#1572](https://github.com/stripe/stripe-node/pull/1572) API Updates for beta branch
605
+ * Updated stable APIs to the latest version
606
+ * Add `reference_id` to `Paypal` interface.
607
+
394
608
  ## 10.13.0 - 2022-10-06
395
609
  * [#1571](https://github.com/stripe/stripe-node/pull/1571) API Updates
396
610
  * 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`
@@ -411,6 +625,11 @@ This release includes breaking changes resulting from moving to use the new API
411
625
  * [#1562](https://github.com/stripe/stripe-node/pull/1562) Restore lib after generating
412
626
  * [#1551](https://github.com/stripe/stripe-node/pull/1551) Re-introduce Typescript changes
413
627
 
628
+ ## 10.12.0-beta.1 - 2022-09-26
629
+ * [#1561](https://github.com/stripe/stripe-node/pull/1561) API Updates for beta branch
630
+ * Updated stable APIs to the latest version
631
+ * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
632
+
414
633
  ## 10.11.0 - 2022-09-22
415
634
  * [#1560](https://github.com/stripe/stripe-node/pull/1560) API Updates
416
635
  * Add support for `terms_of_service` on `Checkout.Session.consent_collection`, `Checkout.Session.consent`, `CheckoutSessionCreateParams.consent_collection`, `PaymentLink.consent_collection`, and `PaymentLinkCreateParams.consent_collection`
@@ -418,7 +637,6 @@ This release includes breaking changes resulting from moving to use the new API
418
637
  * Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams`
419
638
  * Change `SubscriptionSchedule.phases[].currency` to be required
420
639
 
421
-
422
640
  ## 10.10.0 - 2022-09-15
423
641
  * [#1552](https://github.com/stripe/stripe-node/pull/1552) API Updates
424
642
  * Add support for `pix` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `CheckoutSessionCreateParams.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`
@@ -461,6 +679,11 @@ This release includes breaking changes resulting from moving to use the new API
461
679
  * [#1532](https://github.com/stripe/stripe-node/pull/1532) Update coveralls step to run for one node version, remove finish step
462
680
  * [#1531](https://github.com/stripe/stripe-node/pull/1531) Regen yarn.lock.
463
681
 
682
+ ## 10.6.0-beta.1 - 2022-08-26
683
+ * [#1529](https://github.com/stripe/stripe-node/pull/1529) API Updates for beta branch
684
+ * Updated stable APIs to the latest version
685
+ * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
686
+
464
687
  ## 10.5.0 - 2022-08-24
465
688
  * [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
466
689
  * [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation
@@ -475,6 +698,11 @@ This release includes breaking changes resulting from moving to use the new API
475
698
  * Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
476
699
  * 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.
477
700
 
701
+ ## 10.4.0-beta.1 - 2022-08-23
702
+ * [#1523](https://github.com/stripe/stripe-node/pull/1523) API Updates for beta branch
703
+ - Updated stable APIs to the latest version
704
+ - `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)
705
+ * [#1521](https://github.com/stripe/stripe-node/pull/1521) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
478
706
 
479
707
  ## 10.3.0 - 2022-08-19
480
708
  * [#1516](https://github.com/stripe/stripe-node/pull/1516) API Updates
@@ -487,11 +715,15 @@ This release includes breaking changes resulting from moving to use the new API
487
715
  * Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
488
716
  * [#1515](https://github.com/stripe/stripe-node/pull/1515) Add a support section to the readme
489
717
 
718
+ ## 10.3.0-beta.1 - 2022-08-11
719
+ * [#1511](https://github.com/stripe/stripe-node/pull/1511) API Updates for beta branch
720
+ - Updated stable APIs to the latest version
721
+ - Add refund_payment method to Terminal resource
722
+
490
723
  ## 10.2.0 - 2022-08-11
491
724
  * [#1510](https://github.com/stripe/stripe-node/pull/1510) API Updates
492
725
  * Add support for `payment_method_collection` on `Checkout.Session`, `CheckoutSessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
493
726
 
494
-
495
727
  ## 10.1.0 - 2022-08-09
496
728
  * [#1506](https://github.com/stripe/stripe-node/pull/1506) API Updates
497
729
  * Add support for `process_config` on `Terminal.Reader.action.process_payment_intent`
@@ -501,50 +733,22 @@ This release includes breaking changes resulting from moving to use the new API
501
733
  * [#1503](https://github.com/stripe/stripe-node/pull/1503) API Updates
502
734
  * Add support for `expires_at` on `Apps.Secret` and `AppsSecretCreateParams`
503
735
 
736
+ ## 10.1.0-beta.1 - 2022-08-03
737
+ * [#1498](https://github.com/stripe/stripe-node/pull/1498) API Updates for beta branch
738
+ - Updated stable APIs to the latest version
739
+ - Added the `Order` resource support
740
+
504
741
  ## 10.0.0 - 2022-08-02
505
742
 
506
- This release includes breaking changes resulting from:
743
+ Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
507
744
 
508
- * 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
509
- * 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.
745
+ 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.
510
746
 
511
747
  "⚠️" symbol highlights breaking changes.
512
748
 
513
749
  * [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates
514
750
  * [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes
515
751
 
516
- ### Added
517
- * 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`
518
- * Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
519
-
520
- ### ⚠️ Changed
521
- * Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable.
522
- * Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`.
523
- * 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`.
524
- * Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable.
525
- * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
526
-
527
- ### ⚠️ Removed
528
- * Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions.
529
- * Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.
530
- * Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`.
531
- * Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions.
532
- * Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead.
533
- * Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.
534
- * Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
535
- * Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.
536
- * Remove `IssuerFraudRecords` resource.
537
- * Remove `Recipient` resource and`recipient` property from `Card` resource.
538
- * Remove `InvoiceMarkUncollectibleParams` definition.
539
- * Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions.
540
- * Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.
541
- * Remove `LineItemListParams` definition. The interface was no longer in use.
542
-
543
- ### ⚠️ Renamed
544
- * Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`.
545
- * Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`.
546
- * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
547
-
548
752
  ## 9.16.0 - 2022-07-26
549
753
  * [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates
550
754
  * 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`
@@ -561,6 +765,20 @@ This release includes breaking changes resulting from:
561
765
  * Add support for `mandate` on `InvoicePayParams`
562
766
  * Add support for `product_data` on `OrderCreateParams.line_items[]` and `OrderUpdateParams.line_items[]`
563
767
 
768
+ ## 9.15.0-beta.1 - 2022-07-22
769
+ * [#1485](https://github.com/stripe/stripe-node/pull/1485) API Updates for beta branch
770
+ - Updated stable APIs to the latest version
771
+ * [#1483](https://github.com/stripe/stripe-node/pull/1483) API Updates for beta branch
772
+ - Updated stable APIs to the latest version
773
+ - Add `QuotePhase` resource
774
+ * [#1479](https://github.com/stripe/stripe-node/pull/1479) API Updates for beta branch
775
+ - Updated stable APIs to the latest version
776
+ - Add `Price.migrate_to` property
777
+ - Add `SubscriptionSchedule.amend` method.
778
+ - Add `Discount.subscription_item` property.
779
+ - Add `Quote.subscription_data.billing_behavior`, `billing_cycle_anchor`, `end_behavior`, `from_schedule`, `from_subscription`, `prebilling`, `proration_behavior` properties.
780
+ - Add `phases` parameter to `Quote.create`
781
+ - Add `Subscription.discounts`, `prebilling` properties.
564
782
 
565
783
  ## 9.14.0 - 2022-07-18
566
784
  * [#1477](https://github.com/stripe/stripe-node/pull/1477) API Updates
@@ -583,6 +801,18 @@ This release includes breaking changes resulting from:
583
801
  * Change `Transfer.source_type` to be optional and not nullable
584
802
  * [#1471](https://github.com/stripe/stripe-node/pull/1471) Update readme to include a note on beta packages
585
803
 
804
+ ## 9.13.0-beta.1 - 2022-07-07
805
+ * [#1469](https://github.com/stripe/stripe-node/pull/1469) API Updates for beta branch
806
+ - Include `server_side_confirmation_beta=v1` beta
807
+ - Add `secretKeyConfirmation` to `PaymentIntent`
808
+ * [#1451](https://github.com/stripe/stripe-node/pull/1451) API Updates
809
+ - Updated stable APIs to the latest version
810
+ * [#1457](https://github.com/stripe/stripe-node/pull/1457) Use the generated API version
811
+ * [#1445](https://github.com/stripe/stripe-node/pull/1445) Support updating pre-release versions
812
+ * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
813
+ * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
814
+ * [#1444](https://github.com/stripe/stripe-node/pull/1444) Merge master branch into beta branch
815
+
586
816
  ## 9.12.0 - 2022-07-07
587
817
  * [#1468](https://github.com/stripe/stripe-node/pull/1468) API Updates
588
818
  * Add support for `currency` on `CheckoutSessionCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkCreateParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `Subscription`
@@ -645,6 +875,10 @@ This release includes breaking changes resulting from:
645
875
  * 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`
646
876
  * Add support for `custom_unit_amount` on `PriceCreateParams` and `Price`
647
877
 
878
+ ## 9.8.0-beta.1 - 2022-06-08
879
+ * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
880
+ * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
881
+
648
882
  ## 9.7.0 - 2022-06-08
649
883
  * [#1441](https://github.com/stripe/stripe-node/pull/1441) API Updates
650
884
  * Add support for `affirm`, `bancontact`, `card`, `ideal`, `p24`, and `sofort` on `Checkout.Session.payment_method_options` and `CheckoutSessionCreateParams.payment_method_options`
@@ -665,7 +899,6 @@ This release includes breaking changes resulting from:
665
899
  * Add support for `network` on `SetupIntent.payment_method_options.card`
666
900
  * Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `TerminalReaderListParams.device_type`
667
901
 
668
-
669
902
  ## 9.5.0 - 2022-05-26
670
903
  * [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
671
904
  * Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -736,7 +969,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
736
969
  * Add support for `default_price` on `ProductUpdateParams` and `Product`
737
970
  * Add support for `instructions_email` on `RefundCreateParams` and `Refund`
738
971
 
739
-
740
972
  ## 8.221.0 - 2022-05-05
741
973
  * [#1413](https://github.com/stripe/stripe-node/pull/1413) API Updates
742
974
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
@@ -1013,7 +1245,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1013
1245
  * [#1297](https://github.com/stripe/stripe-node/pull/1297) API Updates
1014
1246
  * Add support for `automatic_payment_methods` on `PaymentIntentCreateParams` and `PaymentIntent`
1015
1247
 
1016
-
1017
1248
  ## 8.189.0 - 2021-11-16
1018
1249
  * [#1295](https://github.com/stripe/stripe-node/pull/1295) API Updates
1019
1250
  * Add support for new resource `ShippingRate`
@@ -1036,7 +1267,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1036
1267
  * Remove support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account`. This API was unused.
1037
1268
  * Add support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account.company`
1038
1269
 
1039
-
1040
1270
  ## 8.186.0 - 2021-11-01
1041
1271
  * [#1283](https://github.com/stripe/stripe-node/pull/1283) API Updates
1042
1272
  * Add support for `ownership_declaration` on `AccountUpdateParams.company`, `AccountCreateParams.company`, `Account.company`, and `TokenCreateParams.account.company`
@@ -1180,7 +1410,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1180
1410
  * Add support for `wallet` on `Issuing.Transaction`
1181
1411
  * Add support for `ideal` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
1182
1412
 
1183
-
1184
1413
  ## 8.163.0 - 2021-07-15
1185
1414
  * [#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
1186
1415
 
@@ -2713,7 +2942,7 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
2713
2942
 
2714
2943
  - [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
2715
2944
 
2716
- ### 2.2.1 - 2013-12-01
2945
+ ## 2.2.1 - 2013-12-01
2717
2946
 
2718
2947
  - [BUGFIX] Fix user-agent header issue (see issue #75)
2719
2948
 
@@ -2776,3 +3005,4 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
2776
3005
  ## 0.0.2 - 2011-09-28
2777
3006
 
2778
3007
  - Initial release with customers and tokens APIs
3008
+