stripe 14.4.0-beta.1 → 14.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 (165) hide show
  1. package/CHANGELOG.md +128 -515
  2. package/README.md +0 -33
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +5 -65
  5. package/cjs/StripeResource.js +1 -1
  6. package/cjs/apiVersion.js +1 -2
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -13
  9. package/cjs/resources/Invoices.js +0 -13
  10. package/cjs/resources/OAuth.js +1 -1
  11. package/cjs/resources/Quotes.js +0 -32
  12. package/cjs/resources/SubscriptionSchedules.js +0 -4
  13. package/cjs/resources/Terminal/Readers.js +0 -12
  14. package/cjs/resources.js +10 -48
  15. package/cjs/stripe.core.js +3 -6
  16. package/cjs/utils.js +3 -30
  17. package/esm/RequestSender.js +6 -66
  18. package/esm/StripeResource.js +2 -2
  19. package/esm/apiVersion.js +0 -1
  20. package/esm/multipart.js +2 -2
  21. package/esm/resources/FinancialConnections/Accounts.js +0 -13
  22. package/esm/resources/Invoices.js +0 -13
  23. package/esm/resources/OAuth.js +2 -2
  24. package/esm/resources/Quotes.js +0 -32
  25. package/esm/resources/SubscriptionSchedules.js +0 -4
  26. package/esm/resources/Terminal/Readers.js +0 -12
  27. package/esm/resources.js +0 -32
  28. package/esm/stripe.core.js +3 -6
  29. package/esm/utils.js +1 -27
  30. package/package.json +1 -1
  31. package/types/AccountLinksResource.d.ts +1 -5
  32. package/types/AccountSessions.d.ts +0 -75
  33. package/types/AccountSessionsResource.d.ts +0 -102
  34. package/types/Accounts.d.ts +0 -48
  35. package/types/AccountsResource.d.ts +0 -95
  36. package/types/Charges.d.ts +2 -28
  37. package/types/ChargesResource.d.ts +0 -580
  38. package/types/Checkout/Sessions.d.ts +2 -63
  39. package/types/Checkout/SessionsResource.d.ts +7 -96
  40. package/types/Coupons.d.ts +1 -1
  41. package/types/CouponsResource.d.ts +1 -1
  42. package/types/CreditNotes.d.ts +0 -21
  43. package/types/CreditNotesResource.d.ts +0 -51
  44. package/types/Discounts.d.ts +0 -10
  45. package/types/EventTypes.d.ts +0 -453
  46. package/types/Events.d.ts +0 -88
  47. package/types/FinancialConnections/Accounts.d.ts +0 -74
  48. package/types/FinancialConnections/AccountsResource.d.ts +1 -75
  49. package/types/FinancialConnections/Sessions.d.ts +1 -44
  50. package/types/FinancialConnections/SessionsResource.d.ts +1 -33
  51. package/types/InvoiceItems.d.ts +0 -5
  52. package/types/InvoiceItemsResource.d.ts +0 -98
  53. package/types/InvoiceLineItems.d.ts +0 -22
  54. package/types/Invoices.d.ts +3 -159
  55. package/types/InvoicesResource.d.ts +445 -3739
  56. package/types/Issuing/CardholdersResource.d.ts +1 -2
  57. package/types/Issuing/Cards.d.ts +0 -42
  58. package/types/Issuing/CardsResource.d.ts +0 -134
  59. package/types/Issuing/Transactions.d.ts +0 -12
  60. package/types/LineItems.d.ts +0 -7
  61. package/types/Mandates.d.ts +0 -11
  62. package/types/PaymentIntents.d.ts +4 -188
  63. package/types/PaymentIntentsResource.d.ts +59 -1438
  64. package/types/PaymentLinks.d.ts +0 -76
  65. package/types/PaymentLinksResource.d.ts +0 -152
  66. package/types/PaymentMethods.d.ts +0 -16
  67. package/types/Prices.d.ts +0 -22
  68. package/types/PricesResource.d.ts +0 -22
  69. package/types/Products.d.ts +1 -40
  70. package/types/ProductsResource.d.ts +0 -36
  71. package/types/Quotes.d.ts +3 -577
  72. package/types/QuotesResource.d.ts +224 -3123
  73. package/types/SetupAttempts.d.ts +1 -4
  74. package/types/SetupIntents.d.ts +3 -35
  75. package/types/SetupIntentsResource.d.ts +3 -104
  76. package/types/Sources.d.ts +0 -23
  77. package/types/SubscriptionItems.d.ts +0 -26
  78. package/types/SubscriptionItemsResource.d.ts +0 -147
  79. package/types/SubscriptionSchedules.d.ts +0 -309
  80. package/types/SubscriptionSchedulesResource.d.ts +50 -1529
  81. package/types/Subscriptions.d.ts +2 -76
  82. package/types/SubscriptionsResource.d.ts +2 -549
  83. package/types/Terminal/Readers.d.ts +0 -183
  84. package/types/Terminal/ReadersResource.d.ts +0 -171
  85. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  86. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  87. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  88. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  89. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  90. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  91. package/types/WebhookEndpointsResource.d.ts +0 -60
  92. package/types/index.d.ts +0 -78
  93. package/types/lib.d.ts +0 -12
  94. package/cjs/resources/AccountNotices.js +0 -21
  95. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  96. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  97. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  98. package/cjs/resources/ConfirmationTokens.js +0 -12
  99. package/cjs/resources/CustomerSessions.js +0 -9
  100. package/cjs/resources/FinancialConnections/Transactions.js +0 -13
  101. package/cjs/resources/GiftCards/Cards.js +0 -23
  102. package/cjs/resources/GiftCards/Transactions.js +0 -33
  103. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  104. package/cjs/resources/Issuing/PersonalizationDesigns.js +0 -25
  105. package/cjs/resources/Issuing/PhysicalBundles.js +0 -17
  106. package/cjs/resources/Margins.js +0 -22
  107. package/cjs/resources/Orders.js +0 -24
  108. package/cjs/resources/QuotePhases.js +0 -22
  109. package/cjs/resources/Tax/Forms.js +0 -20
  110. package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +0 -20
  111. package/esm/resources/AccountNotices.js +0 -18
  112. package/esm/resources/Capital/FinancingOffers.js +0 -18
  113. package/esm/resources/Capital/FinancingSummary.js +0 -9
  114. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  115. package/esm/resources/ConfirmationTokens.js +0 -9
  116. package/esm/resources/CustomerSessions.js +0 -6
  117. package/esm/resources/FinancialConnections/Transactions.js +0 -10
  118. package/esm/resources/GiftCards/Cards.js +0 -20
  119. package/esm/resources/GiftCards/Transactions.js +0 -30
  120. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  121. package/esm/resources/Issuing/PersonalizationDesigns.js +0 -22
  122. package/esm/resources/Issuing/PhysicalBundles.js +0 -14
  123. package/esm/resources/Margins.js +0 -19
  124. package/esm/resources/Orders.js +0 -21
  125. package/esm/resources/QuotePhases.js +0 -19
  126. package/esm/resources/Tax/Forms.js +0 -17
  127. package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +0 -17
  128. package/types/AccountNotices.d.ts +0 -110
  129. package/types/AccountNoticesResource.d.ts +0 -98
  130. package/types/Capital/FinancingOffers.d.ts +0 -183
  131. package/types/Capital/FinancingOffersResource.d.ts +0 -94
  132. package/types/Capital/FinancingSummary.d.ts +0 -106
  133. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  134. package/types/Capital/FinancingTransactions.d.ts +0 -135
  135. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  136. package/types/ConfirmationTokens.d.ts +0 -1164
  137. package/types/ConfirmationTokensResource.d.ts +0 -27
  138. package/types/CustomerSessions.d.ts +0 -38
  139. package/types/CustomerSessionsResource.d.ts +0 -27
  140. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  141. package/types/FinancialConnections/Transactions.d.ts +0 -85
  142. package/types/FinancialConnections/TransactionsResource.d.ts +0 -48
  143. package/types/GiftCards/Cards.d.ts +0 -118
  144. package/types/GiftCards/CardsResource.d.ts +0 -159
  145. package/types/GiftCards/Transactions.d.ts +0 -129
  146. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  147. package/types/InvoicePayments.d.ts +0 -91
  148. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -427
  149. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -979
  150. package/types/Issuing/PersonalizationDesigns.d.ts +0 -137
  151. package/types/Issuing/PersonalizationDesignsResource.d.ts +0 -253
  152. package/types/Issuing/PhysicalBundles.d.ts +0 -68
  153. package/types/Issuing/PhysicalBundlesResource.d.ts +0 -63
  154. package/types/Margins.d.ts +0 -56
  155. package/types/MarginsResource.d.ts +0 -114
  156. package/types/Orders.d.ts +0 -1049
  157. package/types/OrdersResource.d.ts +0 -2691
  158. package/types/QuoteLines.d.ts +0 -586
  159. package/types/QuotePhases.d.ts +0 -193
  160. package/types/QuotePhasesResource.d.ts +0 -67
  161. package/types/QuotePreviewInvoices.d.ts +0 -1498
  162. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -755
  163. package/types/Tax/Forms.d.ts +0 -133
  164. package/types/Tax/FormsResource.d.ts +0 -90
  165. package/types/TestHelpers/Issuing/PersonalizationDesignsResource.d.ts +0 -113
package/CHANGELOG.md CHANGED
@@ -1,70 +1,35 @@
1
1
  # Changelog
2
2
 
