stripe 12.4.0-beta.1 → 12.4.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 (131) hide show
  1. package/CHANGELOG.md +110 -284
  2. package/VERSION +1 -1
  3. package/cjs/Webhooks.js +10 -10
  4. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  5. package/cjs/resources/Quotes.js +0 -32
  6. package/cjs/resources/SubscriptionSchedules.js +0 -4
  7. package/cjs/resources/Terminal/Readers.js +0 -12
  8. package/cjs/resources.js +11 -45
  9. package/cjs/stripe.core.js +1 -1
  10. package/esm/Webhooks.js +10 -10
  11. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  12. package/esm/resources/Quotes.js +0 -32
  13. package/esm/resources/SubscriptionSchedules.js +0 -4
  14. package/esm/resources/Terminal/Readers.js +0 -12
  15. package/esm/resources.js +1 -32
  16. package/esm/stripe.core.js +1 -1
  17. package/package.json +1 -1
  18. package/types/Accounts.d.ts +0 -46
  19. package/types/AccountsResource.d.ts +0 -95
  20. package/types/Charges.d.ts +0 -44
  21. package/types/Checkout/Sessions.d.ts +17 -24
  22. package/types/Checkout/SessionsResource.d.ts +20 -23
  23. package/types/Coupons.d.ts +1 -1
  24. package/types/CouponsResource.d.ts +1 -1
  25. package/types/CustomersResource.d.ts +1 -3
  26. package/types/Discounts.d.ts +0 -10
  27. package/types/FinancialConnections/Accounts.d.ts +0 -54
  28. package/types/FinancialConnections/AccountsResource.d.ts +1 -25
  29. package/types/FinancialConnections/Sessions.d.ts +0 -50
  30. package/types/FinancialConnections/SessionsResource.d.ts +0 -39
  31. package/types/InvoiceItemsResource.d.ts +0 -88
  32. package/types/Invoices.d.ts +3 -42
  33. package/types/InvoicesResource.d.ts +0 -434
  34. package/types/Issuing/Authorizations.d.ts +0 -25
  35. package/types/Issuing/CardholdersResource.d.ts +2 -4
  36. package/types/Issuing/Cards.d.ts +0 -5
  37. package/types/Issuing/CardsResource.d.ts +0 -5
  38. package/types/Issuing/Transactions.d.ts +0 -17
  39. package/types/LineItems.d.ts +0 -7
  40. package/types/Mandates.d.ts +0 -9
  41. package/types/PaymentIntents.d.ts +0 -76
  42. package/types/PaymentIntentsResource.d.ts +3 -391
  43. package/types/PaymentLinks.d.ts +0 -1
  44. package/types/PaymentLinksResource.d.ts +0 -2
  45. package/types/PaymentMethods.d.ts +1 -16
  46. package/types/PaymentMethodsResource.d.ts +2 -27
  47. package/types/Prices.d.ts +0 -22
  48. package/types/PricesResource.d.ts +0 -22
  49. package/types/Products.d.ts +0 -39
  50. package/types/ProductsResource.d.ts +0 -36
  51. package/types/Quotes.d.ts +1 -520
  52. package/types/QuotesResource.d.ts +200 -2933
  53. package/types/SetupAttempts.d.ts +82 -5
  54. package/types/SetupIntents.d.ts +0 -38
  55. package/types/SetupIntentsResource.d.ts +3 -165
  56. package/types/Sources.d.ts +0 -23
  57. package/types/SubscriptionItems.d.ts +0 -23
  58. package/types/SubscriptionItemsResource.d.ts +0 -147
  59. package/types/SubscriptionSchedules.d.ts +0 -221
  60. package/types/SubscriptionSchedulesResource.d.ts +1 -1232
  61. package/types/Subscriptions.d.ts +1 -58
  62. package/types/SubscriptionsResource.d.ts +0 -453
  63. package/types/Tax/Transactions.d.ts +2 -2
  64. package/types/Terminal/Readers.d.ts +0 -177
  65. package/types/Terminal/ReadersResource.d.ts +0 -171
  66. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  67. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  68. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  69. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  70. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  71. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  72. package/types/WebhookEndpointsResource.d.ts +0 -42
  73. package/types/Webhooks.d.ts +12 -2
  74. package/types/index.d.ts +0 -47
  75. package/cjs/resources/AccountSessions.js +0 -12
  76. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  77. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  78. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  79. package/cjs/resources/FinancialConnections/Transactions.js +0 -13
  80. package/cjs/resources/GiftCards/Cards.js +0 -29
  81. package/cjs/resources/GiftCards/Transactions.js +0 -33
  82. package/cjs/resources/Issuing/CardBundles.js +0 -17
  83. package/cjs/resources/Issuing/CardDesigns.js +0 -21
  84. package/cjs/resources/Orders.js +0 -42
  85. package/cjs/resources/QuotePhases.js +0 -22
  86. package/cjs/resources/Tax/Registrations.js +0 -21
  87. package/cjs/resources/Tax/Settings.js +0 -16
  88. package/cjs/resources/TestHelpers/Issuing/CardDesigns.js +0 -16
  89. package/esm/resources/AccountSessions.js +0 -9
  90. package/esm/resources/Capital/FinancingOffers.js +0 -18
  91. package/esm/resources/Capital/FinancingSummary.js +0 -9
  92. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  93. package/esm/resources/FinancialConnections/Transactions.js +0 -10
  94. package/esm/resources/GiftCards/Cards.js +0 -26
  95. package/esm/resources/GiftCards/Transactions.js +0 -30
  96. package/esm/resources/Issuing/CardBundles.js +0 -14
  97. package/esm/resources/Issuing/CardDesigns.js +0 -18
  98. package/esm/resources/Orders.js +0 -39
  99. package/esm/resources/QuotePhases.js +0 -19
  100. package/esm/resources/Tax/Registrations.js +0 -18
  101. package/esm/resources/Tax/Settings.js +0 -13
  102. package/esm/resources/TestHelpers/Issuing/CardDesigns.js +0 -13
  103. package/types/AccountSessions.d.ts +0 -45
  104. package/types/AccountSessionsResource.d.ts +0 -27
  105. package/types/Capital/FinancingOffers.d.ts +0 -183
  106. package/types/Capital/FinancingOffersResource.d.ts +0 -95
  107. package/types/Capital/FinancingSummary.d.ts +0 -106
  108. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  109. package/types/Capital/FinancingTransactions.d.ts +0 -135
  110. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  111. package/types/FinancialConnections/InferredBalances.d.ts +0 -38
  112. package/types/FinancialConnections/Transactions.d.ts +0 -85
  113. package/types/FinancialConnections/TransactionsResource.d.ts +0 -48
  114. package/types/GiftCards/Cards.d.ts +0 -118
  115. package/types/GiftCards/CardsResource.d.ts +0 -159
  116. package/types/GiftCards/Transactions.d.ts +0 -129
  117. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  118. package/types/Issuing/CardBundles.d.ts +0 -48
  119. package/types/Issuing/CardBundlesResource.d.ts +0 -63
  120. package/types/Issuing/CardDesigns.d.ts +0 -58
  121. package/types/Issuing/CardDesignsResource.d.ts +0 -113
  122. package/types/Orders.d.ts +0 -963
  123. package/types/OrdersResource.d.ts +0 -2609
  124. package/types/QuoteLines.d.ts +0 -548
  125. package/types/QuotePhases.d.ts +0 -164
  126. package/types/QuotePhasesResource.d.ts +0 -67
  127. package/types/Tax/Registrations.d.ts +0 -912
  128. package/types/Tax/RegistrationsResource.d.ts +0 -1158
  129. package/types/Tax/Settings.d.ts +0 -58
  130. package/types/Tax/SettingsResource.d.ts +0 -82
  131. package/types/TestHelpers/Issuing/CardDesignsResource.d.ts +0 -55