3
- ## 14.4.0-beta.1 - 2023-11-02
4
- * [#1945](https://github.com/stripe/stripe-node/pull/1945) Update generated code for beta
5
- * Add support for `attach_payment_intent` method on resource `Invoice`
6
- * Add support for `revolut_pay` on `ConfirmationToken.payment_method_preview`
7
- * Add support for new value `revolut_pay` on enum `ConfirmationToken.payment_method_preview.type`
8
- * Change `ConfirmationToken.payment_method_preview.paypal.payer_email`, `ConfirmationToken.payment_method_preview.paypal.payer_id`, `Issuing.Authorization.merchant_data.url`, `Issuing.Authorization.verification_data.three_d_secure`, `Issuing.Transaction.merchant_data.url`, `Order.payment.settings.payment_method_options.paypal.reference`, and `QuoteLine.set_schedule_end` to be required
9
- * Add support for `refunds` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, and `CreditNote`
10
- * Add support for `post_payment_amount` and `pre_payment_amount` on `CreditNote`
11
- * Add support for new value `invoice.payment.overpaid` on enum `Event.type`
12
- * Add support for `schedule_details` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
13
- * Add support for `amounts_due` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
14
- * Add support for `payments` on `Invoice`
15
- * Add support for `created` on `Issuing.PersonalizationDesign`
16
- * Add support for `ending_before`, `limit`, and `starting_after` on `Tax.RegistrationListParams`
17
- * Change type of `Tax.RegistrationCreateParams.active_from` to be `'now' | DateTime`
18
- * Add support for new value `invoice.payment.overpaid` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
3
+ ## 14.4.0 - 2023-11-09
4
+ * [#1947](https://github.com/stripe/stripe-node/pull/1947) Update generated code
5
+ * Add support for new value `terminal_reader_hardware_fault` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
6
+ * Change `Charge.payment_method_details.card.amount_authorized`, `Checkout.Session.payment_method_configuration_details`, `PaymentIntent.latest_charge`, `PaymentIntent.payment_method_configuration_details`, and `SetupIntent.payment_method_configuration_details` to be required
7
+ * Change `Product.features[].name` to be optional
8
+ * Add support for `metadata` on `Quote.subscription_data`, `QuoteCreateParams.subscription_data`, and `QuoteUpdateParams.subscription_data`
19
9
 
20
10
  ## 14.3.0 - 2023-11-02
21
11
  * [#1943](https://github.com/stripe/stripe-node/pull/1943) Update generated code
22
- * Add support for new resource `Tax.Registration`
23
- * Add support for `create`, `list`, and `update` methods on resource `Registration`
24
- * Add support for `revolut_pay_payments` on `Account` APIs.
25
- * Add support for new value `token_card_network_invalid` on error code enums.
26
- * Add support for new value `payment_unreconciled` on enum `BalanceTransaction.type`
27
- * Add support for `revolut_pay` throughout the API.
28
- * Change `.paypal.payer_email` to be required in several locations.
29
- * Add support for `aba` and `swift` on `FundingInstructions.bank_transfer.financial_addresses[]` and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[]`
30
- * Add support for new values `ach`, `domestic_wire_us`, and `swift` on enums `FundingInstructions.bank_transfer.financial_addresses[].supported_networks[]` and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks[]`
31
- * Add support for new values `aba` and `swift` on enums `FundingInstructions.bank_transfer.financial_addresses[].type` and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].type`
32
- * Add support for `url` on `Issuing.Authorization.merchant_data`, `Issuing.AuthorizationCreateParams.testHelpers.merchant_data`, `Issuing.Transaction.merchant_data`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.merchant_data`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.merchant_data`
33
- * Add support for `authentication_exemption` and `three_d_secure` on `Issuing.Authorization.verification_data` and `Issuing.AuthorizationCreateParams.testHelpers.verification_data`
34
- * Add support for `description` on `PaymentLink.payment_intent_data`, `PaymentLinkCreateParams.payment_intent_data`, and `PaymentLinkUpdateParams.payment_intent_data`
12
+ * Add support for new resource `Tax.Registration`
13
+ * Add support for `create`, `list`, and `update` methods on resource `Registration`
14
+ * Add support for `revolut_pay_payments` on `Account` APIs.
15
+ * Add support for new value `token_card_network_invalid` on error code enums.
16
+ * Add support for new value `payment_unreconciled` on enum `BalanceTransaction.type`
17
+ * Add support for `revolut_pay` throughout the API.
18
+ * Change `.paypal.payer_email` to be required in several locations.
19
+ * Add support for `aba` and `swift` on `FundingInstructions.bank_transfer.financial_addresses[]` and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[]`
20
+ * Add support for new values `ach`, `domestic_wire_us`, and `swift` on enums `FundingInstructions.bank_transfer.financial_addresses[].supported_networks[]` and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks[]`
21
+ * Add support for new values `aba` and `swift` on enums `FundingInstructions.bank_transfer.financial_addresses[].type` and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].type`
22
+ * Add support for `url` on `Issuing.Authorization.merchant_data`, `Issuing.AuthorizationCreateParams.testHelpers.merchant_data`, `Issuing.Transaction.merchant_data`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.merchant_data`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.merchant_data`
23
+ * Add support for `authentication_exemption` and `three_d_secure` on `Issuing.Authorization.verification_data` and `Issuing.AuthorizationCreateParams.testHelpers.verification_data`
24
+ * Add support for `description` on `PaymentLink.payment_intent_data`, `PaymentLinkCreateParams.payment_intent_data`, and `PaymentLinkUpdateParams.payment_intent_data`
35
25
  * Add support for new value `unreconciled_customer_funds` on enum `Reporting.ReportRunCreateParams.parameters.reporting_category`
36
26
 
37
- ## 14.3.0-beta.1 - 2023-10-26
38
- * [#1938](https://github.com/stripe/stripe-node/pull/1938) Update generated code for beta
39
- * Add support for new resource `Margin`
40
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
41
- * Add support for `subsellers` on `Checkout.SessionCreateParams.payment_method_options.paypal`, `Order.payment.settings.payment_method_options.paypal`, `OrderCreateParams.payment.settings.payment_method_options.paypal`, `OrderUpdateParams.payment.settings.payment_method_options.paypal`, `PaymentIntent.payment_method_options.paypal`, `PaymentIntentConfirmParams.payment_method_options.paypal`, `PaymentIntentCreateParams.payment_method_options.paypal`, `PaymentIntentUpdateParams.payment_method_options.paypal`, `SetupIntent.payment_method_options.paypal`, `SetupIntentConfirmParams.payment_method_options.paypal`, `SetupIntentCreateParams.payment_method_options.paypal`, and `SetupIntentUpdateParams.payment_method_options.paypal`
42
- * Add support for `default_margins` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
43
- * Add support for `total_margin_amounts` on `Invoice`
44
- * Add support for `margins` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, and `InvoiceItem`
45
- * Add support for new values `applicant_is_not_beneficial_owner`, `current_account_tier_ineligible`, `customer_requested_account_closure`, `dispute_rate_too_high`, and `invalid_business_license` on enums `Issuing.CreditUnderwritingRecord.decision.credit_limit_decreased.reasons[]`, `Issuing.CreditUnderwritingRecord.decision.credit_line_closed.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_limit_decreased.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.credit_line_closed.reasons[]`, `Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_limit_decreased.reasons[]`, and `Issuing.CreditUnderwritingRecordCreateFromProactiveReviewParams.decision.credit_line_closed.reasons[]`
46
- * Add support for new values `applicant_is_not_beneficial_owner`, `current_account_tier_ineligible`, `customer_requested_account_closure`, `dispute_rate_too_high`, and `invalid_business_license` on enums `Issuing.CreditUnderwritingRecord.decision.application_rejected.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.application_rejected.reasons[]`, and `Issuing.CreditUnderwritingRecordReportDecisionParams.decision.application_rejected.reasons[]`
47
- * Remove support for values `change_in_financial_state`, `change_in_utilization_of_credit_line`, `decrease_in_income_to_expense_ratio`, `decrease_in_social_media_performance`, `exceeds_acceptable_platform_exposure`, `has_recent_credit_limit_increase`, `insufficient_credit_utilization`, `insufficient_usage_as_qualified_expenses`, and `poor_payment_history_with_platform` from enums `Issuing.CreditUnderwritingRecord.decision.application_rejected.reasons[]`, `Issuing.CreditUnderwritingRecordCorrectParams.decision.application_rejected.reasons[]`, and `Issuing.CreditUnderwritingRecordReportDecisionParams.decision.application_rejected.reasons[]`
48
- * Add support for `is_default` on `Issuing.PersonalizationDesign.preferences`, `Issuing.PersonalizationDesignCreateParams.preferences`, `Issuing.PersonalizationDesignListParams.preferences`, and `Issuing.PersonalizationDesignUpdateParams.preferences`
49
- * Add support for `is_platform_default` on `Issuing.PersonalizationDesign.preferences` and `Issuing.PersonalizationDesignListParams.preferences`
50
- * Remove support for `account_default` on `Issuing.PersonalizationDesign.preferences`, `Issuing.PersonalizationDesignCreateParams.preferences`, `Issuing.PersonalizationDesignListParams.preferences`, and `Issuing.PersonalizationDesignUpdateParams.preferences`
51
- * Remove support for `platform_default` on `Issuing.PersonalizationDesign.preferences` and `Issuing.PersonalizationDesignListParams.preferences`
52
- * Add support for `liability` on `PaymentLink.automatic_tax`, `PaymentLinkCreateParams.automatic_tax`, and `PaymentLinkUpdateParams.automatic_tax`
53
- * Add support for `issuer` on `PaymentLink.invoice_creation.invoice_data`, `PaymentLinkCreateParams.invoice_creation.invoice_data`, and `PaymentLinkUpdateParams.invoice_creation.invoice_data`
54
- * Add support for `invoice_settings` on `PaymentLink.subscription_data`, `PaymentLinkCreateParams.subscription_data`, and `PaymentLinkUpdateParams.subscription_data`
55
- * Add support for new value `accept_failed_validations` on enum `Quote.status_details.stale.last_reason.type`
56
-
57
27
  ## 14.2.0 - 2023-10-26
58
28
  * [#1939](https://github.com/stripe/stripe-node/pull/1939) Update generated code
59
29
  * Add support for new value `balance_invalid_parameter` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
60
30
  * Change `Issuing.Cardholder.individual.card_issuing` to be optional
61
31
  * [#1940](https://github.com/stripe/stripe-node/pull/1940) Do not require passing apiVersion
62
32
 
63
- ## 14.2.0-beta.1 - 2023-10-17
64
- * [#1935](https://github.com/stripe/stripe-node/pull/1935) Update generated code for beta
65
- * [#1930](https://github.com/stripe/stripe-node/pull/1930) Update generated code for beta
66
- - Update pinned API version to `2023-10-16`
67
-
68
33
  ## 14.1.0 - 2023-10-17
69
34
  * [#1933](https://github.com/stripe/stripe-node/pull/1933) Update generated code
70
35
  * Add support for new value `invalid_dob_age_under_minimum` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, and `BankAccount.requirements.errors[].code`
@@ -78,9 +43,6 @@
78
43
  * Add support for `additional_tos_acceptances` on `TokenCreateParams.person`
79
44
  * Add support for new value `2023-10-16` on enum `WebhookEndpointCreateParams.api_version`
80
45
 
81
- ## 13.12.0-beta.1 - 2023-10-16
82
- * [#1925](https://github.com/stripe/stripe-node/pull/1925) Update generated code for beta
83
-
84
46
  ## 13.11.0 - 2023-10-16
85
47
  * [#1924](https://github.com/stripe/stripe-node/pull/1924) Update generated code
86
48
  * Add support for new values `issuing_token.created` and `issuing_token.updated` on enum `Event.type`
@@ -88,17 +50,6 @@
88
50
  * [#1926](https://github.com/stripe/stripe-node/pull/1926) Add named unions for all polymorphic types
89
51
  * [#1921](https://github.com/stripe/stripe-node/pull/1921) Add event types
90
52
 
91
- ## 13.11.0-beta.1 - 2023-10-11
92
- * [#1919](https://github.com/stripe/stripe-node/pull/1919) Update generated code for beta
93
- * Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
94
- * Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
95
- * Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
96
- * Change type of `Checkout.Session.automatic_tax.liability.account`, `Checkout.Session.invoice_creation.invoice_data.issuer.account`, `Invoice.automatic_tax.liability.account`, `Invoice.issuer.account`, `Quote.automatic_tax.liability.account`, `Quote.invoice_settings.issuer.account`, `Subscription.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.invoice_settings.issuer.account`, `SubscriptionSchedule.phases[].automatic_tax.liability.account`, and `SubscriptionSchedule.phases[].invoice_settings.issuer.account` from `expandable(Account) | null` to `expandable(Account)`
97
- * Change `Checkout.Session.automatic_tax.liability.account`, `Checkout.Session.invoice_creation.invoice_data.issuer.account`, `Invoice.automatic_tax.liability.account`, `Invoice.issuer.account`, `Issuing.Transaction.network_data.processing_date`, `Quote.automatic_tax.liability.account`, `Quote.invoice_settings.issuer.account`, `Subscription.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.automatic_tax.liability.account`, `SubscriptionSchedule.default_settings.invoice_settings.issuer.account`, `SubscriptionSchedule.phases[].automatic_tax.liability.account`, and `SubscriptionSchedule.phases[].invoice_settings.issuer.account` to be optional
98
- * Add support for new values `account_notice.created` and `account_notice.updated` on enum `Event.type`
99
- * Add support for new values `local_amusement_tax` and `state_communications_tax` on enums `Tax.Registration.country_options.us.type` and `Tax.RegistrationCreateParams.country_options.us.type`
100
- * Add support for new values `account_notice.created` and `account_notice.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
101
-
102
53
  ## 13.10.0 - 2023-10-11
103
54
  * [#1920](https://github.com/stripe/stripe-node/pull/1920) Update generated code
104
55
  * Add support for `redirect_on_completion`, `return_url`, and `ui_mode` on `Checkout.SessionCreateParams` and `Checkout.Session`
@@ -112,16 +63,6 @@
112
63
  * Add support for `offline` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration`
113
64
  * [#1914](https://github.com/stripe/stripe-node/pull/1914) Bump get-func-name from 2.0.0 to 2.0.2
114
65
 
115
- ## 13.10.0-beta.1 - 2023-10-05
116
- * [#1917](https://github.com/stripe/stripe-node/pull/1917) Update generated code for beta
117
- * Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
118
- * Remove support for `draft_quote`, `mark_stale_quote`, and `preview_invoice_lines` methods on resource `Quote`
119
- * Add support for `liability` on `Checkout.Session.automatic_tax` and `Checkout.SessionCreateParams.automatic_tax`
120
- * Add support for `issuer` on `Checkout.Session.invoice_creation.invoice_data` and `Checkout.SessionCreateParams.invoice_creation.invoice_data`
121
- * Add support for `invoice_settings` on `Checkout.SessionCreateParams.subscription_data`
122
- * Add support for `personalization_design` on `Issuing.CardListParams`
123
- * Add support for `allow_backdated_lines` on `QuoteCreateParams`, `QuoteUpdateParams`, and `Quote`
124
-
125
66
  ## 13.9.0 - 2023-10-05
126
67
  * [#1916](https://github.com/stripe/stripe-node/pull/1916) Update generated code
127
68
  * Add support for new resource `Issuing.Token`
@@ -136,49 +77,15 @@
136
77
  * Add support for `statement_descriptor_suffix` and `statement_descriptor` on `PaymentLink.payment_intent_data` and `PaymentLinkCreateParams.payment_intent_data`
137
78
  * Add support for `payment_intent_data` and `subscription_data` on `PaymentLinkUpdateParams`
138
79
 
139
- ## 13.9.0-beta.1 - 2023-09-28
140
- * [#1910](https://github.com/stripe/stripe-node/pull/1910) Update generated code for beta
141
- * Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
142
- * Add support for new values `capital_financing_offer` and `capital_financing_reporting` on enum `AccountLinkCreateParams.type`
143
- * Add support for `features` on `AccountSession.components.payment_details`, `AccountSession.components.payments`, `AccountSession.components.payouts`, `AccountSessionCreateParams.components.account_onboarding`, `AccountSessionCreateParams.components.payment_details`, `AccountSessionCreateParams.components.payments`, and `AccountSessionCreateParams.components.payouts`
144
- * Change `ConfirmationToken.payment_method_preview.us_bank_account.financial_connections_account` and `ConfirmationToken.payment_method_preview.us_bank_account.status_details` to be required
145
- * Add support for `reason` on `Event`
146
-
147
80
  ## 13.8.0 - 2023-09-28
148
81
  * [#1911](https://github.com/stripe/stripe-node/pull/1911) Update generated code
149
82
  * Add support for `rendering` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
150
83
  * Change `PaymentMethod.us_bank_account.financial_connections_account` and `PaymentMethod.us_bank_account.status_details` to be required
151
84
 
152
- ## 13.8.0-beta.1 - 2023-09-21
153
- * [#1906](https://github.com/stripe/stripe-node/pull/1906) Update generated code for beta
154
- * Remove support for `customer` on `ConfirmationToken`
155
- * Add support for `issuer` on `InvoiceCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `InvoiceUpdateParams`, `Invoice`, `Quote.invoice_settings`, `QuoteCreateParams.invoice_settings`, `QuoteUpdateParams.invoice_settings`, `SubscriptionSchedule.default_settings.invoice_settings`, `SubscriptionSchedule.phases[].invoice_settings`, `SubscriptionScheduleCreateParams.default_settings.invoice_settings`, `SubscriptionScheduleCreateParams.phases[].invoice_settings`, `SubscriptionScheduleUpdateParams.default_settings.invoice_settings`, and `SubscriptionScheduleUpdateParams.phases[].invoice_settings`
156
- * Add support for `on_behalf_of` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
157
- * Add support for `liability` on `Invoice.automatic_tax`, `InvoiceCreateParams.automatic_tax`, `InvoiceUpcomingLinesParams.automatic_tax`, `InvoiceUpcomingParams.automatic_tax`, `InvoiceUpdateParams.automatic_tax`, `Quote.automatic_tax`, `QuoteCreateParams.automatic_tax`, `QuoteUpdateParams.automatic_tax`, `Subscription.automatic_tax`, `SubscriptionCreateParams.automatic_tax`, `SubscriptionSchedule.default_settings.automatic_tax`, `SubscriptionSchedule.phases[].automatic_tax`, `SubscriptionScheduleCreateParams.default_settings.automatic_tax`, `SubscriptionScheduleCreateParams.phases[].automatic_tax`, `SubscriptionScheduleUpdateParams.default_settings.automatic_tax`, `SubscriptionScheduleUpdateParams.phases[].automatic_tax`, and `SubscriptionUpdateParams.automatic_tax`
158
- * Change type of `Issuing.CardDesignUpdateParams.carrier_text` from `carrier_text_param` to `emptyStringable(carrier_text_param)`
159
- * Add support for `invoice_settings` on `SubscriptionCreateParams` and `SubscriptionUpdateParams`
160
-
161
85
  ## 13.7.0 - 2023-09-21
162
86
  * [#1907](https://github.com/stripe/stripe-node/pull/1907) Update generated code
163
87
  * Add support for `terms_of_service_acceptance` on `Checkout.Session.custom_text`, `Checkout.SessionCreateParams.custom_text`, `PaymentLink.custom_text`, `PaymentLinkCreateParams.custom_text`, and `PaymentLinkUpdateParams.custom_text`
164
88
 
165
- ## 13.7.0-beta.1 - 2023-09-14
166
- * [#1900](https://github.com/stripe/stripe-node/pull/1900) Update generated code for beta
167
- * Add support for new resource `ConfirmationToken`
168
- * Add support for `retrieve` method on resource `ConfirmationToken`
169
- * Add support for `create` method on resource `Issuing.CardDesign`
170
- * Add support for `reject_testmode` test helper method on resource `Issuing.CardDesign`
171
- * Add support for new value `issuing_card_design.rejected` on enum `Event.type`
172
- * Add support for `features` on `Issuing.CardBundle`
173
- * Add support for `preferences` on `Issuing.CardDesignListParams`, `Issuing.CardDesignUpdateParams`, and `Issuing.CardDesign`
174
- * Remove support for `preference` on `Issuing.CardDesignListParams`, `Issuing.CardDesignUpdateParams`, and `Issuing.CardDesign`
175
- * Add support for `card_bundle` on `Issuing.CardDesignUpdateParams`
176
- * Add support for `card_logo` and `carrier_text` on `Issuing.CardDesignUpdateParams` and `Issuing.CardDesign`
177
- * Change type of `Issuing.CardDesignUpdateParams.lookup_key` and `Issuing.CardDesignUpdateParams.name` from `string` to `emptyStringable(string)`
178
- * Add support for `rejection_reasons` on `Issuing.CardDesign`
179
- * Add support for `confirmation_token` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `SetupIntentConfirmParams`, and `SetupIntentCreateParams`
180
- * Add support for new value `issuing_card_design.rejected` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
181
-
182
89
  ## 13.6.0 - 2023-09-14
183
90
  * [#1905](https://github.com/stripe/stripe-node/pull/1905) Update generated code
184
91
  * Add support for new resource `PaymentMethodConfiguration`
@@ -195,16 +102,6 @@
195
102
  * [#1895](https://github.com/stripe/stripe-node/pull/1895) feat: webhook signing Nestjs
196
103
  * [#1878](https://github.com/stripe/stripe-node/pull/1878) Use src/apiVersion.ts, not API_VERSION as source of truth
197
104
 
198
- ## 13.6.0-beta.1 - 2023-09-07
199
- * [#1898](https://github.com/stripe/stripe-node/pull/1898) Update generated code for beta
200
- * Release specs are identical.
201
- * [#1892](https://github.com/stripe/stripe-node/pull/1892) Update generated code for beta
202
- * Remove support for `submit_card` test helper method on resource `Issuing.Card`
203
- * Add support for `tax_forms` on `Account.settings`, `AccountCreateParams.settings`, and `AccountUpdateParams.settings`
204
- * Add support for `card_design` on `Issuing.CardUpdateParams`
205
- * Remove support for value `submitted` from enum `Issuing.Card.shipping.status`
206
- * Add support for new value `platform_default` on enums `Issuing.CardDesign.preference` and `Issuing.CardDesignListParams.preference`
207
-
208
105
  ## 13.5.0 - 2023-09-07
209
106
  * [#1893](https://github.com/stripe/stripe-node/pull/1893) Update generated code
210
107
  * Add support for new resource `PaymentMethodDomain`
@@ -216,10 +113,6 @@
216
113
  * Add support for `features` on `ProductCreateParams`, `ProductUpdateParams`, and `Product`
217
114
  * Remove support for value `invoiceitem.updated` from enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
218
115
 
219
- ## 13.5.0-beta.1 - 2023-08-31
220
- * [#1883](https://github.com/stripe/stripe-node/pull/1883) Update generated code for beta
221
- * Rename `Quote.listPreviewSubscriptionSchedules` to `Quote.listPreviewSchedules` and `Quote.listPreview
222
-
223
116
  ## 13.4.0 - 2023-08-31
224
117
  * [#1884](https://github.com/stripe/stripe-node/pull/1884) Update generated code
225
118
  * Add support for new resource `AccountSession`
@@ -286,37 +179,12 @@
286
179
  * These fields are not fully operational.
287
180
  * ⚠️Add support for new value `2023-08-16` on enum `WebhookEndpointCreateParams.api_version`
288
181
 
289
- ## 13.0.0-beta.1 - 2023-08-24
290
- * [#1873](https://github.com/stripe/stripe-node/pull/1873) Update generated code for beta
291
- * Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
292
- * Change `Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch`, `FinancialConnections.Session.prefetch`, `Invoice.charge`, `Invoice.customer`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch`, `SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch`, and `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch` to be required
293
- * Remove support for `applies_to` on `Invoice` and `SubscriptionSchedule`
294
- * Add support for `cl`, `co`, `id`, `kr`, `mx`, `my`, `sa`, `th`, `tr`, and `vn` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
295
- * Remove support for `hk` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
296
-
297
- ## 12.19.0-beta.1 - 2023-08-10
298
- * [#1868](https://github.com/stripe/stripe-node/pull/1868) Update generated code for beta
299
- * Add support for `paypal` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
300
- * Add support for new value `quote.accept_failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
301
-
302
182
  ## 12.18.0 - 2023-08-10
303
183
  * [#1867](https://github.com/stripe/stripe-node/pull/1867) Update generated code
304
184
  * Add support for new values `incorporated_partnership` and `unincorporated_partnership` on enums `Account.company.structure`, `AccountCreateParams.company.structure`, `AccountUpdateParams.company.structure`, and `TokenCreateParams.account.company.structure`
305
185
  * Add support for new value `payment_reversal` on enum `BalanceTransaction.type`
306
186
  * Change `Invoice.subscription_details.metadata` and `Invoice.subscription_details` to be required
307
187
 
308
- ## 12.18.0-beta.1 - 2023-08-03
309
- * [#1861](https://github.com/stripe/stripe-node/pull/1861) Update generated code for beta
310
- * Add support for `submit_card` test helper method on resource `Issuing.Card`
311
- * Add support for `address_validation` on `Issuing.Card.shipping` and `Issuing.CardCreateParams.shipping`
312
- * Add support for `shipping` on `Issuing.CardUpdateParams`
313
- * Add support for new value `submitted` on enum `Issuing.Card.shipping.status`
314
- * Change type of `OrderCreateParams.line_items[].product_data.description`, `OrderCreateParams.line_items[].product_data.tax_code`, `OrderCreateParams.shipping_details.phone`, `OrderUpdateParams.description`, `OrderUpdateParams.line_items[].product_data.description`, `OrderUpdateParams.line_items[].product_data.tax_code`, `OrderUpdateParams.shipping_details.phone`, `PaymentMethodConfigurationListParams.application`, and `QuoteUpdateParams.subscription_data_overrides[].description` from `string` to `emptyStringable(string)`
315
- * Add support for `reason` on `QuoteMarkStaleQuoteParams`
316
- * Add support for `marked_stale` on `Quote.status_details.stale.last_reason`
317
- * Change `Tax.FormListParams.payee.type` to be optional
318
- * [#1864](https://github.com/stripe/stripe-node/pull/1864) Remove developer_message support
319
-
320
188
  ## 12.17.0 - 2023-08-03
321
189
  * [#1863](https://github.com/stripe/stripe-node/pull/1863) Update generated code
322
190
  * Change many types from `string` to `emptyStringable(string)`
@@ -325,14 +193,14 @@
325
193
  * Add support for new values `sepa_debit_fingerprint` and `us_bank_account_fingerprint` on enums `Radar.ValueList.item_type` and `Radar.ValueListCreateParams.item_type`
326
194
  * [#1866](https://github.com/stripe/stripe-node/pull/1866) Allow monkey patching http / https
327
195
 
328
- ## 12.17.0-beta.1 - 2023-07-27
329
- * Updated stable APIs to the latest version
330
-
331
196
  ## 12.16.0 - 2023-07-27
332
197
  * [#1853](https://github.com/stripe/stripe-node/pull/1853) Update generated code
333
198
  * Add support for `monthly_estimated_revenue` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
334
199
  * [#1859](https://github.com/stripe/stripe-node/pull/1859) Revert "import * as http -> import http from 'http'"
335
200
 
201
+ ## 12.15.0 - 2023-07-27 (DEPRECATED ⚠️ )
202
+ * This version included a breaking change [#1859](https://github.com/stripe/stripe-node/pull/1859) that we should not have released. It has been deprecated on npmjs.org. Please do not use this version.
203
+
336
204
  ## 12.14.0 - 2023-07-20
337
205
  * [#1842](https://github.com/stripe/stripe-node/pull/1842) Update generated code
338
206
  * Add support for new value `ro_tin` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, and `Tax.Transaction.customer_details.tax_ids[].type`
@@ -343,17 +211,6 @@
343
211
  * [#1849](https://github.com/stripe/stripe-node/pull/1849) Changelog: fix delimiterless namespaced param types
344
212
  * [#1848](https://github.com/stripe/stripe-node/pull/1848) Changelog: `CheckoutSessionCreateParams` -> `Checkout.SessionCreateParams`
345
213
 
346
- ## 12.14.0-beta.1 - 2023-07-13
347
- * [#1840](https://github.com/stripe/stripe-node/pull/1840) Update generated code for beta
348
- Release specs are identical.
349
- * [#1837](https://github.com/stripe/stripe-node/pull/1837) Update generated code for beta
350
- * Add support for new resource `PaymentMethodConfiguration`
351
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
352
- * Add support for `payment_method_configuration` on `PaymentIntentCreateParams` and `PaymentIntentUpdateParams`
353
- * Add support for `payment_method_configuration_details` on `PaymentIntent`
354
- * Rename `Tax.SettingRetrieveParam` to `Tax.SettingsRetrieveParam` and `Tax.SettingUpdateParams` to `Tax.SettingsUpdateParams` (parity with main release)
355
- * [#1832](https://github.com/stripe/stripe-node/pull/1832) Update generated code for beta
356
-
357
214
  ## 12.13.0 - 2023-07-13
358
215
  * [#1838](https://github.com/stripe/stripe-node/pull/1838) Update generated code
359
216
  * Add support for new resource `Tax.Settings`
@@ -370,11 +227,6 @@
370
227
  * Add support for `numeric` and `text` on `PaymentLink.custom_fields[]`
371
228
  * Add support for `automatic_tax` on `SubscriptionListParams`
372
229
 
373
- ## 12.12.0-beta.1 - 2023-06-29
374
- * [#1824](https://github.com/stripe/stripe-node/pull/1824) Update generated code for beta
375
- * Add support for `metadata` on `Invoice.subscription_details`
376
- * Change `Invoice.subscription_details.pause_collection` to be optional
377
-
378
230
  ## 12.11.0 - 2023-06-29
379
231
  * [#1823](https://github.com/stripe/stripe-node/pull/1823) Update generated code
380
232
  * Add support for new value `application_fees_not_allowed` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
@@ -382,26 +234,16 @@
382
234
  * Add support for `effective_at` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
383
235
  * [#1828](https://github.com/stripe/stripe-node/pull/1828) Better CryptoProvider error
384
236
 
385
- ## 12.11.0-beta.1 - 2023-06-22
386
- * [#1821](https://github.com/stripe/stripe-node/pull/1821) Update generated code for beta
387
- * Add support for new resource `CustomerSession`
388
- * Add support for `create` method on resource `CustomerSession`
389
- * Change type of `Tax.Registration.country_options.us.type` and `TaxRegistrationCreateParams.country_options.us.type` from `literal('state_sales_tax')` to `enum('local_lease_tax'|'state_sales_tax')`
390
-
391
237
  ## 12.10.0 - 2023-06-22
392
238
  * [#1820](https://github.com/stripe/stripe-node/pull/1820) Update generated code
393
239
  * Add support for `on_behalf_of` on `Mandate`
240
+ * [#1817](https://github.com/stripe/stripe-node/pull/1817) Update README.md
241
+ * [#1819](https://github.com/stripe/stripe-node/pull/1819) Update generated code
242
+ * Release specs are identical.
394
243
  * [#1813](https://github.com/stripe/stripe-node/pull/1813) Update generated code
395
244
  * Change type of `Checkout.Session.success_url` from `string` to `string | null`
396
-
397
- ## 12.10.0-beta.2 - 2023-06-15
398
- * [#1818](https://github.com/stripe/stripe-node/pull/1818) Update generated code for beta
399
- * Add support for `payment_details` on `ChargeCaptureParams`, `ChargeUpdateParams`, `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
400
- * 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`
401
- * [#1814](https://github.com/stripe/stripe-node/pull/1814) Update generated code for beta
402
-
403
- ## 12.10.0-beta.1 - 2023-06-08
404
- * [#1811](https://github.com/stripe/stripe-node/pull/1811) Update generated code for beta
245
+ * Change type of `FileCreateParams.file` from `string` to `file`
246
+ * [#1815](https://github.com/stripe/stripe-node/pull/1815) Generate FileCreateParams
405
247
 
406
248
  ## 12.9.0 - 2023-06-08
407
249
  * [#1809](https://github.com/stripe/stripe-node/pull/1809) Update generated code
@@ -409,20 +251,6 @@
409
251
  * Add support for `taxability_reason` on `Tax.Calculation.tax_breakdown[]`
410
252
  * [#1812](https://github.com/stripe/stripe-node/pull/1812) More helpful error when signing secrets contain whitespace
411
253
 
412
- ## 12.9.0-beta.1 - 2023-06-01
413
- * [#1801](https://github.com/stripe/stripe-node/pull/1801) Update generated code for beta
414
- * Add support for `subscription_details` on `Invoice`
415
- * 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[]`
416
- * 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`
417
- * Add support for `set_pause_collection` on `QuoteCreateParams.lines[]`, `QuoteLine`, `QuoteUpdateParams.lines[]`, and `SubscriptionScheduleAmendParams.amendments[]`
418
- * 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`
419
- * Add support for `pause_collection` on `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, and `SubscriptionScheduleUpdateParams.phases[]`
420
- * Add support for `local_amusement_tax` on `Tax.Registration.country_options.us` and `TaxRegistrationCreateParams.country_options.us`
421
- * Remove support for `locations` on `Tax.Settings` and `TaxSettingUpdateParams`
422
- * Add support for new values `customer.subscription.collection_paused` and `customer.subscription.collection_resumed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
423
- * [#1775](https://github.com/stripe/stripe-node/pull/1775) Introduce stripe.rawRequest as a canonical way to request APIs without definitions
424
- * Please refer to the [Custom Requests README section](https://github.com/stripe/stripe-node/tree/beta#custom-requests) for usage instructions.
425
-
426
254
  ## 12.8.0 - 2023-06-01
427
255
  * [#1799](https://github.com/stripe/stripe-node/pull/1799) Update generated code
428
256
  * Add support for `numeric` and `text` on `Checkout.SessionCreateParams.custom_fields[]`, `PaymentLinkCreateParams.custom_fields[]`, and `PaymentLinkUpdateParams.custom_fields[]`
@@ -433,9 +261,6 @@
433
261
  * Add support for `description`, `iin`, and `issuer` on `PaymentMethod.card_present` and `PaymentMethod.interac_present`
434
262
  * Add support for `payer_email` on `PaymentMethod.paypal`
435
263
 
436
- ## 12.8.0-beta.1 - 2023-05-25
437
- * [#1795](https://github.com/stripe/stripe-node/pull/1795) Update generated code for beta
438
-
439
264
  ## 12.7.0 - 2023-05-25
440
265
  * [#1797](https://github.com/stripe/stripe-node/pull/1797) Update generated code
441
266
  * Add support for `zip_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -446,13 +271,6 @@
446
271
  * 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`
447
272
  * Add support for new value `zip` on enum `PaymentMethod.type`
448
273
 
449
- ## 12.7.0-beta.1 - 2023-05-19
450
- * [#1788](https://github.com/stripe/stripe-node/pull/1788) Update generated code for beta
451
- * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
452
- * 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`
453
- * Add support for `status_details` and `status` on `Tax.Settings`
454
- * Add support for new value `tax.settings.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
455
-
456
274
  ## 12.6.0 - 2023-05-19
457
275
  * [#1787](https://github.com/stripe/stripe-node/pull/1787) Update generated code
458
276
  * Add support for `subscription_update_confirm` and `subscription_update` on `BillingPortal.Session.flow` and `BillingPortal.SessionCreateParams.flow_data`
@@ -461,18 +279,6 @@
461
279
  * Add support for `buyer_id` and `cashtag` on `Charge.payment_method_details.cashapp` and `PaymentMethod.cashapp`
462
280
  * Add support for new values `amusement_tax` and `communications_tax` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
463
281
 
464
- ## 12.6.0-beta.1 - 2023-05-11
465
- * [#1786](https://github.com/stripe/stripe-node/pull/1786) Update generated code for beta
466
- * Add support for `payer_email`, `payer_name`, and `seller_protection` on `Charge.payment_method_details.paypal`
467
- * 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
468
- * Add support for `capture_method`, `preferred_locale`, `reference_id`, and `setup_future_usage` on `CheckoutSessionCreateParams.payment_method_options.paypal`
469
- * 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`
470
- * 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`
471
- * Remove support for `billing_agreement_id` and `currency` on `CheckoutSessionCreateParams.payment_method_options.paypal`
472
- * Add support for `fingerprint`, `payer_id`, and `verified_email` on `Mandate.payment_method_details.paypal` and `PaymentMethod.paypal`
473
- * Add support for `taxability_reason` and `taxable_amount` on `Order.shipping_cost.taxes[]`, `Order.total_details.breakdown.taxes[]`, and `QuotePhase.total_details.breakdown.taxes[]`
474
- * Add support for `head_office` on `Tax.Settings` and `TaxSettingUpdateParams`
475
-
476
282
  ## 12.5.0 - 2023-05-11
477
283
  * [#1785](https://github.com/stripe/stripe-node/pull/1785) Update generated code
478
284
  * Add support for `paypal` on `Charge.payment_method_details`, `Checkout.SessionCreateParams.payment_method_options`, `Mandate.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupAttempt.payment_method_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentCreateParams.payment_method_options`, `SetupIntentUpdateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_options`
@@ -490,34 +296,12 @@
490
296
  * Add support for `effective_percentage` on `TaxRate`
491
297
  * Add support for `gb_bank_transfer` and `jp_bank_transfer` on `CustomerCashBalanceTransaction.Funded.BankTransfer`
492
298
 
493
- ## 12.5.0-beta.1 - 2023-05-04
494
- * [#1773](https://github.com/stripe/stripe-node/pull/1773) Update generated code for beta
495
- * Updated stable APIs to the latest version
496
-
497
299
  ## 12.4.0 - 2023-05-04
498
300
  * [#1774](https://github.com/stripe/stripe-node/pull/1774) Update generated code
499
301
  * Add support for `link` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
500
302
  * Add support for `brand`, `country`, `description`, `exp_month`, `exp_year`, `fingerprint`, `funding`, `iin`, `issuer`, `last4`, `network`, and `wallet` on `SetupAttempt.payment_method_details.card`
501
303
  * [#1782](https://github.com/stripe/stripe-node/pull/1782) Let user supply a timestamp when verifying webhooks
502
304
 
503
- ## 12.4.0-beta.1 - 2023-04-27
504
- * [#1769](https://github.com/stripe/stripe-node/pull/1769) Update generated code for beta
505
- * Add support for `billing_cycle_anchor` and `proration_behavior` on `CheckoutSessionCreateParams.subscription_data`
506
- * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
507
- * Add support for `metadata` on `PaymentIntentCaptureParams`
508
- * Add support for `checks` on `SetupAttempt.payment_method_details.card`
509
- * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
510
- * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
511
-
512
- ## 12.3.0 - 2023-04-27
513
- * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
514
- * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
515
- * Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
516
- * Add support for `metadata` on `PaymentIntentCaptureParams`
517
- * Add support for `checks` on `SetupAttempt.payment_method_details.card`
518
- * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
519
- * Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
520
-
521
305
  ## 12.3.0 - 2023-04-27
522
306
  * [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
523
307
  * Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
@@ -526,12 +310,6 @@
526
310
  * Add support for `checks` on `SetupAttempt.payment_method_details.card`
527
311
  * Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
528
312
 
529
- ## 12.3.0-beta.1 - 2023-04-20
530
- * [#1760](https://github.com/stripe/stripe-node/pull/1760) Update generated code for beta
531
- * Add support for `zip` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
532
- * Add support for `country_options` on `Tax.Registration` and `TaxRegistrationCreateParams`
533
- * Remove support for `state` and `type` on `Tax.Registration` and `TaxRegistrationCreateParams`
534
-
535
313
  ## 12.2.0 - 2023-04-20
536
314
  * [#1759](https://github.com/stripe/stripe-node/pull/1759) Update generated code
537
315
  * Change `Checkout.Session.currency_conversion` to be required
@@ -541,16 +319,6 @@
541
319
  * [#1762](https://github.com/stripe/stripe-node/pull/1762) Add Deno webhook signing example
542
320
  * [#1761](https://github.com/stripe/stripe-node/pull/1761) Add Deno usage instructions in README
543
321
 
544
- ## 12.2.0-beta.1 - 2023-04-13
545
- * [#1751](https://github.com/stripe/stripe-node/pull/1751) Update generated code for beta
546
- * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
547
- * Add support for `paypal_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
548
- * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
549
- * Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal.Reader.action`
550
- * Add support for `stripe_account` on `Terminal.Reader.action.process_payment_intent` and `Terminal.Reader.action.refund_payment`
551
- * Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `Terminal.Reader.action.type`
552
- * Add support for new value `terminal.reader.action_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
553
-
554
322
  ## 12.1.1 - 2023-04-13
555
323
  No product changes.
556
324
 
@@ -559,16 +327,6 @@ No product changes.
559
327
  * Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
560
328
  * [#1749](https://github.com/stripe/stripe-node/pull/1749) Type extend and ResourceNamespace better
561
329
 
562
- ## 12.1.0-beta.1 - 2023-04-06
563
- * [#1737](https://github.com/stripe/stripe-node/pull/1737) Update generated code for beta
564
- * Add support for `treasury_transaction` on `CapitalFinancingTransactionListParams`
565
- * Add support for `transaction` on `Capital.FinancingTransaction.details`
566
- * Add support for new value `link` on enums `Charge.payment_method_details.card.wallet.type` and `PaymentMethod.card.wallet.type`
567
- * Change `IssuingCardholderCreateParams.type` to be optional
568
- * Add support for `country` on `PaymentMethod.link`
569
- * Add support for `status_details` on `PaymentMethod.us_bank_account`
570
- * [#1750](https://github.com/stripe/stripe-node/pull/1750) Merge master into beta
571
-
572
330
  ## 12.0.0 - 2023-04-06
573
331
  * [#1743](https://github.com/stripe/stripe-node/pull/1743) Remove `Stripe.default` and `Stripe.Stripe`
574
332
  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.
@@ -611,11 +369,6 @@ This was added to maintain backwards compatibility during the transition of stri
611
369
  * Add support for `status_details` on `PaymentMethod.us_bank_account`
612
370
  * [#1747](https://github.com/stripe/stripe-node/pull/1747) (Typescript) remove deprecated properties
613
371
 
614
- ## 11.18.0-beta.1 - 2023-03-30
615
- * [#1735](https://github.com/stripe/stripe-node/pull/1735) Update generated code
616
- * Add support for new value `ioss` on enums `Tax.Registration.type` and `TaxRegistrationCreateParams.type`
617
- * Change `TerminalReaderCollectInputsParams.inputs[].custom_text.description` to be optional
618
-
619
372
  ## 11.17.0 - 2023-03-30
620
373
  * [#1734](https://github.com/stripe/stripe-node/pull/1734) Update generated code
621
374
  * Remove support for `create` method on resource `Tax.Transaction`
@@ -625,21 +378,6 @@ This was added to maintain backwards compatibility during the transition of stri
625
378
  * This is not a breaking change, as `deleted` was never returned or accepted as input.
626
379
  * Add support for `amount_tip` on `Terminal.ReaderPresentPaymentMethodParams.testHelpers`
627
380
 
628
- ## 11.17.0-beta.1 - 2023-03-23
629
- * [#1724](https://github.com/stripe/stripe-node/pull/1724) Update generated code for beta (new)
630
- * Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
631
- * Add support for `collect_inputs` method on resource `Terminal.Reader`
632
- * Add support for `financing_offer` on `Capital.FinancingSummary`
633
- * Add support for new value `link` on enum `CheckoutSessionCreateParams.payment_method_types[]`
634
- * Add support for `fx_rate` on `Checkout.Session.currency_conversion`
635
- * Add support for new value `link` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
636
- * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
637
- * Remove support for `preview` on `TaxCalculationCreateParams`
638
- * Change type of `Tax.Calculation.line_items[]` from `LineItem` to `Tax.CalculationLineItem`
639
- * Change type of `Tax.Transaction.line_items[]` from `LineItem` to `Tax.TransactionLineItem`
640
- * Add support for `collect_inputs` on `Terminal.Reader.action`
641
- * Add support for new value `collect_inputs` on enum `Terminal.Reader.action.type`
642
-
643
381
  ## 11.16.0 - 2023-03-23
644
382
  * [#1730](https://github.com/stripe/stripe-node/pull/1730) Update generated code
645
383
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
@@ -651,19 +389,6 @@ This was added to maintain backwards compatibility during the transition of stri
651
389
  * Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
652
390
  * [#1726](https://github.com/stripe/stripe-node/pull/1726) Add Deno entry point
653
391
 
654
- ## 11.16.0-beta.1 - 2023-03-17
655
- * [#1713](https://github.com/stripe/stripe-node/pull/1713) API Updates
656
- * Add support for `create_from_calculation` method on resource `Tax.Transaction`
657
- * Change type of `Invoice.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
658
- * 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`
659
- * 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`
660
- * 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`
661
- * 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
662
- * Remove support for `applies_to` on `QuotePreviewInvoiceLinesParams`
663
- * Add support for `shipping_cost` on `Tax.Calculation`, `Tax.Transaction`, `TaxCalculationCreateParams`, and `TaxTransactionCreateReversalParams`
664
- * Add support for `tax_breakdown` on `Tax.Calculation`
665
- * Remove support for `tax_summary` on `Tax.Calculation`
666
-
667
392
  ## 11.15.0 - 2023-03-16
668
393
  * [#1714](https://github.com/stripe/stripe-node/pull/1714) API Updates
669
394
  * Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -692,16 +417,6 @@ This was added to maintain backwards compatibility during the transition of stri
692
417
  * Add support for new value `cashapp` on enum `PaymentMethod.type`
693
418
  * Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
694
419
 
695
- ## 11.15.0-beta.1 - 2023-03-09
696
- * [#1705](https://github.com/stripe/stripe-node/pull/1705) API Updates for beta branch
697
- * Updated stable APIs to the latest version
698
- * Remove support for `list_transactions` method on resource `Tax.Transaction`
699
- * Add support for `amendment_start` and `timestamp` on `SubscriptionScheduleAmendParams.prebilling[].bill_from`
700
- * Change type of `SubscriptionScheduleAmendParams.prebilling[].bill_from.type` from `literal('now')` to `enum('amendment_start'|'now'|'timestamp')`
701
- * Change type of `SubscriptionSchedule.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
702
- * Add support for new value `lease_tax` on enum `Tax.Calculation.tax_summary[].tax_rate_details.tax_type`
703
- * Add support for `tax_behavior` on `Tax.Settings.defaults` and `TaxSettingUpdateParams.defaults`
704
-
705
420
  ## 11.14.0 - 2023-03-09
706
421
  * [#1703](https://github.com/stripe/stripe-node/pull/1703) API Updates
707
422
  * Add support for `card_issuing` on `Issuing.CardholderCreateParams.individual` and `Issuing.CardholderUpdateParams.individual`
@@ -712,25 +427,6 @@ This was added to maintain backwards compatibility during the transition of stri
712
427
  * [#1695](https://github.com/stripe/stripe-node/pull/1695) Migrate generated files to ES module syntax
713
428
  * [#1699](https://github.com/stripe/stripe-node/pull/1699) Remove extra test directory
714
429
 
715
- ## 11.14.0-beta.2 - 2023-03-03
716
- * [#1698](https://github.com/stripe/stripe-node/pull/1698) API Updates for beta branch
717
- * Updated stable APIs to the latest version
718
- * Add support for `update_behavior` on `Subscription.prebilling`, `SubscriptionCreateParams.prebilling`, `SubscriptionSchedule.prebilling`, `SubscriptionScheduleCreateParams.prebilling`, `SubscriptionScheduleUpdateParams.prebilling`, and `SubscriptionUpdateParams.prebilling`
719
- * Add support for `prebilling` on `SubscriptionScheduleAmendParams`
720
- * Add support for `taxability_override` on `Tax.Calculation.customer_details`, `Tax.Transaction.customer_details`, and `TaxCalculationCreateParams.customer_details`
721
- * Add support for `tax_summary` on `Tax.Calculation`
722
- * Remove support for `tax_breakdown` on `Tax.Calculation`
723
-
724
- ## 11.14.0-beta.1 - 2023-03-02
725
- * [#1697](https://github.com/stripe/stripe-node/pull/1697) API Updates for beta branch
726
- * Updated stable APIs to the latest version
727
- * Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
728
- * Add support for `list` and `retrieve` methods on resource `CardBundle`
729
- * Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
730
- * Remove support for `controller` on `AccountUpdateParams`
731
- * Add support for `card_design` on `Issuing.Card` and `IssuingCardCreateParams`
732
- * 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[]`
733
-
734
430
  ## 11.13.0 - 2023-03-02
735
431
  * [#1696](https://github.com/stripe/stripe-node/pull/1696) API Updates
736
432
  * 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.
@@ -739,14 +435,6 @@ This was added to maintain backwards compatibility during the transition of stri
739
435
 
740
436
  * [#1689](https://github.com/stripe/stripe-node/pull/1689) Update v11.8.0 changelog with breaking change disclaimer
741
437
 
742
- ## 11.13.0-beta.1 - 2023-02-23
743
- * [#1690](https://github.com/stripe/stripe-node/pull/1690) API Updates for beta branch
744
- * Updated stable APIs to the latest version
745
- * 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`
746
- * Add support for new value `igst` on enum `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`
747
- * Change `TaxTransactionCreateParams.reference` to be required
748
- * 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[]`
749
-
750
438
  ## 11.12.0 - 2023-02-23
751
439
  * [#1688](https://github.com/stripe/stripe-node/pull/1688) API Updates
752
440
  * 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`
@@ -754,15 +442,6 @@ This was added to maintain backwards compatibility during the transition of stri
754
442
  * Add support for new value `igst` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
755
443
  * [#1687](https://github.com/stripe/stripe-node/pull/1687) Convert TypeScript files to use ES modules
756
444
 
757
- ## 11.12.0-beta.1 - 2023-02-16
758
- * [#1686](https://github.com/stripe/stripe-node/pull/1686) API Updates for beta branch
759
- * Updated stable APIs to the latest version
760
- * Change type of `Quote.status_details.canceled` from `QuotesResourceStatusDetailsCanceledStatusDetails | null` to `QuotesResourceStatusDetailsCanceledStatusDetails`
761
- * Change type of `Quote.status_details.stale` from `QuotesResourceStatusDetailsStaleStatusDetails | null` to `QuotesResourceStatusDetailsStaleStatusDetails`
762
- * Change `Quote.status_details.canceled` and `Quote.status_details.stale` to be optional
763
- * Remove support for `reference` on `Tax.Calculation` and `TaxCalculationCreateParams`
764
- * Add support for `reference` on `TaxTransactionCreateParams`
765
-
766
445
  ## 11.11.0 - 2023-02-16
767
446
  * [#1681](https://github.com/stripe/stripe-node/pull/1681) API Updates
768
447
  * Add support for `refund_payment` method on resource `Terminal.Reader`
@@ -777,32 +456,9 @@ This was added to maintain backwards compatibility during the transition of stri
777
456
  * [#1685](https://github.com/stripe/stripe-node/pull/1685) Add more webhook parsing checks
778
457
  * [#1684](https://github.com/stripe/stripe-node/pull/1684) Add infrastructure for mocked tests
779
458
 
780
- ## 11.11.0-beta.1 - 2023-02-13
781
- * [#1676](https://github.com/stripe/stripe-node/pull/1676) API Updates for beta branch
782
- * Updated stable APIs to the latest version
783
- * Add support for `currency_conversion` on `Checkout.Session`
784
- * Add support for `limits` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
785
- * Remove support for `enabled` on `FinancialConnectionsSessionCreateParams.manual_entry`
786
-
787
459
  ## 11.10.0 - 2023-02-09
788
460
  * [#1679](https://github.com/stripe/stripe-node/pull/1679) Enable library to work in worker environments without extra configuration.
789
461
 
790
- ## 11.10.0-beta.1 - 2023-02-02
791
- * [#1671](https://github.com/stripe/stripe-node/pull/1671) API Updates for beta branch
792
- * Updated stable APIs to the latest version
793
- * Add support for new resource `FinancialConnections.Transaction`
794
- * Add support for `list` method on resource `Transaction`
795
- * Add support for `prefetch` on `.payment_method_options.us_bank_account.financial_connections` across several APIs
796
- * 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
797
- * Add support for new values `inferred_balances` and `transactions` on enum `FinancialConnectionsAccountRefreshParams.features[]`
798
- * Add support for `inferred_balances_refresh`, `subscriptions`, and `transaction_refresh` on `FinancialConnections.Account`
799
- * Add support for `manual_entry` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
800
- * Add support for `status_details` and `status` on `FinancialConnections.Session`
801
- * 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[]`
802
- * Add support for `account_number` on `PaymentMethod.us_bank_account`
803
- * Remove support for `id` on `QuoteCreateParams.lines[].starts_at.line_ends_at`
804
- * 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[]`
805
-
806
462
  ## 11.9.1 - 2023-02-03
807
463
  * [#1672](https://github.com/stripe/stripe-node/pull/1672) Update main entrypoint on package.json
808
464
 
@@ -828,23 +484,12 @@ This was added to maintain backwards compatibility during the transition of stri
828
484
  * [#1668](https://github.com/stripe/stripe-node/pull/1668) Use EventTarget in worker / browser runtimes
829
485
  * [#1667](https://github.com/stripe/stripe-node/pull/1667) fix: added support for TypeScript "NodeNext" module resolution
830
486
 
831
- ## 11.9.0-beta.1 - 2023-01-26
832
- * [#1666](https://github.com/stripe/stripe-node/pull/1666) API Updates for beta branch
833
- * Updated stable APIs to the latest version
834
- * Add support for `billing_agreement_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`
835
- * Add support for `list_transactions` method on resource `Tax.Transaction`
836
- * Change type of `QuoteUpdateParams.subscription_data_overrides` from `array(create_specs)` to `emptyStringable(array(update_specs))`
837
-
838
487
  ## 11.8.0 - 2023-01-26
839
488
  * [#1665](https://github.com/stripe/stripe-node/pull/1665) API Updates
840
489
  * 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`
841
490
  * 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`
842
491
  * [#1660](https://github.com/stripe/stripe-node/pull/1660) Introduce separate entry point for worker environments
843
-
844
- ## 11.8.0-beta.1 - 2023-01-19
845
- * [#1662](https://github.com/stripe/stripe-node/pull/1662) API Updates for beta branch
846
- * Updated stable APIs to the latest version
847
- * Add support for `Tax.Settings` resource.
492
+ * 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.
848
493
 
849
494
  ## 11.7.0 - 2023-01-19
850
495
  * [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
@@ -852,39 +497,10 @@ This was added to maintain backwards compatibility during the transition of stri
852
497
  * Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
853
498
  * [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3
854
499
 
855
- ## 11.7.0-beta.2 - 2023-01-12
856
- * [#1653](https://github.com/stripe/stripe-node/pull/1653) API Updates for beta branch
857
- * Updated stable APIs to the latest version
858
- * Add support for new resource `Tax.Registration`
859
- * Add support for `create`, `list`, and `update` methods on resource `Registration`
860
- * Add support for `controller` on `AccountCreateParams` and `AccountUpdateParams`
861
- * Add support for `application` and `dashboard` on `Account.controller`
862
- * Change type of `Quote.subscription_data_overrides[].proration_behavior` from `enum('always_invoice'|'create_prorations'|'none')` to `enum('always_invoice'|'create_prorations'|'none') | null`
863
- * Remove support for `timestamp` on `QuoteLine.actions[].add_discount.discount_end`
864
- * Change type of `QuoteLine.actions[].add_discount.discount_end.type` from `literal('timestamp')` to `literal('line_ends_at')`
865
- * 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[]`
866
- * Change `QuoteLine.actions[].add_discount.index` to be required
867
- * Add support for new values `quote.accepting`, `quote.reestimated`, and `quote.stale` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
868
-
869
- * Change `quote.draft_quote` implementation from hitting `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
870
-
871
- ## 11.7.0-beta.1 - 2023-01-05
872
- * [#1648](https://github.com/stripe/stripe-node/pull/1648) API Updates for beta branch
873
- * Updated stable APIs to the latest version
874
- * Add support for `mark_stale_quote` method on resource `Quote`
875
- * 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`
876
- * 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`
877
- * Add support for `metadata` on `Terminal.Reader.action.refund_payment` and `TerminalReaderRefundPaymentParams`
878
-
879
500
  ## 11.6.0 - 2023-01-05
880
501
  * [#1646](https://github.com/stripe/stripe-node/pull/1646) API Updates
881
502
  * Add support for `card_issuing` on `Issuing.Cardholder.individual`
882
503
 
883
- ## 11.6.0-beta.1 - 2022-12-22
884
- * [#1643](https://github.com/stripe/stripe-node/pull/1643) API Updates for beta branch
885
- * Updated stable APIs to the latest version
886
- * Move `stripe.taxCalculations` to `stripe.tax.calculations` and `stripe.taxTransactions` to `stripe.tax.transactions`.
887
-
888
504
  ## 11.5.0 - 2022-12-22
889
505
  * [#1642](https://github.com/stripe/stripe-node/pull/1642) API Updates
890
506
  * 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`
@@ -892,13 +508,6 @@ This was added to maintain backwards compatibility during the transition of stri
892
508
  * Change `Checkout.SessionCreateParams.cancel_url` to be optional
893
509
  * Change type of `Checkout.Session.cancel_url` from `string` to `string | null`
894
510
 
895
- ## 11.5.0-beta.1 - 2022-12-15
896
- * [#1640](https://github.com/stripe/stripe-node/pull/1640) API Updates for beta branch
897
- * Updated stable APIs to the latest version
898
- * Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction`
899
- * Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
900
- * Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
901
-
902
511
  ## 11.4.0 - 2022-12-15
903
512
  * [#1639](https://github.com/stripe/stripe-node/pull/1639) API Updates
904
513
  * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
@@ -908,12 +517,6 @@ This was added to maintain backwards compatibility during the transition of stri
908
517
  * [#1634](https://github.com/stripe/stripe-node/pull/1634) API Updates
909
518
  * Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` to be optional
910
519
 
911
- ## 11.3.0-beta.1 - 2022-12-08
912
- * [#1635](https://github.com/stripe/stripe-node/pull/1635) API Updates for beta branch
913
- * Updated stable APIs to the latest version
914
- * [#1633](https://github.com/stripe/stripe-node/pull/1633) API Updates for beta branch
915
- * Updated stable APIs to the latest version
916
-
917
520
  ## 11.2.0 - 2022-12-06
918
521
  * [#1632](https://github.com/stripe/stripe-node/pull/1632) API Updates
919
522
  * Add support for `flow_data` on `BillingPortal.SessionCreateParams`
@@ -937,6 +540,7 @@ This was added to maintain backwards compatibility during the transition of stri
937
540
  * Add support for `custom_text` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
938
541
  * Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code`
939
542
 
543
+
940
544
  ## 11.0.0 - 2022-11-16
941
545
 
942
546
  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
@@ -949,11 +553,62 @@ This release includes breaking changes resulting from moving to use the new API
949
553
  * [#1615](https://github.com/stripe/stripe-node/pull/1615) API Updates
950
554
  * ⚠️ Remove support for `tos_shown_and_accepted` on `Checkout.SessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked.
951
555
 
952
- ## 10.18.0-beta.1 - 2022-11-10
953
- * [#1616](https://github.com/stripe/stripe-node/pull/1616) API Updates for beta branch
954
- * Updated stable APIs to the latest version
955
- * Add `discount_end` to `Discount`.
956
- * Add `url` to `MerchantData`.
556
+ ### ⚠️ Changed
557
+ * Drop support for Node.js 8 and 10. We now support Node.js 12+. ((#1579)
558
+ * 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)
559
+
560
+ ### ⚠️ Removed
561
+ * Remove `Orders` resource. (#1580)
562
+ * Remove `SKU` resource (#1583)
563
+ * Remove deprecated `Checkout.SessionCreateParams.subscription_data.items`. (#1580)
564
+ * Remove deprecated configuration setter methods (`setHost`, `setProtocol`, `setPort`, `setApiVersion`, `setApiKey`, `setTimeout`, `setAppInfo`, `setHttpAgent`, `setMaxNetworkRetries`, and `setTelemetryEnabled`). (#1597)
565
+
566
+ Use the config object to set these options instead, for example:
567
+ ```typescript
568
+ const stripe = Stripe('sk_test_...', {
569
+ apiVersion: '2019-08-08',
570
+ maxNetworkRetries: 1,
571
+ httpAgent: new ProxyAgent(process.env.http_proxy),
572
+ timeout: 1000,
573
+ host: 'api.example.com',
574
+ port: 123,
575
+ telemetry: true,
576
+ });
577
+ ```
578
+ * Remove deprecated basic method definitions. (#1600)
579
+ Use basic methods defined on the resource instead.
580
+ ```typescript
581
+ // Before
582
+ basicMethods: true
583
+
584
+ // After
585
+ create: stripeMethod({
586
+ method: 'POST',
587
+ fullPath: '/v1/resource',
588
+ }),
589
+ list: stripeMethod({
590
+ method: 'GET',
591
+ methodType: 'list',
592
+ fullPath: '/v1/resource',
593
+ }),
594
+ retrieve: stripeMethod({
595
+ method: 'GET',
596
+ fullPath: '/v1/resource/{id}',
597
+ }),
598
+ update: stripeMethod({
599
+ method: 'POST',
600
+ fullPath: '/v1/resource/{id}',
601
+ }),
602
+ // Avoid 'delete' keyword in JS
603
+ del: stripeMethod({
604
+ method: 'DELETE',
605
+ fullPath: '/v1/resource/{id}',
606
+ }),
607
+ ```
608
+ * 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)
609
+ * Remove `charges` field on `PaymentIntent` and replace it with `latest_charge`. (#1614 )
610
+ * Remove deprecated `amount` field on `Checkout.Session.LineItem`. (#1614 )
611
+ * Remove support for `tos_shown_and_accepted` on `Checkout.Session.PaymentMethodOptions.Paynow`. (#1614 )
957
612
 
958
613
  ## 10.17.0 - 2022-11-08
959
614
  * [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates
@@ -967,22 +622,6 @@ This release includes breaking changes resulting from moving to use the new API
967
622
  * Add support for `on_behalf_of` on `Checkout.SessionCreateParams.subscription_data`, `SubscriptionCreateParams`, `SubscriptionSchedule.default_settings`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.default_settings`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.default_settings`, `SubscriptionScheduleUpdateParams.phases[]`, `SubscriptionUpdateParams`, and `Subscription`
968
623
  * Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]`
969
624
 
970
- ## 10.16.0-beta.2 - 2022-11-02
971
- * [#1598](https://github.com/stripe/stripe-node/pull/1598) API Updates for beta branch
972
- * Updated beta APIs to the latest stable version
973
- * Add support for `cashappPayments` and `zipPayments` on `Account`.
974
- * Add support for `cashapp` and `zip` on `Charge`, `PaymentMethod`.
975
- * Add support for `trialSettings` on `SubscriptionSchedule`.
976
-
977
- ## 10.16.0-beta.1 - 2022-10-21
978
- * [#1589](https://github.com/stripe/stripe-node/pull/1589) API Updates for beta branch
979
- * Updated stable APIs to the latest version
980
- * Add support for new value `revoked` on enum `CapitalFinancingOfferListParams.status`
981
- * Add support for `paypal` on `Charge.payment_method_details` and `Source`
982
- * Add support for `network_data` on `Issuing.Transaction`
983
- * Add support for new value `paypal` on enum `Source.type`
984
- * Add support for `billing_cycle_anchor` on `SubscriptionScheduleAmendParams.amendments[]`
985
-
986
625
  ## 10.15.0 - 2022-10-20
987
626
  * [#1588](https://github.com/stripe/stripe-node/pull/1588) API Updates
988
627
  * 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`
@@ -990,11 +629,6 @@ This release includes breaking changes resulting from moving to use the new API
990
629
  * Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `Terminal.ReaderProcessPaymentIntentParams.process_config`
991
630
  * [#1585](https://github.com/stripe/stripe-node/pull/1585) use native UUID method if available
992
631
 
993
- ## 10.15.0-beta.1 - 2022-10-14
994
- * Add support for `schedule_settings` on `SubscriptionScheduleAmendParams`
995
- * Add support for new value `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_end.type`
996
- * Add support for new values `schedule_end` and `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_start.type`
997
-
998
632
  ## 10.14.0 - 2022-10-13
999
633
  * [#1582](https://github.com/stripe/stripe-node/pull/1582) API Updates
1000
634
  * 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`
@@ -1002,11 +636,6 @@ This release includes breaking changes resulting from moving to use the new API
1002
636
  * Add support for `network_data` on `Issuing.Authorization`
1003
637
  * ⚠️ Remove `currency`, `description`, `images`, and `name` from `Checkout.SessionCreateParams`. These properties do not work on the latest API version. (fixes #1575)
1004
638
 
1005
- ## 10.14.0-beta.1 - 2022-10-07
1006
- * [#1572](https://github.com/stripe/stripe-node/pull/1572) API Updates for beta branch
1007
- * Updated stable APIs to the latest version
1008
- * Add `reference_id` to `Paypal` interface.
1009
-
1010
639
  ## 10.13.0 - 2022-10-06
1011
640
  * [#1571](https://github.com/stripe/stripe-node/pull/1571) API Updates
1012
641
  * 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`
@@ -1027,11 +656,6 @@ This release includes breaking changes resulting from moving to use the new API
1027
656
  * [#1562](https://github.com/stripe/stripe-node/pull/1562) Restore lib after generating
1028
657
  * [#1551](https://github.com/stripe/stripe-node/pull/1551) Re-introduce Typescript changes
1029
658
 
1030
- ## 10.12.0-beta.1 - 2022-09-26
1031
- * [#1561](https://github.com/stripe/stripe-node/pull/1561) API Updates for beta branch
1032
- * Updated stable APIs to the latest version
1033
- * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
1034
-
1035
659
  ## 10.11.0 - 2022-09-22
1036
660
  * [#1560](https://github.com/stripe/stripe-node/pull/1560) API Updates
1037
661
  * Add support for `terms_of_service` on `Checkout.Session.consent_collection`, `Checkout.Session.consent`, `Checkout.SessionCreateParams.consent_collection`, `PaymentLink.consent_collection`, and `PaymentLinkCreateParams.consent_collection`
@@ -1039,6 +663,7 @@ This release includes breaking changes resulting from moving to use the new API
1039
663
  * Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams`
1040
664
  * Change `SubscriptionSchedule.phases[].currency` to be required
1041
665
 
666
+
1042
667
  ## 10.10.0 - 2022-09-15
1043
668
  * [#1552](https://github.com/stripe/stripe-node/pull/1552) API Updates
1044
669
  * Add support for `pix` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
@@ -1081,11 +706,6 @@ This release includes breaking changes resulting from moving to use the new API
1081
706
  * [#1532](https://github.com/stripe/stripe-node/pull/1532) Update coveralls step to run for one node version, remove finish step
1082
707
  * [#1531](https://github.com/stripe/stripe-node/pull/1531) Regen yarn.lock.
1083
708
 
1084
- ## 10.6.0-beta.1 - 2022-08-26
1085
- * [#1529](https://github.com/stripe/stripe-node/pull/1529) API Updates for beta branch
1086
- * Updated stable APIs to the latest version
1087
- * Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
1088
-
1089
709
  ## 10.5.0 - 2022-08-24
1090
710
  * [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
1091
711
  * [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation
@@ -1100,11 +720,6 @@ This release includes breaking changes resulting from moving to use the new API
1100
720
  * Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
1101
721
  * 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.
1102
722
 
1103
- ## 10.4.0-beta.1 - 2022-08-23
1104
- * [#1523](https://github.com/stripe/stripe-node/pull/1523) API Updates for beta branch
1105
- - Updated stable APIs to the latest version
1106
- - `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)
1107
- * [#1521](https://github.com/stripe/stripe-node/pull/1521) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
1108
723
 
1109
724
  ## 10.3.0 - 2022-08-19
1110
725
  * [#1516](https://github.com/stripe/stripe-node/pull/1516) API Updates
@@ -1117,15 +732,11 @@ This release includes breaking changes resulting from moving to use the new API
1117
732
  * Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
1118
733
  * [#1515](https://github.com/stripe/stripe-node/pull/1515) Add a support section to the readme
1119
734
 
1120
- ## 10.3.0-beta.1 - 2022-08-11
1121
- * [#1511](https://github.com/stripe/stripe-node/pull/1511) API Updates for beta branch
1122
- - Updated stable APIs to the latest version
1123
- - Add refund_payment method to Terminal resource
1124
-
1125
735
  ## 10.2.0 - 2022-08-11
1126
736
  * [#1510](https://github.com/stripe/stripe-node/pull/1510) API Updates
1127
737
  * Add support for `payment_method_collection` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
1128
738
 
739
+
1129
740
  ## 10.1.0 - 2022-08-09
1130
741
  * [#1506](https://github.com/stripe/stripe-node/pull/1506) API Updates
1131
742
  * Add support for `process_config` on `Terminal.Reader.action.process_payment_intent`
@@ -1135,22 +746,50 @@ This release includes breaking changes resulting from moving to use the new API
1135
746
  * [#1503](https://github.com/stripe/stripe-node/pull/1503) API Updates
1136
747
  * Add support for `expires_at` on `Apps.Secret` and `Apps.SecretCreateParams`
1137
748
 
1138
- ## 10.1.0-beta.1 - 2022-08-03
1139
- * [#1498](https://github.com/stripe/stripe-node/pull/1498) API Updates for beta branch
1140
- - Updated stable APIs to the latest version
1141
- - Added the `Order` resource support
1142
-
1143
749
  ## 10.0.0 - 2022-08-02
1144
750
 
1145
- Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
751
+ This release includes breaking changes resulting from:
1146
752
 
1147
- 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.
753
+ * 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
754
+ * 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.
1148
755
 
1149
756
  "⚠️" symbol highlights breaking changes.
1150
757
 
1151
758
  * [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates
1152
759
  * [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes
1153
760
 
761
+ ### Added
762
+ * 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`
763
+ * Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
764
+
765
+ ### ⚠️ Changed
766
+ * Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable.
767
+ * Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`.
768
+ * 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`.
769
+ * Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable.
770
+ * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
771
+
772
+ ### ⚠️ Removed
773
+ * Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions.
774
+ * Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.
775
+ * Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`.
776
+ * Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions.
777
+ * Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead.
778
+ * Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.
779
+ * Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
780
+ * Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.
781
+ * Remove `IssuerFraudRecords` resource.
782
+ * Remove `Recipient` resource and`recipient` property from `Card` resource.
783
+ * Remove `InvoiceMarkUncollectibleParams` definition.
784
+ * Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions.
785
+ * Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.
786
+ * Remove `LineItemListParams` definition. The interface was no longer in use.
787
+
788
+ ### ⚠️ Renamed
789
+ * Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`.
790
+ * Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`.
791
+ * Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
792
+
1154
793
  ## 9.16.0 - 2022-07-26
1155
794
  * [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates
1156
795
  * 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`
@@ -1167,20 +806,6 @@ Breaking changes that arose during code generation of the library that we postpo
1167
806
  * Add support for `mandate` on `InvoicePayParams`
1168
807
  * Add support for `product_data` on `OrderCreateParams.line_items[]` and `OrderUpdateParams.line_items[]`
1169
808
 
1170
- ## 9.15.0-beta.1 - 2022-07-22
1171
- * [#1485](https://github.com/stripe/stripe-node/pull/1485) API Updates for beta branch
1172
- - Updated stable APIs to the latest version
1173
- * [#1483](https://github.com/stripe/stripe-node/pull/1483) API Updates for beta branch
1174
- - Updated stable APIs to the latest version
1175
- - Add `QuotePhase` resource
1176
- * [#1479](https://github.com/stripe/stripe-node/pull/1479) API Updates for beta branch
1177
- - Updated stable APIs to the latest version
1178
- - Add `Price.migrate_to` property
1179
- - Add `SubscriptionSchedule.amend` method.
1180
- - Add `Discount.subscription_item` property.
1181
- - Add `Quote.subscription_data.billing_behavior`, `billing_cycle_anchor`, `end_behavior`, `from_schedule`, `from_subscription`, `prebilling`, `proration_behavior` properties.
1182
- - Add `phases` parameter to `Quote.create`
1183
- - Add `Subscription.discounts`, `prebilling` properties.
1184
809
 
1185
810
  ## 9.14.0 - 2022-07-18
1186
811
  * [#1477](https://github.com/stripe/stripe-node/pull/1477) API Updates
@@ -1204,18 +829,6 @@ Breaking changes that arose during code generation of the library that we postpo
1204
829
  * Change `Transfer.source_type` to be optional and not nullable
1205
830
  * [#1471](https://github.com/stripe/stripe-node/pull/1471) Update readme to include a note on beta packages
1206
831
 
1207
- ## 9.13.0-beta.1 - 2022-07-07
1208
- * [#1469](https://github.com/stripe/stripe-node/pull/1469) API Updates for beta branch
1209
- - Include `server_side_confirmation_beta=v1` beta
1210
- - Add `secretKeyConfirmation` to `PaymentIntent`
1211
- * [#1451](https://github.com/stripe/stripe-node/pull/1451) API Updates
1212
- - Updated stable APIs to the latest version
1213
- * [#1457](https://github.com/stripe/stripe-node/pull/1457) Use the generated API version
1214
- * [#1445](https://github.com/stripe/stripe-node/pull/1445) Support updating pre-release versions
1215
- * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
1216
- * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
1217
- * [#1444](https://github.com/stripe/stripe-node/pull/1444) Merge master branch into beta branch
1218
-
1219
832
  ## 9.12.0 - 2022-07-07
1220
833
  * [#1468](https://github.com/stripe/stripe-node/pull/1468) API Updates
1221
834
  * Add support for `currency` on `Checkout.SessionCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkCreateParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `Subscription`
@@ -1278,10 +891,6 @@ Breaking changes that arose during code generation of the library that we postpo
1278
891
  * 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`
1279
892
  * Add support for `custom_unit_amount` on `PriceCreateParams` and `Price`
1280
893
 
1281
- ## 9.8.0-beta.1 - 2022-06-08
1282
- * [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
1283
- * Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
1284
-
1285
894
  ## 9.7.0 - 2022-06-08
1286
895
  * [#1441](https://github.com/stripe/stripe-node/pull/1441) API Updates
1287
896
  * Add support for `affirm`, `bancontact`, `card`, `ideal`, `p24`, and `sofort` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
@@ -1302,6 +911,7 @@ Breaking changes that arose during code generation of the library that we postpo
1302
911
  * Add support for `network` on `SetupIntent.payment_method_options.card`
1303
912
  * Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `Terminal.ReaderListParams.device_type`
1304
913
 
914
+
1305
915
  ## 9.5.0 - 2022-05-26
1306
916
  * [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
1307
917
  * Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
@@ -1372,6 +982,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1372
982
  * Add support for `default_price` on `ProductUpdateParams` and `Product`
1373
983
  * Add support for `instructions_email` on `RefundCreateParams` and `Refund`
1374
984
 
985
+
1375
986
  ## 8.221.0 - 2022-05-05
1376
987
  * [#1413](https://github.com/stripe/stripe-node/pull/1413) API Updates
1377
988
  * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
@@ -1648,6 +1259,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1648
1259
  * [#1297](https://github.com/stripe/stripe-node/pull/1297) API Updates
1649
1260
  * Add support for `automatic_payment_methods` on `PaymentIntentCreateParams` and `PaymentIntent`
1650
1261
 
1262
+
1651
1263
  ## 8.189.0 - 2021-11-16
1652
1264
  * [#1295](https://github.com/stripe/stripe-node/pull/1295) API Updates
1653
1265
  * Add support for new resource `ShippingRate`
@@ -1670,6 +1282,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1670
1282
  * Remove support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account`. This API was unused.
1671
1283
  * Add support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account.company`
1672
1284
 
1285
+
1673
1286
  ## 8.186.0 - 2021-11-01
1674
1287
  * [#1283](https://github.com/stripe/stripe-node/pull/1283) API Updates
1675
1288
  * Add support for `ownership_declaration` on `AccountUpdateParams.company`, `AccountCreateParams.company`, `Account.company`, and `TokenCreateParams.account.company`
@@ -1813,6 +1426,7 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
1813
1426
  * Add support for `wallet` on `Issuing.Transaction`
1814
1427
  * Add support for `ideal` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
1815
1428
 
1429
+
1816
1430
  ## 8.163.0 - 2021-07-15
1817
1431
  * [#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
1818
1432
 
@@ -3345,7 +2959,7 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
3345
2959
 
3346
2960
  - [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
3347
2961
 
3348
- ## 2.2.1 - 2013-12-01
2962
+ ### 2.2.1 - 2013-12-01
3349
2963
 
3350
2964
  - [BUGFIX] Fix user-agent header issue (see issue #75)
3351
2965
 
@@ -3408,4 +3022,3 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
3408
3022
  ## 0.0.2 - 2011-09-28
3409
3023
 
3410
3024
  - Initial release with customers and tokens APIs
3411
-