package/CHANGELOG.md CHANGED
@@ -1,13 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## 12.4.0-beta.1 - 2023-04-27
4
- * [#1769](https://github.com/stripe/stripe-node/pull/1769) Update generated code for beta
5
- * Add support for `billing_cycle_anchor` and `proration_behavior` on `CheckoutSessionCreateParams.subscription_data`
6
- * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
7
- * Add support for `metadata` on `PaymentIntentCaptureParams`
8
- * Add support for `checks` on `SetupAttempt.payment_method_details.card`
9
- * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
10
- * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
3
+ ## 12.4.0 - 2023-05-04
4
+ * [#1774](https://github.com/stripe/stripe-node/pull/1774) Update generated code
5
+ * Add support for `link` on `Checkout.Session.payment_method_options` and `CheckoutSessionCreateParams.payment_method_options`
6
+ * Add support for `brand`, `country`, `description`, `exp_month`, `exp_year`, `fingerprint`, `funding`, `iin`, `issuer`, `last4`, `network`, and `wallet` on `SetupAttempt.payment_method_details.card`
7
+ * [#1782](https://github.com/stripe/stripe-node/pull/1782) Let user supply a timestamp when verifying webhooks
11
8
 
12
9
  ## 12.3.0 - 2023-04-27
13
10
  * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
@@ -17,31 +14,15 @@
17
14
  * Add support for `checks` on `SetupAttempt.payment_method_details.card`
18
15
  * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
19
16
 
20
- ## 12.3.0-beta.1 - 2023-04-20
21
- * [#1760](https://github.com/stripe/stripe-node/pull/1760) Update generated code for beta
22
- * Add support for `zip` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
23
- * Add support for `country_options` on `Tax.Registration` and `TaxRegistrationCreateParams`
24
- * Remove support for `state` and `type` on `Tax.Registration` and `TaxRegistrationCreateParams`
25
-
26
17
  ## 12.2.0 - 2023-04-20
27
18
  * [#1759](https://github.com/stripe/stripe-node/pull/1759) Update generated code
28
- * Change `Checkout.Session.currency_conversion` to be required
29
- * Change `Identity.VerificationReport.options` and `Identity.VerificationReport.type` to be optional
30
- * Change type of `Identity.VerificationSession.options` from `VerificationSessionOptions` to `VerificationSessionOptions | null`
31
- * Change type of `Identity.VerificationSession.type` from `enum('document'|'id_number')` to `enum('document'|'id_number') | null`
19
+ * Change `Checkout.Session.currency_conversion` to be required
20
+ * Change `Identity.VerificationReport.options` and `Identity.VerificationReport.type` to be optional
21
+ * Change type of `Identity.VerificationSession.options` from `VerificationSessionOptions` to `VerificationSessionOptions | null`
22
+ * Change type of `Identity.VerificationSession.type` from `enum('document'|'id_number')` to `enum('document'|'id_number') | null`
32
23
  * [#1762](https://github.com/stripe/stripe-node/pull/1762) Add Deno webhook signing example
33
24
  * [#1761](https://github.com/stripe/stripe-node/pull/1761) Add Deno usage instructions in README
34
25
 
35
- ## 12.2.0-beta.1 - 2023-04-13
36
- * [#1751](https://github.com/stripe/stripe-node/pull/1751) Update generated code for beta
37
- * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
38
- * Add support for `paypal_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
39
- * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
40
- * Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal.Reader.action`
41
- * Add support for `stripe_account` on `Terminal.Reader.action.process_payment_intent` and `Terminal.Reader.action.refund_payment`
42
- * Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `Terminal.Reader.action.type`
43
- * Add support for new value `terminal.reader.action_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
44
-
45
26
  ## 12.1.1 - 2023-04-13
46
27
  No product changes.
47
28
 
@@ -50,16 +31,6 @@ No product changes.
50
31
  * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
51
32
  * [#1749](https://github.com/stripe/stripe-node/pull/1749) Type extend and ResourceNamespace better
52
33
 
53
- ## 12.1.0-beta.1 - 2023-04-06
54
- * [#1737](https://github.com/stripe/stripe-node/pull/1737) Update generated code for beta
55
- * Add support for `treasury_transaction` on `CapitalFinancingTransactionListParams`
56
- * Add support for `transaction` on `Capital.FinancingTransaction.details`
57
- * Add support for new value `link` on enums `Charge.payment_method_details.card.wallet.type` and `PaymentMethod.card.wallet.type`
58
- * Change `IssuingCardholderCreateParams.type` to be optional
59
- * Add support for `country` on `PaymentMethod.link`
60
- * Add support for `status_details` on `PaymentMethod.us_bank_account`
61
- * [#1750](https://github.com/stripe/stripe-node/pull/1750) Merge master into beta
62
-
63
34
  ## 12.0.0 - 2023-04-06
64
35
  * [#1743](https://github.com/stripe/stripe-node/pull/1743) Remove `Stripe.default` and `Stripe.Stripe`
65
36
  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.
@@ -102,11 +73,6 @@ This was added to maintain backwards compatibility during the transition of stri
102
73
  * Add support for `status_details` on `PaymentMethod.us_bank_account`
103
74
  * [#1747](https://github.com/stripe/stripe-node/pull/1747) (Typescript) remove deprecated properties
104
75
 
105
- ## 11.18.0-beta.1 - 2023-03-30
106
- * [#1735](https://github.com/stripe/stripe-node/pull/1735) Update generated code
107
- * Add support for new value `ioss` on enums `Tax.Registration.type` and `TaxRegistrationCreateParams.type`
108
- * Change `TerminalReaderCollectInputsParams.inputs[].custom_text.description` to be optional
109
-
110
76
  ## 11.17.0 - 2023-03-30
111
77
  * [#1734](https://github.com/stripe/stripe-node/pull/1734) Update generated code
112
78
  * Remove support for `create` method on resource `Tax.Transaction`
@@ -116,21 +82,6 @@ This was added to maintain backwards compatibility during the transition of stri
116
82
  * This is not a breaking change, as `deleted` was never returned or accepted as input.
117
83
  * Add support for `amount_tip` on `TerminalReaderPresentPaymentMethodParams.testHelpers`
118
84
 
119
- ## 11.17.0-beta.1 - 2023-03-23
120
- * [#1724](https://github.com/stripe/stripe-node/pull/1724) Update generated code for beta (new)
121
- * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
122
- * Add support for `collect_inputs` method on resource `Terminal.Reader`
123
- * Add support for `financing_offer` on `Capital.FinancingSummary`
124
- * Add support for new value `link` on enum `CheckoutSessionCreateParams.payment_method_types[]`
125
- * Add support for `fx_rate` on `Checkout.Session.currency_conversion`
126
- * Add support for new value `link` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
127
- * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
128
- * Remove support for `preview` on `TaxCalculationCreateParams`
129
- * Change type of `Tax.Calculation.line_items[]` from `LineItem` to `Tax.CalculationLineItem`
130
- * Change type of `Tax.Transaction.line_items[]` from `LineItem` to `Tax.TransactionLineItem`
131
- * Add support for `collect_inputs` on `Terminal.Reader.action`
132
- * Add support for new value `collect_inputs` on enum `Terminal.Reader.action.type`
133
-
134
85
  ## 11.16.0 - 2023-03-23
135
86
  * [#1730](https://github.com/stripe/stripe-node/pull/1730) Update generated code
136
87
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
@@ -142,19 +93,6 @@ This was added to maintain backwards compatibility during the transition of stri
142
93
  * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
143
94
  * [#1726](https://github.com/stripe/stripe-node/pull/1726) Add Deno entry point
144
95
 
145
- ## 11.16.0-beta.1 - 2023-03-17
146
- * [#1713](https://github.com/stripe/stripe-node/pull/1713) API Updates
147
- * Add support for `create_from_calculation` method on resource `Tax.Transaction`
148
- * Change type of `Invoice.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
149
- * 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`
150
- * 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`
151
- * 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`
152
- * 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
153
- * Remove support for `applies_to` on `QuotePreviewInvoiceLinesParams`
154
- * Add support for `shipping_cost` on `Tax.Calculation`, `Tax.Transaction`, `TaxCalculationCreateParams`, and `TaxTransactionCreateReversalParams`
155
- * Add support for `tax_breakdown` on `Tax.Calculation`
156
- * Remove support for `tax_summary` on `Tax.Calculation`
157
-
158
96
  ## 11.15.0 - 2023-03-16
159
97
  * [#1714](https://github.com/stripe/stripe-node/pull/1714) API Updates
160
98
  * Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -183,16 +121,6 @@ This was added to maintain backwards compatibility during the transition of stri
183
121
  * Add support for new value `cashapp` on enum `PaymentMethod.type`
184
122
  * Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
185
123
 
186
- ## 11.15.0-beta.1 - 2023-03-09
187
- * [#1705](https://github.com/stripe/stripe-node/pull/1705) API Updates for beta branch
188
- * Updated stable APIs to the latest version
189
- * Remove support for `list_transactions` method on resource `Tax.Transaction`
190
- * Add support for `amendment_start` and `timestamp` on `SubscriptionScheduleAmendParams.prebilling[].bill_from`
191
- * Change type of `SubscriptionScheduleAmendParams.prebilling[].bill_from.type` from `literal('now')` to `enum('amendment_start'|'now'|'timestamp')`
192
- * Change type of `SubscriptionSchedule.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
193
- * Add support for new value `lease_tax` on enum `Tax.Calculation.tax_summary[].tax_rate_details.tax_type`
194
- * Add support for `tax_behavior` on `Tax.Settings.defaults` and `TaxSettingUpdateParams.defaults`
195
-
196
124
  ## 11.14.0 - 2023-03-09
197
125
  * [#1703](https://github.com/stripe/stripe-node/pull/1703) API Updates
198
126
  * Add support for `card_issuing` on `IssuingCardholderCreateParams.individual` and `IssuingCardholderUpdateParams.individual`
@@ -203,25 +131,6 @@ This was added to maintain backwards compatibility during the transition of stri
203
131
  * [#1695](https://github.com/stripe/stripe-node/pull/1695) Migrate generated files to ES module syntax
204
132
  * [#1699](https://github.com/stripe/stripe-node/pull/1699) Remove extra test directory
205
133
 
206
- ## 11.14.0-beta.2 - 2023-03-03
207
- * [#1698](https://github.com/stripe/stripe-node/pull/1698) API Updates for beta branch
208
- * Updated stable APIs to the latest version
209
- * Add support for `update_behavior` on `Subscription.prebilling`, `SubscriptionCreateParams.prebilling`, `SubscriptionSchedule.prebilling`, `SubscriptionScheduleCreateParams.prebilling`, `SubscriptionScheduleUpdateParams.prebilling`, and `SubscriptionUpdateParams.prebilling`
210
- * Add support for `prebilling` on `SubscriptionScheduleAmendParams`
211
- * Add support for `taxability_override` on `Tax.Calculation.customer_details`, `Tax.Transaction.customer_details`, and `TaxCalculationCreateParams.customer_details`
212
- * Add support for `tax_summary` on `Tax.Calculation`
213
- * Remove support for `tax_breakdown` on `Tax.Calculation`
214
-
215
- ## 11.14.0-beta.1 - 2023-03-02
216
- * [#1697](https://github.com/stripe/stripe-node/pull/1697) API Updates for beta branch
217
- * Updated stable APIs to the latest version
218
- * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
219
- * Add support for `list` and `retrieve` methods on resource `CardBundle`
220
- * Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
221
- * Remove support for `controller` on `AccountUpdateParams`
222
- * Add support for `card_design` on `Issuing.Card` and `IssuingCardCreateParams`
223
- * 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[]`
224
-
225
134
  ## 11.13.0 - 2023-03-02
226
135
  * [#1696](https://github.com/stripe/stripe-node/pull/1696) API Updates
227
136
  * 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.
@@ -230,14 +139,6 @@ This was added to maintain backwards compatibility during the transition of stri
230
139
 
231
140
  * [#1689](https://github.com/stripe/stripe-node/pull/1689) Update v11.8.0 changelog with breaking change disclaimer
232
141
 
233
- ## 11.13.0-beta.1 - 2023-02-23
234
- * [#1690](https://github.com/stripe/stripe-node/pull/1690) API Updates for beta branch
235
- * Updated stable APIs to the latest version
236
- * 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`
237
- * Add support for new value `igst` on enum `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`
238
- * Change `TaxTransactionCreateParams.reference` to be required
239
- * 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[]`
240
-
241
142
  ## 11.12.0 - 2023-02-23
242
143
  * [#1688](https://github.com/stripe/stripe-node/pull/1688) API Updates
243
144
  * 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`
@@ -245,15 +146,6 @@ This was added to maintain backwards compatibility during the transition of stri
245
146
  * Add support for new value `igst` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
246
147
  * [#1687](https://github.com/stripe/stripe-node/pull/1687) Convert TypeScript files to use ES modules
247
148
 
248
- ## 11.12.0-beta.1 - 2023-02-16
249
- * [#1686](https://github.com/stripe/stripe-node/pull/1686) API Updates for beta branch
250
- * Updated stable APIs to the latest version
251
- * Change type of `Quote.status_details.canceled` from `QuotesResourceStatusDetailsCanceledStatusDetails | null` to `QuotesResourceStatusDetailsCanceledStatusDetails`
252
- * Change type of `Quote.status_details.stale` from `QuotesResourceStatusDetailsStaleStatusDetails | null` to `QuotesResourceStatusDetailsStaleStatusDetails`
253
- * Change `Quote.status_details.canceled` and `Quote.status_details.stale` to be optional
254
- * Remove support for `reference` on `Tax.Calculation` and `TaxCalculationCreateParams`
255
- * Add support for `reference` on `TaxTransactionCreateParams`
256
-
257
149
  ## 11.11.0 - 2023-02-16
258
150
  * [#1681](https://github.com/stripe/stripe-node/pull/1681) API Updates
259
151
  * Add support for `refund_payment` method on resource `Terminal.Reader`
@@ -268,32 +160,9 @@ This was added to maintain backwards compatibility during the transition of stri
268
160
  * [#1685](https://github.com/stripe/stripe-node/pull/1685) Add more webhook parsing checks
269
161
  * [#1684](https://github.com/stripe/stripe-node/pull/1684) Add infrastructure for mocked tests
270
162
 
271
- ## 11.11.0-beta.1 - 2023-02-13
272
- * [#1676](https://github.com/stripe/stripe-node/pull/1676) API Updates for beta branch
273
- * Updated stable APIs to the latest version
274
- * Add support for `currency_conversion` on `Checkout.Session`
275
- * Add support for `limits` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
276
- * Remove support for `enabled` on `FinancialConnectionsSessionCreateParams.manual_entry`
277
-
278
163
  ## 11.10.0 - 2023-02-09
279
164
  * [#1679](https://github.com/stripe/stripe-node/pull/1679) Enable library to work in worker environments without extra configuration.
280
165
 
281
- ## 11.10.0-beta.1 - 2023-02-02
282
- * [#1671](https://github.com/stripe/stripe-node/pull/1671) API Updates for beta branch
283
- * Updated stable APIs to the latest version
284
- * Add support for new resource `FinancialConnections.Transaction`
285
- * Add support for `list` method on resource `Transaction`
286
- * Add support for `prefetch` on `.payment_method_options.us_bank_account.financial_connections` across several APIs
287
- * 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
288
- * Add support for new values `inferred_balances` and `transactions` on enum `FinancialConnectionsAccountRefreshParams.features[]`
289
- * Add support for `inferred_balances_refresh`, `subscriptions`, and `transaction_refresh` on `FinancialConnections.Account`
290
- * Add support for `manual_entry` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
291
- * Add support for `status_details` and `status` on `FinancialConnections.Session`
292
- * 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[]`
293
- * Add support for `account_number` on `PaymentMethod.us_bank_account`
294
- * Remove support for `id` on `QuoteCreateParams.lines[].starts_at.line_ends_at`
295
- * 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[]`
296
-
297
166
  ## 11.9.1 - 2023-02-03
298
167
  * [#1672](https://github.com/stripe/stripe-node/pull/1672) Update main entrypoint on package.json
299
168
 
@@ -319,23 +188,12 @@ This was added to maintain backwards compatibility during the transition of stri
319
188
  * [#1668](https://github.com/stripe/stripe-node/pull/1668) Use EventTarget in worker / browser runtimes
320
189
  * [#1667](https://github.com/stripe/stripe-node/pull/1667) fix: added support for TypeScript "NodeNext" module resolution
321
190
 
322
- ## 11.9.0-beta.1 - 2023-01-26
323
- * [#1666](https://github.com/stripe/stripe-node/pull/1666) API Updates for beta branch
324
- * Updated stable APIs to the latest version
325
- * Add support for `billing_agreement_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`
326
- * Add support for `list_transactions` method on resource `Tax.Transaction`
327
- * Change type of `QuoteUpdateParams.subscription_data_overrides` from `array(create_specs)` to `emptyStringable(array(update_specs))`
328
-
329
191
  ## 11.8.0 - 2023-01-26
330
192
  * [#1665](https://github.com/stripe/stripe-node/pull/1665) API Updates
331
193
  * 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`
332
194
  * 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`
333
195
  * [#1660](https://github.com/stripe/stripe-node/pull/1660) Introduce separate entry point for worker environments
334
-
335
- ## 11.8.0-beta.1 - 2023-01-19
336
- * [#1662](https://github.com/stripe/stripe-node/pull/1662) API Updates for beta branch
337
- * Updated stable APIs to the latest version
338
- * Add support for `Tax.Settings` resource.
196
+ * 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.
339
197
 
340
198
  ## 11.7.0 - 2023-01-19
341
199
  * [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
@@ -343,39 +201,10 @@ This was added to maintain backwards compatibility during the transition of stri
343
201
  * Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
344
202
  * [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3
345
203
 
346
- ## 11.7.0-beta.2 - 2023-01-12
347
- * [#1653](https://github.com/stripe/stripe-node/pull/1653) API Updates for beta branch
348
- * Updated stable APIs to the latest version
349
- * Add support for new resource `Tax.Registration`
350
- * Add support for `create`, `list`, and `update` methods on resource `Registration`
351
- * Add support for `controller` on `AccountCreateParams` and `AccountUpdateParams`
352
- * Add support for `application` and `dashboard` on `Account.controller`
353
- * Change type of `Quote.subscription_data_overrides[].proration_behavior` from `enum('always_invoice'|'create_prorations'|'none')` to `enum('always_invoice'|'create_prorations'|'none') | null`
354
- * Remove support for `timestamp` on `QuoteLine.actions[].add_discount.discount_end`
355
- * Change type of `QuoteLine.actions[].add_discount.discount_end.type` from `literal('timestamp')` to `literal('line_ends_at')`
356
- * 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[]`
357
- * Change `QuoteLine.actions[].add_discount.index` to be required
358
- * Add support for new values `quote.accepting`, `quote.reestimated`, and `quote.stale` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
359
-
360
- * Change `quote.draft_quote` implementation from hitting `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
361
-
362
- ## 11.7.0-beta.1 - 2023-01-05
363
- * [#1648](https://github.com/stripe/stripe-node/pull/1648) API Updates for beta branch
364
- * Updated stable APIs to the latest version
365
- * Add support for `mark_stale_quote` method on resource `Quote`
366
- * 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`
367
- * 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`
368
- * Add support for `metadata` on `Terminal.Reader.action.refund_payment` and `TerminalReaderRefundPaymentParams`
369
-
370
204
  ## 11.6.0 - 2023-01-05
371
205
  * [#1646](https://github.com/stripe/stripe-node/pull/1646) API Updates
372
206
  * Add support for `card_issuing` on `Issuing.Cardholder.individual`
373
207
 
374
- ## 11.6.0-beta.1 - 2022-12-22
375
- * [#1643](https://github.com/stripe/stripe-node/pull/1643) API Updates for beta branch
376
- * Updated stable APIs to the latest version
377
- * Move `stripe.taxCalculations` to `stripe.tax.calculations` and `stripe.taxTransactions` to `stripe.tax.transactions`.
378
-
379
208
  ## 11.5.0 - 2022-12-22
380
209
  * [#1642](https://github.com/stripe/stripe-node/pull/1642) API Updates
381
210
  * 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`
@@ -383,13 +212,6 @@ This was added to maintain backwards compatibility during the transition of stri
383
212
  * Change `CheckoutSessionCreateParams.cancel_url` to be optional
384
213
  * Change type of `Checkout.Session.cancel_url` from `string` to `string | null`
385
214
 
386
- ## 11.5.0-beta.1 - 2022-12-15
387
- * [#1640](https://github.com/stripe/stripe-node/pull/1640) API Updates for beta branch
388
- * Updated stable APIs to the latest version
389
- * Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction`
390
- * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
391
- * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
392
-
393
215
  ## 11.4.0 - 2022-12-15
394
216
  * [#1639](https://github.com/stripe/stripe-node/pull/1639) API Updates
395
217
  * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
@@ -399,12 +221,6 @@ This was added to maintain backwards compatibility during the transition of stri
399
221
  * [#1634](https://github.com/stripe/stripe-node/pull/1634) API Updates
400
222
  * Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` to be optional
401
223
 
402
- ## 11.3.0-beta.1 - 2022-12-08
403
- * [#1635](https://github.com/stripe/stripe-node/pull/1635) API Updates for beta branch
404
- * Updated stable APIs to the latest version
405
- * [#1633](https://github.com/stripe/stripe-node/pull/1633) API Updates for beta branch
406
- * Updated stable APIs to the latest version
407
-
408
224
  ## 11.2.0 - 2022-12-06
409
225
  * [#1632](https://github.com/stripe/stripe-node/pull/1632) API Updates
410
226
  * Add support for `flow_data` on `BillingPortalSessionCreateParams`
@@ -428,6 +244,7 @@ This was added to maintain backwards compatibility during the transition of stri
428
244
  * Add support for `custom_text` on `Checkout.Session`, `CheckoutSessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
429
245
  * Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code`
430
246
 
247
+
431
248
  ## 11.0.0 - 2022-11-16
432
249
 
433
250
  This release includes breaking changes resulting from moving to use the new API version "2022-11-15". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-11-15
@@ -440,11 +257,62 @@ This release includes breaking changes resulting from moving to use the new API
440
257
  * [#1615](https://github.com/stripe/stripe-node/pull/1615) API Updates
441
258
  * ⚠️ Remove support for `tos_shown_and_accepted` on `CheckoutSessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked.
442
259
 
443
- ## 10.18.0-beta.1 - 2022-11-10
444
- * [#1616](https://github.com/stripe/stripe-node/pull/1616) API Updates for beta branch
445
- * Updated stable APIs to the latest version
446
- * Add `discount_end` to `Discount`.
447
- * Add `url` to `MerchantData`.
260
+ ### ⚠️ Changed
261
+ * Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
262
+ * 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)
263
+
264
+ ### ⚠️ Removed
265
+ * Remove `Orders` resource. (#1580)
266
+ * Remove `SKU` resource (#1583)
267
+ * Remove deprecated `CheckoutSessionCreateParams.subscription_data.items`. (#1580)
268
+ * Remove deprecated configuration setter methods (`setHost`, `setProtocol`, `setPort`, `setApiVersion`, `setApiKey`, `setTimeout`, `setAppInfo`, `setHttpAgent`, `setMaxNetworkRetries`, and `setTelemetryEnabled`). (#1597)
269
+
270
+ Use the config object to set these options instead, for example:
271
+ ```typescript
272
+ const stripe = Stripe('sk_test_...', {
273
+ apiVersion: '2019-08-08',
274
+ maxNetworkRetries: 1,
275
+ httpAgent: new ProxyAgent(process.env.http_proxy),
276
+ timeout: 1000,
277
+ host: 'api.example.com',
278
+ port: 123,
279
+ telemetry: true,
280
+ });
281
+ ```
282
+ * Remove deprecated basic method definitions. (#1600)
283
+ Use basic methods defined on the resource instead.
284
+ ```typescript
285
+ // Before
286
+ basicMethods: true
287
+
288
+ // After
289
+ create: stripeMethod({
290
+ method: 'POST',
291
+ fullPath: '/v1/resource',
292
+ }),
293
+ list: stripeMethod({
294
+ method: 'GET',
295
+ methodType: 'list',
296
+ fullPath: '/v1/resource',
297
+ }),
298
+ retrieve: stripeMethod({
299
+ method: 'GET',
300
+ fullPath: '/v1/resource/{id}',
301
+ }),
302
+ update: stripeMethod({
303
+ method: 'POST',
304
+ fullPath: '/v1/resource/{id}',
305
+ }),
306
+ // Avoid 'delete' keyword in JS
307
+ del: stripeMethod({
308
+ method: 'DELETE',
309
+ fullPath: '/v1/resource/{id}',
310
+ }),
311
+ ```
312
+ * 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)
313
+ * Remove `charges` field on `PaymentIntent` and replace it with `latest_charge`. (#1614 )
314
+ * Remove deprecated `amount` field on `Checkout.Session.LineItem`. (#1614 )
315
+ * Remove support for `tos_shown_and_accepted` on `Checkout.Session.PaymentMethodOptions.Paynow`. (#1614 )
448
316
 
449
317
  ## 10.17.0 - 2022-11-08
450
318
  * [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates
@@ -458,22 +326,6 @@ This release includes breaking changes resulting from moving to use the new API
458
326
  * 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`
459
327
  * Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]`
460
328
 
461
- ## 10.16.0-beta.2 - 2022-11-02
462
- * [#1598](https://github.com/stripe/stripe-node/pull/1598) API Updates for beta branch
463
- * Updated beta APIs to the latest stable version
464
- * Add support for `cashappPayments` and `zipPayments` on `Account`.
465
- * Add support for `cashapp` and `zip` on `Charge`, `PaymentMethod`.
466
- * Add support for `trialSettings` on `SubscriptionSchedule`.
467
-
468
- ## 10.16.0-beta.1 - 2022-10-21
469
- * [#1589](https://github.com/stripe/stripe-node/pull/1589) API Updates for beta branch
470
- * Updated stable APIs to the latest version
471
- * Add support for new value `revoked` on enum `CapitalFinancingOfferListParams.status`
472
- * Add support for `paypal` on `Charge.payment_method_details` and `Source`
473
- * Add support for `network_data` on `Issuing.Transaction`
474
- * Add support for new value `paypal` on enum `Source.type`
475
- * Add support for `billing_cycle_anchor` on `SubscriptionScheduleAmendParams.amendments[]`
476
-
477
329
  ## 10.15.0 - 2022-10-20
478
330
  * [#1588](https://github.com/stripe/stripe-node/pull/1588) API Updates
479
331
  * 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`
@@ -481,11 +333,6 @@ This release includes breaking changes resulting from moving to use the new API
481
333
  * Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `TerminalReaderProcessPaymentIntentParams.process_config`
482
334
  * [#1585](https://github.com/stripe/stripe-node/pull/1585) use native UUID method if available
483
335
 
484
- ## 10.15.0-beta.1 - 2022-10-14
485
- * Add support for `schedule_settings` on `SubscriptionScheduleAmendParams`
486
- * Add support for new value `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_end.type`
487
- * Add support for new values `schedule_end` and `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_start.type`
488
-
489
336
  ## 10.14.0 - 2022-10-13
490
337
  * [#1582](https://github.com/stripe/stripe-node/pull/1582) API Updates
491
338
  * 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`
@@ -493,11 +340,6 @@ This release includes breaking changes resulting from moving to use the new API
493
340
  * Add support for `network_data` on `Issuing.Authorization`
494
341
  * ⚠️ Remove `currency`, `description`, `images`, and `name` from `Checkout.SessionCreateParams`. These properties do not work on the latest API version. (fixes #1575)
495
342
 
496
- ## 10.14.0-beta.1 - 2022-10-07
497
- * [#1572](https://github.com/stripe/stripe-node/pull/1572) API Updates for beta branch
498
- * Updated stable APIs to the latest version
499
- * Add `reference_id` to `Paypal` interface.
500
-
501
343
  ## 10.13.0 - 2022-10-06
502
344
  * [#1571](https://github.com/stripe/stripe-node/pull/1571) API Updates
503
345
  * 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`
@@ -518,11 +360,6 @@ This release includes breaking changes resulting from moving to use the new API
518
360
  * [#1562](https://github.com/stripe/stripe-node/pull/1562) Restore lib after generating
519
361
  * [#1551](https://github.com/stripe/stripe-node/pull/1551) Re-introduce Typescript changes
520
362
 
521
- ## 10.12.0-beta.1 - 2022-09-26
522
- * [#1561](https://github.com/stripe/stripe-node/pull/1561) API Updates for beta branch
523
- * Updated stable APIs to the latest version
524
- * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
525
-
526
363
  ## 10.11.0 - 2022-09-22
527
364
  * [#1560](https://github.com/stripe/stripe-node/pull/1560) API Updates
528
365
  * Add support for `terms_of_service` on `Checkout.Session.consent_collection`, `Checkout.Session.consent`, `CheckoutSessionCreateParams.consent_collection`, `PaymentLink.consent_collection`, and `PaymentLinkCreateParams.consent_collection`
@@ -530,6 +367,7 @@ This release includes breaking changes resulting from moving to use the new API
530
367
  * Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams`
531
368
  * Change `SubscriptionSchedule.phases[].currency` to be required
532
369
 
370
+
533
371
  ## 10.10.0 - 2022-09-15
534
372
  * [#1552](https://github.com/stripe/stripe-node/pull/1552) API Updates
535
373
  * 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`
@@ -572,11 +410,6 @@ This release includes breaking changes resulting from moving to use the new API
572
410
  * [#1532](https://github.com/stripe/stripe-node/pull/1532) Update coveralls step to run for one node version, remove finish step
573
411
  * [#1531](https://github.com/stripe/stripe-node/pull/1531) Regen yarn.lock.
574
412
 
575
- ## 10.6.0-beta.1 - 2022-08-26
576
- * [#1529](https://github.com/stripe/stripe-node/pull/1529) API Updates for beta branch
577
- * Updated stable APIs to the latest version
578
- * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
579
-
580
413
  ## 10.5.0 - 2022-08-24
581
414
  * [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
582
415
  * [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation
@@ -591,11 +424,6 @@ This release includes breaking changes resulting from moving to use the new API
591
424
  * Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
592
425
  * 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.
593
426
 
594
- ## 10.4.0-beta.1 - 2022-08-23
595
- * [#1523](https://github.com/stripe/stripe-node/pull/1523) API Updates for beta branch
596
- - Updated stable APIs to the latest version
597
- - `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)
598
- * [#1521](https://github.com/stripe/stripe-node/pull/1521) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
599
427
 
600
428
  ## 10.3.0 - 2022-08-19
601
429
  * [#1516](https://github.com/stripe/stripe-node/pull/1516) API Updates
@@ -608,15 +436,11 @@ This release includes breaking changes resulting from moving to use the new API
608
436
  * Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
609
437
  * [#1515](https://github.com/stripe/stripe-node/pull/1515) Add a support section to the readme
610
438
 
611
- ## 10.3.0-beta.1 - 2022-08-11
612
- * [#1511](https://github.com/stripe/stripe-node/pull/1511) API Updates for beta branch
613
- - Updated stable APIs to the latest version
614
- - Add refund_payment method to Terminal resource
615
-
616
439
  ## 10.2.0 - 2022-08-11
617
440
  * [#1510](https://github.com/stripe/stripe-node/pull/1510) API Updates
618
441
  * Add support for `payment_method_collection` on `Checkout.Session`, `CheckoutSessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
619
442
 
443
+
620
444
  ## 10.1.0 - 2022-08-09
621
445
  * [#1506](https://github.com/stripe/stripe-node/pull/1506) API Updates
622
446
  * Add support for `process_config` on `Terminal.Reader.action.process_payment_intent`
@@ -626,22 +450,50 @@ This release includes breaking changes resulting from moving to use the new API
626
450
  * [#1503](https://github.com/stripe/stripe-node/pull/1503) API Updates
627
451
  * Add support for `expires_at` on `Apps.Secret` and `AppsSecretCreateParams`
628
452
 
629
- ## 10.1.0-beta.1 - 2022-08-03
630
- * [#1498](https://github.com/stripe/stripe-node/pull/1498) API Updates for beta branch
631
- - Updated stable APIs to the latest version
632
- - Added the `Order` resource support
633
-
634
453
  ## 10.0.0 - 2022-08-02
635
454
 
636
- Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
455
+ This release includes breaking changes resulting from:
637
456
 
638
- 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.
457
+ * 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
458
+ * 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.
639
459
 
640
460
  "⚠️" symbol highlights breaking changes.
641
461
 
642
462
  * [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates
643
463
  * [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes
644
464
 
465
+ ### Added
466
+ * 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`
467
+ * Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
468
+
469
+ ### ⚠️ Changed
470
+ * Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable.
471
+ * Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`.
472
+ * 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`.
473
+ * Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable.
474
+ * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
475
+
476
+ ### ⚠️ Removed
477
+ * Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions.
478
+ * Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.
479
+ * Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`.
480
+ * Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions.
481
+ * Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead.
482
+ * Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.
483
+ * Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
484
+ * Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.
485
+ * Remove `IssuerFraudRecords` resource.
486
+ * Remove `Recipient` resource and`recipient` property from `Card` resource.
487
+ * Remove `InvoiceMarkUncollectibleParams` definition.
488
+ * Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions.
489
+ * Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.
490
+ * Remove `LineItemListParams` definition. The interface was no longer in use.
491
+
492
+ ### ⚠️ Renamed
493
+ * Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`.
494
+ * Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`.
495
+ * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
496
+
645
497
  ## 9.16.0 - 2022-07-26
646
498
  * [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates
647
499
  * 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`
@@ -658,20 +510,6 @@ Breaking changes that arose during code generation of the library that we postpo
658
510
  * Add support for `mandate` on `InvoicePayParams`
659
511
  * Add support for `product_data` on `OrderCreateParams.line_items[]` and `OrderUpdateParams.line_items[]`
660
512
 
661
- ## 9.15.0-beta.1 - 2022-07-22
662
- * [#1485](https://github.com/stripe/stripe-node/pull/1485) API Updates for beta branch
663
- - Updated stable APIs to the latest version
664
- * [#1483](https://github.com/stripe/stripe-node/pull/1483) API Updates for beta branch
665
- - Updated stable APIs to the latest version
666
- - Add `QuotePhase` resource
667
- * [#1479](https://github.com/stripe/stripe-node/pull/1479) API Updates for beta branch
668
- - Updated stable APIs to the latest version
669
- - Add `Price.migrate_to` property
670
- - Add `SubscriptionSchedule.amend` method.
671
- - Add `Discount.subscription_item` property.
672
- - Add `Quote.subscription_data.billing_behavior`, `billing_cycle_anchor`, `end_behavior`, `from_schedule`, `from_subscription`, `prebilling`, `proration_behavior` properties.
673
- - Add `phases` parameter to `Quote.create`
674
- - Add `Subscription.discounts`, `prebilling` properties.
675
513
 
676
514
  ## 9.14.0 - 2022-07-18
677
515
  * [#1477](https://github.com/stripe/stripe-node/pull/1477) API Updates
@@ -694,18 +532,6 @@ Breaking changes that arose during code generation of the library that we postpo
694
532
  * Change `Transfer.source_type` to be optional and not nullable
695
533
  * [#1471](https://github.com/stripe/stripe-node/pull/1471) Update readme to include a note on beta packages
696
534
 
697
- ## 9.13.0-beta.1 - 2022-07-07
698
- * [#1469](https://github.com/stripe/stripe-node/pull/1469) API Updates for beta branch
699
- - Include `server_side_confirmation_beta=v1` beta
700
- - Add `secretKeyConfirmation` to `PaymentIntent`
701
- * [#1451](https://github.com/stripe/stripe-node/pull/1451) API Updates
702
- - Updated stable APIs to the latest version
703
- * [#1457](https://github.com/stripe/stripe-node/pull/1457) Use the generated API version
704
- * [#1445](https://github.com/stripe/stripe-node/pull/1445) Support updating pre-release versions
705
- * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
706
- * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
707
- * [#1444](https://github.com/stripe/stripe-node/pull/1444) Merge master branch into beta branch
708
-
709
535
  ## 9.12.0 - 2022-07-07
710
536
  * [#1468](https://github.com/stripe/stripe-node/pull/1468) API Updates
711
537
  * Add support for `currency` on `CheckoutSessionCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkCreateParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `Subscription`
@@ -768,10 +594,6 @@ Breaking changes that arose during code generation of the library that we postpo
768
594
  * 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`
769
595
  * Add support for `custom_unit_amount` on `PriceCreateParams` and `Price`
770
596
 
771
- ## 9.8.0-beta.1 - 2022-06-08
772
- * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
773
- * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
774
-
775
597
  ## 9.7.0 - 2022-06-08
776
598
  * [#1441](https://github.com/stripe/stripe-node/pull/1441) API Updates
777
599
  * Add support for `affirm`, `bancontact`, `card`, `ideal`, `p24`, and `sofort` on `Checkout.Session.payment_method_options` and `CheckoutSessionCreateParams.payment_method_options`
@@ -792,6 +614,7 @@ Breaking changes that arose during code generation of the library that we postpo
792
614
  * Add support for `network` on `SetupIntent.payment_method_options.card`
793
615
  * Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `TerminalReaderListParams.device_type`
794
616
 
617
+
795
618
  ## 9.5.0 - 2022-05-26
796
619
  * [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
797
620
  * Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -862,6 +685,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
862
685
  * Add support for `default_price` on `ProductUpdateParams` and `Product`
863
686
  * Add support for `instructions_email` on `RefundCreateParams` and `Refund`
864
687
 
688
+
865
689
  ## 8.221.0 - 2022-05-05
866
690
  * [#1413](https://github.com/stripe/stripe-node/pull/1413) API Updates
867
691
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
@@ -1138,6 +962,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1138
962
  * [#1297](https://github.com/stripe/stripe-node/pull/1297) API Updates
1139
963
  * Add support for `automatic_payment_methods` on `PaymentIntentCreateParams` and `PaymentIntent`
1140
964
 
965
+
1141
966
  ## 8.189.0 - 2021-11-16
1142
967
  * [#1295](https://github.com/stripe/stripe-node/pull/1295) API Updates
1143
968
  * Add support for new resource `ShippingRate`
@@ -1160,6 +985,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1160
985
  * Remove support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account`. This API was unused.
1161
986
  * Add support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account.company`
1162
987
 
988
+
1163
989
  ## 8.186.0 - 2021-11-01
1164
990
  * [#1283](https://github.com/stripe/stripe-node/pull/1283) API Updates
1165
991
  * Add support for `ownership_declaration` on `AccountUpdateParams.company`, `AccountCreateParams.company`, `Account.company`, and `TokenCreateParams.account.company`
@@ -1303,6 +1129,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1303
1129
  * Add support for `wallet` on `Issuing.Transaction`
1304
1130
  * Add support for `ideal` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
1305
1131
 
1132
+
1306
1133
  ## 8.163.0 - 2021-07-15
1307
1134
  * [#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
1308
1135
 
@@ -2835,7 +2662,7 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
2835
2662
 
2836
2663
  - [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
2837
2664
 
2838
- ## 2.2.1 - 2013-12-01
2665
+ ### 2.2.1 - 2013-12-01
2839
2666
 
2840
2667
  - [BUGFIX] Fix user-agent header issue (see issue #75)
2841
2668
 
@@ -2898,4 +2725,3 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
2898
2725
  ## 0.0.2 - 2011-09-28
2899
2726
 
2900
2727
  - Initial release with customers and tokens APIs
2901
-