stripe 14.0.0 → 14.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +471 -109
- package/README.md +33 -0
- package/VERSION +1 -1
- package/cjs/RequestSender.js +65 -5
- package/cjs/StripeResource.js +1 -1
- package/cjs/apiVersion.js +2 -1
- package/cjs/multipart.js +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/ConfirmationTokens.js +12 -0
- package/cjs/resources/CustomerSessions.js +9 -0
- package/cjs/resources/FinancialConnections/Accounts.js +13 -0
- package/cjs/resources/FinancialConnections/Transactions.js +13 -0
- package/cjs/resources/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/PersonalizationDesigns.js +25 -0
- package/cjs/resources/Issuing/PhysicalBundles.js +17 -0
- package/cjs/resources/OAuth.js +1 -1
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/QuotePhases.js +22 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Tax/Registrations.js +18 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +20 -0
- package/cjs/resources.js +48 -10
- package/cjs/stripe.core.js +6 -3
- package/cjs/utils.js +30 -3
- package/esm/RequestSender.js +66 -6
- package/esm/StripeResource.js +2 -2
- package/esm/apiVersion.js +1 -0
- package/esm/multipart.js +2 -2
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/ConfirmationTokens.js +9 -0
- package/esm/resources/CustomerSessions.js +6 -0
- package/esm/resources/FinancialConnections/Accounts.js +13 -0
- package/esm/resources/FinancialConnections/Transactions.js +10 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/PersonalizationDesigns.js +22 -0
- package/esm/resources/Issuing/PhysicalBundles.js +14 -0
- package/esm/resources/OAuth.js +2 -2
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/QuotePhases.js +19 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Tax/Registrations.js +15 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +17 -0
- package/esm/resources.js +33 -0
- package/esm/stripe.core.js +6 -3
- package/esm/utils.js +27 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +110 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +75 -0
- package/types/AccountSessionsResource.d.ts +102 -0
- package/types/Accounts.d.ts +50 -0
- package/types/AccountsResource.d.ts +95 -0
- package/types/BankAccounts.d.ts +2 -0
- package/types/Capabilities.d.ts +2 -0
- package/types/Capital/FinancingOffers.d.ts +183 -0
- package/types/Capital/FinancingOffersResource.d.ts +94 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Charges.d.ts +26 -0
- package/types/ChargesResource.d.ts +580 -0
- package/types/Checkout/Sessions.d.ts +64 -3
- package/types/Checkout/SessionsResource.d.ts +86 -1
- package/types/ConfirmationTokens.d.ts +1159 -0
- package/types/ConfirmationTokensResource.d.ts +27 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CustomerSessions.d.ts +38 -0
- package/types/CustomerSessionsResource.d.ts +27 -0
- package/types/Discounts.d.ts +10 -0
- package/types/EventTypes.d.ts +438 -0
- package/types/Events.d.ts +87 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +74 -0
- package/types/FinancialConnections/AccountsResource.d.ts +75 -1
- package/types/FinancialConnections/Sessions.d.ts +44 -1
- package/types/FinancialConnections/SessionsResource.d.ts +33 -1
- package/types/FinancialConnections/Transactions.d.ts +85 -0
- package/types/FinancialConnections/TransactionsResource.d.ts +48 -0
- package/types/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -0
- package/types/InvoiceItemsResource.d.ts +88 -0
- package/types/Invoices.d.ts +81 -2
- package/types/InvoicesResource.d.ts +610 -2
- package/types/Issuing/Authorizations.d.ts +25 -0
- package/types/Issuing/CardholdersResource.d.ts +4 -2
- package/types/Issuing/Cards.d.ts +42 -0
- package/types/Issuing/CardsResource.d.ts +134 -0
- package/types/Issuing/CreditUnderwritingRecords.d.ts +421 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +967 -0
- package/types/Issuing/PersonalizationDesigns.d.ts +132 -0
- package/types/Issuing/PersonalizationDesignsResource.d.ts +253 -0
- package/types/Issuing/PhysicalBundles.d.ts +68 -0
- package/types/Issuing/PhysicalBundlesResource.d.ts +63 -0
- package/types/Issuing/Transactions.d.ts +17 -0
- package/types/LineItems.d.ts +7 -0
- package/types/Mandates.d.ts +11 -0
- package/types/Orders.d.ts +1044 -0
- package/types/OrdersResource.d.ts +2681 -0
- package/types/PaymentIntents.d.ts +181 -1
- package/types/PaymentIntentsResource.d.ts +1427 -63
- package/types/PaymentMethods.d.ts +16 -0
- package/types/Persons.d.ts +2 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -0
- package/types/QuoteLines.d.ts +580 -0
- package/types/QuotePhases.d.ts +193 -0
- package/types/QuotePhasesResource.d.ts +67 -0
- package/types/QuotePreviewInvoices.d.ts +1416 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +752 -0
- package/types/Quotes.d.ts +576 -1
- package/types/QuotesResource.d.ts +3124 -215
- package/types/SetupAttempts.d.ts +4 -0
- package/types/SetupIntents.d.ts +29 -1
- package/types/SetupIntentsResource.d.ts +89 -3
- package/types/Sources.d.ts +23 -0
- package/types/SubscriptionItems.d.ts +23 -0
- package/types/SubscriptionItemsResource.d.ts +147 -0
- package/types/SubscriptionSchedules.d.ts +306 -0
- package/types/SubscriptionSchedulesResource.d.ts +1540 -61
- package/types/Subscriptions.d.ts +76 -2
- package/types/SubscriptionsResource.d.ts +549 -2
- package/types/Tax/Forms.d.ts +133 -0
- package/types/Tax/FormsResource.d.ts +90 -0
- package/types/Tax/Registrations.d.ts +1010 -0
- package/types/Tax/RegistrationsResource.d.ts +1284 -0
- package/types/Terminal/Readers.d.ts +183 -0
- package/types/Terminal/ReadersResource.d.ts +171 -0
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +22 -0
- package/types/TestHelpers/Issuing/PersonalizationDesignsResource.d.ts +113 -0
- package/types/TestHelpers/Issuing/TransactionsResource.d.ts +4 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/WebhookEndpointsResource.d.ts +58 -0
- package/types/index.d.ts +77 -0
- package/types/lib.d.ts +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 14.2.0-beta.1 - 2023-10-17
|
|
4
|
+
* [#1935](https://github.com/stripe/stripe-node/pull/1935) Update generated code for beta
|
|
5
|
+
* [#1930](https://github.com/stripe/stripe-node/pull/1930) Update generated code for beta
|
|
6
|
+
- Update pinned API version to `2023-10-16`
|
|
7
|
+
|
|
8
|
+
## 14.1.0 - 2023-10-17
|
|
9
|
+
* [#1933](https://github.com/stripe/stripe-node/pull/1933) Update generated code
|
|
10
|
+
* 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`
|
|
11
|
+
* Change `Checkout.Session.client_secret` and `Checkout.Session.ui_mode` to be required
|
|
12
|
+
|
|
3
13
|
## 14.0.0 - 2023-10-16
|
|
4
14
|
* This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe` package.
|
|
5
15
|
* [#1932](https://github.com/stripe/stripe-node/pull/1932) Update generated code
|
|
@@ -8,6 +18,9 @@
|
|
|
8
18
|
* Add support for `additional_tos_acceptances` on `TokenCreateParams.person`
|
|
9
19
|
* Add support for new value `2023-10-16` on enum `WebhookEndpointCreateParams.api_version`
|
|
10
20
|
|
|
21
|
+
## 13.12.0-beta.1 - 2023-10-16
|
|
22
|
+
* [#1925](https://github.com/stripe/stripe-node/pull/1925) Update generated code for beta
|
|
23
|
+
|
|
11
24
|
## 13.11.0 - 2023-10-16
|
|
12
25
|
* [#1924](https://github.com/stripe/stripe-node/pull/1924) Update generated code
|
|
13
26
|
* Add support for new values `issuing_token.created` and `issuing_token.updated` on enum `Event.type`
|
|
@@ -15,6 +28,17 @@
|
|
|
15
28
|
* [#1926](https://github.com/stripe/stripe-node/pull/1926) Add named unions for all polymorphic types
|
|
16
29
|
* [#1921](https://github.com/stripe/stripe-node/pull/1921) Add event types
|
|
17
30
|
|
|
31
|
+
## 13.11.0-beta.1 - 2023-10-11
|
|
32
|
+
* [#1919](https://github.com/stripe/stripe-node/pull/1919) Update generated code for beta
|
|
33
|
+
* Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
|
|
34
|
+
* Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
|
|
35
|
+
* Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
|
|
36
|
+
* 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)`
|
|
37
|
+
* 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
|
|
38
|
+
* Add support for new values `account_notice.created` and `account_notice.updated` on enum `Event.type`
|
|
39
|
+
* 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`
|
|
40
|
+
* Add support for new values `account_notice.created` and `account_notice.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
41
|
+
|
|
18
42
|
## 13.10.0 - 2023-10-11
|
|
19
43
|
* [#1920](https://github.com/stripe/stripe-node/pull/1920) Update generated code
|
|
20
44
|
* Add support for `redirect_on_completion`, `return_url`, and `ui_mode` on `Checkout.SessionCreateParams` and `Checkout.Session`
|
|
@@ -28,6 +52,16 @@
|
|
|
28
52
|
* Add support for `offline` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration`
|
|
29
53
|
* [#1914](https://github.com/stripe/stripe-node/pull/1914) Bump get-func-name from 2.0.0 to 2.0.2
|
|
30
54
|
|
|
55
|
+
## 13.10.0-beta.1 - 2023-10-05
|
|
56
|
+
* [#1917](https://github.com/stripe/stripe-node/pull/1917) Update generated code for beta
|
|
57
|
+
* Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
|
|
58
|
+
* Remove support for `draft_quote`, `mark_stale_quote`, and `preview_invoice_lines` methods on resource `Quote`
|
|
59
|
+
* Add support for `liability` on `Checkout.Session.automatic_tax` and `Checkout.SessionCreateParams.automatic_tax`
|
|
60
|
+
* Add support for `issuer` on `Checkout.Session.invoice_creation.invoice_data` and `Checkout.SessionCreateParams.invoice_creation.invoice_data`
|
|
61
|
+
* Add support for `invoice_settings` on `Checkout.SessionCreateParams.subscription_data`
|
|
62
|
+
* Add support for `personalization_design` on `Issuing.CardListParams`
|
|
63
|
+
* Add support for `allow_backdated_lines` on `QuoteCreateParams`, `QuoteUpdateParams`, and `Quote`
|
|
64
|
+
|
|
31
65
|
## 13.9.0 - 2023-10-05
|
|
32
66
|
* [#1916](https://github.com/stripe/stripe-node/pull/1916) Update generated code
|
|
33
67
|
* Add support for new resource `Issuing.Token`
|
|
@@ -42,15 +76,49 @@
|
|
|
42
76
|
* Add support for `statement_descriptor_suffix` and `statement_descriptor` on `PaymentLink.payment_intent_data` and `PaymentLinkCreateParams.payment_intent_data`
|
|
43
77
|
* Add support for `payment_intent_data` and `subscription_data` on `PaymentLinkUpdateParams`
|
|
44
78
|
|
|
79
|
+
## 13.9.0-beta.1 - 2023-09-28
|
|
80
|
+
* [#1910](https://github.com/stripe/stripe-node/pull/1910) Update generated code for beta
|
|
81
|
+
* Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
|
|
82
|
+
* Add support for new values `capital_financing_offer` and `capital_financing_reporting` on enum `AccountLinkCreateParams.type`
|
|
83
|
+
* 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`
|
|
84
|
+
* Change `ConfirmationToken.payment_method_preview.us_bank_account.financial_connections_account` and `ConfirmationToken.payment_method_preview.us_bank_account.status_details` to be required
|
|
85
|
+
* Add support for `reason` on `Event`
|
|
86
|
+
|
|
45
87
|
## 13.8.0 - 2023-09-28
|
|
46
88
|
* [#1911](https://github.com/stripe/stripe-node/pull/1911) Update generated code
|
|
47
89
|
* Add support for `rendering` on `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
|
|
48
90
|
* Change `PaymentMethod.us_bank_account.financial_connections_account` and `PaymentMethod.us_bank_account.status_details` to be required
|
|
49
91
|
|
|
92
|
+
## 13.8.0-beta.1 - 2023-09-21
|
|
93
|
+
* [#1906](https://github.com/stripe/stripe-node/pull/1906) Update generated code for beta
|
|
94
|
+
* Remove support for `customer` on `ConfirmationToken`
|
|
95
|
+
* 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`
|
|
96
|
+
* Add support for `on_behalf_of` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
|
|
97
|
+
* 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`
|
|
98
|
+
* Change type of `Issuing.CardDesignUpdateParams.carrier_text` from `carrier_text_param` to `emptyStringable(carrier_text_param)`
|
|
99
|
+
* Add support for `invoice_settings` on `SubscriptionCreateParams` and `SubscriptionUpdateParams`
|
|
100
|
+
|
|
50
101
|
## 13.7.0 - 2023-09-21
|
|
51
102
|
* [#1907](https://github.com/stripe/stripe-node/pull/1907) Update generated code
|
|
52
103
|
* 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`
|
|
53
104
|
|
|
105
|
+
## 13.7.0-beta.1 - 2023-09-14
|
|
106
|
+
* [#1900](https://github.com/stripe/stripe-node/pull/1900) Update generated code for beta
|
|
107
|
+
* Add support for new resource `ConfirmationToken`
|
|
108
|
+
* Add support for `retrieve` method on resource `ConfirmationToken`
|
|
109
|
+
* Add support for `create` method on resource `Issuing.CardDesign`
|
|
110
|
+
* Add support for `reject_testmode` test helper method on resource `Issuing.CardDesign`
|
|
111
|
+
* Add support for new value `issuing_card_design.rejected` on enum `Event.type`
|
|
112
|
+
* Add support for `features` on `Issuing.CardBundle`
|
|
113
|
+
* Add support for `preferences` on `Issuing.CardDesignListParams`, `Issuing.CardDesignUpdateParams`, and `Issuing.CardDesign`
|
|
114
|
+
* Remove support for `preference` on `Issuing.CardDesignListParams`, `Issuing.CardDesignUpdateParams`, and `Issuing.CardDesign`
|
|
115
|
+
* Add support for `card_bundle` on `Issuing.CardDesignUpdateParams`
|
|
116
|
+
* Add support for `card_logo` and `carrier_text` on `Issuing.CardDesignUpdateParams` and `Issuing.CardDesign`
|
|
117
|
+
* Change type of `Issuing.CardDesignUpdateParams.lookup_key` and `Issuing.CardDesignUpdateParams.name` from `string` to `emptyStringable(string)`
|
|
118
|
+
* Add support for `rejection_reasons` on `Issuing.CardDesign`
|
|
119
|
+
* Add support for `confirmation_token` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `SetupIntentConfirmParams`, and `SetupIntentCreateParams`
|
|
120
|
+
* Add support for new value `issuing_card_design.rejected` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
121
|
+
|
|
54
122
|
## 13.6.0 - 2023-09-14
|
|
55
123
|
* [#1905](https://github.com/stripe/stripe-node/pull/1905) Update generated code
|
|
56
124
|
* Add support for new resource `PaymentMethodConfiguration`
|
|
@@ -67,6 +135,16 @@
|
|
|
67
135
|
* [#1895](https://github.com/stripe/stripe-node/pull/1895) feat: webhook signing Nestjs
|
|
68
136
|
* [#1878](https://github.com/stripe/stripe-node/pull/1878) Use src/apiVersion.ts, not API_VERSION as source of truth
|
|
69
137
|
|
|
138
|
+
## 13.6.0-beta.1 - 2023-09-07
|
|
139
|
+
* [#1898](https://github.com/stripe/stripe-node/pull/1898) Update generated code for beta
|
|
140
|
+
* Release specs are identical.
|
|
141
|
+
* [#1892](https://github.com/stripe/stripe-node/pull/1892) Update generated code for beta
|
|
142
|
+
* Remove support for `submit_card` test helper method on resource `Issuing.Card`
|
|
143
|
+
* Add support for `tax_forms` on `Account.settings`, `AccountCreateParams.settings`, and `AccountUpdateParams.settings`
|
|
144
|
+
* Add support for `card_design` on `Issuing.CardUpdateParams`
|
|
145
|
+
* Remove support for value `submitted` from enum `Issuing.Card.shipping.status`
|
|
146
|
+
* Add support for new value `platform_default` on enums `Issuing.CardDesign.preference` and `Issuing.CardDesignListParams.preference`
|
|
147
|
+
|
|
70
148
|
## 13.5.0 - 2023-09-07
|
|
71
149
|
* [#1893](https://github.com/stripe/stripe-node/pull/1893) Update generated code
|
|
72
150
|
* Add support for new resource `PaymentMethodDomain`
|
|
@@ -78,6 +156,10 @@
|
|
|
78
156
|
* Add support for `features` on `ProductCreateParams`, `ProductUpdateParams`, and `Product`
|
|
79
157
|
* Remove support for value `invoiceitem.updated` from enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
80
158
|
|
|
159
|
+
## 13.5.0-beta.1 - 2023-08-31
|
|
160
|
+
* [#1883](https://github.com/stripe/stripe-node/pull/1883) Update generated code for beta
|
|
161
|
+
* Rename `Quote.listPreviewSubscriptionSchedules` to `Quote.listPreviewSchedules` and `Quote.listPreview
|
|
162
|
+
|
|
81
163
|
## 13.4.0 - 2023-08-31
|
|
82
164
|
* [#1884](https://github.com/stripe/stripe-node/pull/1884) Update generated code
|
|
83
165
|
* Add support for new resource `AccountSession`
|
|
@@ -144,12 +226,37 @@
|
|
|
144
226
|
* These fields are not fully operational.
|
|
145
227
|
* ⚠️Add support for new value `2023-08-16` on enum `WebhookEndpointCreateParams.api_version`
|
|
146
228
|
|
|
229
|
+
## 13.0.0-beta.1 - 2023-08-24
|
|
230
|
+
* [#1873](https://github.com/stripe/stripe-node/pull/1873) Update generated code for beta
|
|
231
|
+
* Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
|
|
232
|
+
* 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
|
|
233
|
+
* Remove support for `applies_to` on `Invoice` and `SubscriptionSchedule`
|
|
234
|
+
* Add support for `cl`, `co`, `id`, `kr`, `mx`, `my`, `sa`, `th`, `tr`, and `vn` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
|
|
235
|
+
* Remove support for `hk` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
|
|
236
|
+
|
|
237
|
+
## 12.19.0-beta.1 - 2023-08-10
|
|
238
|
+
* [#1868](https://github.com/stripe/stripe-node/pull/1868) Update generated code for beta
|
|
239
|
+
* Add support for `paypal` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
|
|
240
|
+
* Add support for new value `quote.accept_failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
241
|
+
|
|
147
242
|
## 12.18.0 - 2023-08-10
|
|
148
243
|
* [#1867](https://github.com/stripe/stripe-node/pull/1867) Update generated code
|
|
149
244
|
* 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`
|
|
150
245
|
* Add support for new value `payment_reversal` on enum `BalanceTransaction.type`
|
|
151
246
|
* Change `Invoice.subscription_details.metadata` and `Invoice.subscription_details` to be required
|
|
152
247
|
|
|
248
|
+
## 12.18.0-beta.1 - 2023-08-03
|
|
249
|
+
* [#1861](https://github.com/stripe/stripe-node/pull/1861) Update generated code for beta
|
|
250
|
+
* Add support for `submit_card` test helper method on resource `Issuing.Card`
|
|
251
|
+
* Add support for `address_validation` on `Issuing.Card.shipping` and `Issuing.CardCreateParams.shipping`
|
|
252
|
+
* Add support for `shipping` on `Issuing.CardUpdateParams`
|
|
253
|
+
* Add support for new value `submitted` on enum `Issuing.Card.shipping.status`
|
|
254
|
+
* 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)`
|
|
255
|
+
* Add support for `reason` on `QuoteMarkStaleQuoteParams`
|
|
256
|
+
* Add support for `marked_stale` on `Quote.status_details.stale.last_reason`
|
|
257
|
+
* Change `Tax.FormListParams.payee.type` to be optional
|
|
258
|
+
* [#1864](https://github.com/stripe/stripe-node/pull/1864) Remove developer_message support
|
|
259
|
+
|
|
153
260
|
## 12.17.0 - 2023-08-03
|
|
154
261
|
* [#1863](https://github.com/stripe/stripe-node/pull/1863) Update generated code
|
|
155
262
|
* Change many types from `string` to `emptyStringable(string)`
|
|
@@ -158,14 +265,14 @@
|
|
|
158
265
|
* Add support for new values `sepa_debit_fingerprint` and `us_bank_account_fingerprint` on enums `Radar.ValueList.item_type` and `Radar.ValueListCreateParams.item_type`
|
|
159
266
|
* [#1866](https://github.com/stripe/stripe-node/pull/1866) Allow monkey patching http / https
|
|
160
267
|
|
|
268
|
+
## 12.17.0-beta.1 - 2023-07-27
|
|
269
|
+
* Updated stable APIs to the latest version
|
|
270
|
+
|
|
161
271
|
## 12.16.0 - 2023-07-27
|
|
162
272
|
* [#1853](https://github.com/stripe/stripe-node/pull/1853) Update generated code
|
|
163
273
|
* Add support for `monthly_estimated_revenue` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
|
|
164
274
|
* [#1859](https://github.com/stripe/stripe-node/pull/1859) Revert "import * as http -> import http from 'http'"
|
|
165
275
|
|
|
166
|
-
## 12.15.0 - 2023-07-27 (DEPRECATED ⚠️ )
|
|
167
|
-
* 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.
|
|
168
|
-
|
|
169
276
|
## 12.14.0 - 2023-07-20
|
|
170
277
|
* [#1842](https://github.com/stripe/stripe-node/pull/1842) Update generated code
|
|
171
278
|
* 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`
|
|
@@ -176,6 +283,17 @@
|
|
|
176
283
|
* [#1849](https://github.com/stripe/stripe-node/pull/1849) Changelog: fix delimiterless namespaced param types
|
|
177
284
|
* [#1848](https://github.com/stripe/stripe-node/pull/1848) Changelog: `CheckoutSessionCreateParams` -> `Checkout.SessionCreateParams`
|
|
178
285
|
|
|
286
|
+
## 12.14.0-beta.1 - 2023-07-13
|
|
287
|
+
* [#1840](https://github.com/stripe/stripe-node/pull/1840) Update generated code for beta
|
|
288
|
+
Release specs are identical.
|
|
289
|
+
* [#1837](https://github.com/stripe/stripe-node/pull/1837) Update generated code for beta
|
|
290
|
+
* Add support for new resource `PaymentMethodConfiguration`
|
|
291
|
+
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
|
292
|
+
* Add support for `payment_method_configuration` on `PaymentIntentCreateParams` and `PaymentIntentUpdateParams`
|
|
293
|
+
* Add support for `payment_method_configuration_details` on `PaymentIntent`
|
|
294
|
+
* Rename `Tax.SettingRetrieveParam` to `Tax.SettingsRetrieveParam` and `Tax.SettingUpdateParams` to `Tax.SettingsUpdateParams` (parity with main release)
|
|
295
|
+
* [#1832](https://github.com/stripe/stripe-node/pull/1832) Update generated code for beta
|
|
296
|
+
|
|
179
297
|
## 12.13.0 - 2023-07-13
|
|
180
298
|
* [#1838](https://github.com/stripe/stripe-node/pull/1838) Update generated code
|
|
181
299
|
* Add support for new resource `Tax.Settings`
|
|
@@ -192,6 +310,11 @@
|
|
|
192
310
|
* Add support for `numeric` and `text` on `PaymentLink.custom_fields[]`
|
|
193
311
|
* Add support for `automatic_tax` on `SubscriptionListParams`
|
|
194
312
|
|
|
313
|
+
## 12.12.0-beta.1 - 2023-06-29
|
|
314
|
+
* [#1824](https://github.com/stripe/stripe-node/pull/1824) Update generated code for beta
|
|
315
|
+
* Add support for `metadata` on `Invoice.subscription_details`
|
|
316
|
+
* Change `Invoice.subscription_details.pause_collection` to be optional
|
|
317
|
+
|
|
195
318
|
## 12.11.0 - 2023-06-29
|
|
196
319
|
* [#1823](https://github.com/stripe/stripe-node/pull/1823) Update generated code
|
|
197
320
|
* 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`
|
|
@@ -199,16 +322,26 @@
|
|
|
199
322
|
* Add support for `effective_at` on `CreditNoteCreateParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceCreateParams`, `InvoiceUpdateParams`, and `Invoice`
|
|
200
323
|
* [#1828](https://github.com/stripe/stripe-node/pull/1828) Better CryptoProvider error
|
|
201
324
|
|
|
325
|
+
## 12.11.0-beta.1 - 2023-06-22
|
|
326
|
+
* [#1821](https://github.com/stripe/stripe-node/pull/1821) Update generated code for beta
|
|
327
|
+
* Add support for new resource `CustomerSession`
|
|
328
|
+
* Add support for `create` method on resource `CustomerSession`
|
|
329
|
+
* 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')`
|
|
330
|
+
|
|
202
331
|
## 12.10.0 - 2023-06-22
|
|
203
332
|
* [#1820](https://github.com/stripe/stripe-node/pull/1820) Update generated code
|
|
204
333
|
* Add support for `on_behalf_of` on `Mandate`
|
|
205
|
-
* [#1817](https://github.com/stripe/stripe-node/pull/1817) Update README.md
|
|
206
|
-
* [#1819](https://github.com/stripe/stripe-node/pull/1819) Update generated code
|
|
207
|
-
* Release specs are identical.
|
|
208
334
|
* [#1813](https://github.com/stripe/stripe-node/pull/1813) Update generated code
|
|
209
335
|
* Change type of `Checkout.Session.success_url` from `string` to `string | null`
|
|
210
|
-
|
|
211
|
-
|
|
336
|
+
|
|
337
|
+
## 12.10.0-beta.2 - 2023-06-15
|
|
338
|
+
* [#1818](https://github.com/stripe/stripe-node/pull/1818) Update generated code for beta
|
|
339
|
+
* Add support for `payment_details` on `ChargeCaptureParams`, `ChargeUpdateParams`, `PaymentIntentCaptureParams`, `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `PaymentIntentUpdateParams`, and `PaymentIntent`
|
|
340
|
+
* 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`
|
|
341
|
+
* [#1814](https://github.com/stripe/stripe-node/pull/1814) Update generated code for beta
|
|
342
|
+
|
|
343
|
+
## 12.10.0-beta.1 - 2023-06-08
|
|
344
|
+
* [#1811](https://github.com/stripe/stripe-node/pull/1811) Update generated code for beta
|
|
212
345
|
|
|
213
346
|
## 12.9.0 - 2023-06-08
|
|
214
347
|
* [#1809](https://github.com/stripe/stripe-node/pull/1809) Update generated code
|
|
@@ -216,6 +349,20 @@
|
|
|
216
349
|
* Add support for `taxability_reason` on `Tax.Calculation.tax_breakdown[]`
|
|
217
350
|
* [#1812](https://github.com/stripe/stripe-node/pull/1812) More helpful error when signing secrets contain whitespace
|
|
218
351
|
|
|
352
|
+
## 12.9.0-beta.1 - 2023-06-01
|
|
353
|
+
* [#1801](https://github.com/stripe/stripe-node/pull/1801) Update generated code for beta
|
|
354
|
+
* Add support for `subscription_details` on `Invoice`
|
|
355
|
+
* 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[]`
|
|
356
|
+
* 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`
|
|
357
|
+
* Add support for `set_pause_collection` on `QuoteCreateParams.lines[]`, `QuoteLine`, `QuoteUpdateParams.lines[]`, and `SubscriptionScheduleAmendParams.amendments[]`
|
|
358
|
+
* 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`
|
|
359
|
+
* Add support for `pause_collection` on `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, and `SubscriptionScheduleUpdateParams.phases[]`
|
|
360
|
+
* Add support for `local_amusement_tax` on `Tax.Registration.country_options.us` and `TaxRegistrationCreateParams.country_options.us`
|
|
361
|
+
* Remove support for `locations` on `Tax.Settings` and `TaxSettingUpdateParams`
|
|
362
|
+
* Add support for new values `customer.subscription.collection_paused` and `customer.subscription.collection_resumed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
363
|
+
* [#1775](https://github.com/stripe/stripe-node/pull/1775) Introduce stripe.rawRequest as a canonical way to request APIs without definitions
|
|
364
|
+
* Please refer to the [Custom Requests README section](https://github.com/stripe/stripe-node/tree/beta#custom-requests) for usage instructions.
|
|
365
|
+
|
|
219
366
|
## 12.8.0 - 2023-06-01
|
|
220
367
|
* [#1799](https://github.com/stripe/stripe-node/pull/1799) Update generated code
|
|
221
368
|
* Add support for `numeric` and `text` on `Checkout.SessionCreateParams.custom_fields[]`, `PaymentLinkCreateParams.custom_fields[]`, and `PaymentLinkUpdateParams.custom_fields[]`
|
|
@@ -226,6 +373,9 @@
|
|
|
226
373
|
* Add support for `description`, `iin`, and `issuer` on `PaymentMethod.card_present` and `PaymentMethod.interac_present`
|
|
227
374
|
* Add support for `payer_email` on `PaymentMethod.paypal`
|
|
228
375
|
|
|
376
|
+
## 12.8.0-beta.1 - 2023-05-25
|
|
377
|
+
* [#1795](https://github.com/stripe/stripe-node/pull/1795) Update generated code for beta
|
|
378
|
+
|
|
229
379
|
## 12.7.0 - 2023-05-25
|
|
230
380
|
* [#1797](https://github.com/stripe/stripe-node/pull/1797) Update generated code
|
|
231
381
|
* Add support for `zip_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
@@ -236,6 +386,13 @@
|
|
|
236
386
|
* 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`
|
|
237
387
|
* Add support for new value `zip` on enum `PaymentMethod.type`
|
|
238
388
|
|
|
389
|
+
## 12.7.0-beta.1 - 2023-05-19
|
|
390
|
+
* [#1788](https://github.com/stripe/stripe-node/pull/1788) Update generated code for beta
|
|
391
|
+
* Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
|
|
392
|
+
* 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`
|
|
393
|
+
* Add support for `status_details` and `status` on `Tax.Settings`
|
|
394
|
+
* Add support for new value `tax.settings.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
395
|
+
|
|
239
396
|
## 12.6.0 - 2023-05-19
|
|
240
397
|
* [#1787](https://github.com/stripe/stripe-node/pull/1787) Update generated code
|
|
241
398
|
* Add support for `subscription_update_confirm` and `subscription_update` on `BillingPortal.Session.flow` and `BillingPortal.SessionCreateParams.flow_data`
|
|
@@ -244,6 +401,18 @@
|
|
|
244
401
|
* Add support for `buyer_id` and `cashtag` on `Charge.payment_method_details.cashapp` and `PaymentMethod.cashapp`
|
|
245
402
|
* Add support for new values `amusement_tax` and `communications_tax` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
|
|
246
403
|
|
|
404
|
+
## 12.6.0-beta.1 - 2023-05-11
|
|
405
|
+
* [#1786](https://github.com/stripe/stripe-node/pull/1786) Update generated code for beta
|
|
406
|
+
* Add support for `payer_email`, `payer_name`, and `seller_protection` on `Charge.payment_method_details.paypal`
|
|
407
|
+
* 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
|
|
408
|
+
* Add support for `capture_method`, `preferred_locale`, `reference_id`, and `setup_future_usage` on `CheckoutSessionCreateParams.payment_method_options.paypal`
|
|
409
|
+
* 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`
|
|
410
|
+
* 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`
|
|
411
|
+
* Remove support for `billing_agreement_id` and `currency` on `CheckoutSessionCreateParams.payment_method_options.paypal`
|
|
412
|
+
* Add support for `fingerprint`, `payer_id`, and `verified_email` on `Mandate.payment_method_details.paypal` and `PaymentMethod.paypal`
|
|
413
|
+
* Add support for `taxability_reason` and `taxable_amount` on `Order.shipping_cost.taxes[]`, `Order.total_details.breakdown.taxes[]`, and `QuotePhase.total_details.breakdown.taxes[]`
|
|
414
|
+
* Add support for `head_office` on `Tax.Settings` and `TaxSettingUpdateParams`
|
|
415
|
+
|
|
247
416
|
## 12.5.0 - 2023-05-11
|
|
248
417
|
* [#1785](https://github.com/stripe/stripe-node/pull/1785) Update generated code
|
|
249
418
|
* 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`
|
|
@@ -261,12 +430,34 @@
|
|
|
261
430
|
* Add support for `effective_percentage` on `TaxRate`
|
|
262
431
|
* Add support for `gb_bank_transfer` and `jp_bank_transfer` on `CustomerCashBalanceTransaction.Funded.BankTransfer`
|
|
263
432
|
|
|
433
|
+
## 12.5.0-beta.1 - 2023-05-04
|
|
434
|
+
* [#1773](https://github.com/stripe/stripe-node/pull/1773) Update generated code for beta
|
|
435
|
+
* Updated stable APIs to the latest version
|
|
436
|
+
|
|
264
437
|
## 12.4.0 - 2023-05-04
|
|
265
438
|
* [#1774](https://github.com/stripe/stripe-node/pull/1774) Update generated code
|
|
266
439
|
* Add support for `link` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
|
|
267
440
|
* Add support for `brand`, `country`, `description`, `exp_month`, `exp_year`, `fingerprint`, `funding`, `iin`, `issuer`, `last4`, `network`, and `wallet` on `SetupAttempt.payment_method_details.card`
|
|
268
441
|
* [#1782](https://github.com/stripe/stripe-node/pull/1782) Let user supply a timestamp when verifying webhooks
|
|
269
442
|
|
|
443
|
+
## 12.4.0-beta.1 - 2023-04-27
|
|
444
|
+
* [#1769](https://github.com/stripe/stripe-node/pull/1769) Update generated code for beta
|
|
445
|
+
* Add support for `billing_cycle_anchor` and `proration_behavior` on `CheckoutSessionCreateParams.subscription_data`
|
|
446
|
+
* Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
|
|
447
|
+
* Add support for `metadata` on `PaymentIntentCaptureParams`
|
|
448
|
+
* Add support for `checks` on `SetupAttempt.payment_method_details.card`
|
|
449
|
+
* Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
|
|
450
|
+
* Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
|
|
451
|
+
|
|
452
|
+
## 12.3.0 - 2023-04-27
|
|
453
|
+
* [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
|
|
454
|
+
* Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
|
|
455
|
+
* Add support for `terminal_id` on `Issuing.Authorization.merchant_data` and `Issuing.Transaction.merchant_data`
|
|
456
|
+
* Add support for `metadata` on `PaymentIntentCaptureParams`
|
|
457
|
+
* Add support for `checks` on `SetupAttempt.payment_method_details.card`
|
|
458
|
+
* Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
|
|
459
|
+
* Change type of `TaxRegistrationCreateParams.active_from`, `TaxRegistrationUpdateParams.active_from`, and `TaxRegistrationUpdateParams.expires_at` from `longInteger` to `longInteger | literal('now')`
|
|
460
|
+
|
|
270
461
|
## 12.3.0 - 2023-04-27
|
|
271
462
|
* [#1770](https://github.com/stripe/stripe-node/pull/1770) Update generated code
|
|
272
463
|
* Add support for `billing_cycle_anchor` and `proration_behavior` on `Checkout.SessionCreateParams.subscription_data`
|
|
@@ -275,6 +466,12 @@
|
|
|
275
466
|
* Add support for `checks` on `SetupAttempt.payment_method_details.card`
|
|
276
467
|
* Add support for `tax_breakdown` on `Tax.Calculation.shipping_cost` and `Tax.Transaction.shipping_cost`
|
|
277
468
|
|
|
469
|
+
## 12.3.0-beta.1 - 2023-04-20
|
|
470
|
+
* [#1760](https://github.com/stripe/stripe-node/pull/1760) Update generated code for beta
|
|
471
|
+
* Add support for `zip` on `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_options`, and `PaymentIntentUpdateParams.payment_method_options`
|
|
472
|
+
* Add support for `country_options` on `Tax.Registration` and `TaxRegistrationCreateParams`
|
|
473
|
+
* Remove support for `state` and `type` on `Tax.Registration` and `TaxRegistrationCreateParams`
|
|
474
|
+
|
|
278
475
|
## 12.2.0 - 2023-04-20
|
|
279
476
|
* [#1759](https://github.com/stripe/stripe-node/pull/1759) Update generated code
|
|
280
477
|
* Change `Checkout.Session.currency_conversion` to be required
|
|
@@ -284,6 +481,16 @@
|
|
|
284
481
|
* [#1762](https://github.com/stripe/stripe-node/pull/1762) Add Deno webhook signing example
|
|
285
482
|
* [#1761](https://github.com/stripe/stripe-node/pull/1761) Add Deno usage instructions in README
|
|
286
483
|
|
|
484
|
+
## 12.2.0-beta.1 - 2023-04-13
|
|
485
|
+
* [#1751](https://github.com/stripe/stripe-node/pull/1751) Update generated code for beta
|
|
486
|
+
* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
|
487
|
+
* Add support for `paypal_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
488
|
+
* Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
|
|
489
|
+
* Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal.Reader.action`
|
|
490
|
+
* Add support for `stripe_account` on `Terminal.Reader.action.process_payment_intent` and `Terminal.Reader.action.refund_payment`
|
|
491
|
+
* Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `Terminal.Reader.action.type`
|
|
492
|
+
* Add support for new value `terminal.reader.action_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
493
|
+
|
|
287
494
|
## 12.1.1 - 2023-04-13
|
|
288
495
|
No product changes.
|
|
289
496
|
|
|
@@ -292,6 +499,16 @@ No product changes.
|
|
|
292
499
|
* Add support for new value `REVOIE23` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
|
|
293
500
|
* [#1749](https://github.com/stripe/stripe-node/pull/1749) Type extend and ResourceNamespace better
|
|
294
501
|
|
|
502
|
+
## 12.1.0-beta.1 - 2023-04-06
|
|
503
|
+
* [#1737](https://github.com/stripe/stripe-node/pull/1737) Update generated code for beta
|
|
504
|
+
* Add support for `treasury_transaction` on `CapitalFinancingTransactionListParams`
|
|
505
|
+
* Add support for `transaction` on `Capital.FinancingTransaction.details`
|
|
506
|
+
* Add support for new value `link` on enums `Charge.payment_method_details.card.wallet.type` and `PaymentMethod.card.wallet.type`
|
|
507
|
+
* Change `IssuingCardholderCreateParams.type` to be optional
|
|
508
|
+
* Add support for `country` on `PaymentMethod.link`
|
|
509
|
+
* Add support for `status_details` on `PaymentMethod.us_bank_account`
|
|
510
|
+
* [#1750](https://github.com/stripe/stripe-node/pull/1750) Merge master into beta
|
|
511
|
+
|
|
295
512
|
## 12.0.0 - 2023-04-06
|
|
296
513
|
* [#1743](https://github.com/stripe/stripe-node/pull/1743) Remove `Stripe.default` and `Stripe.Stripe`
|
|
297
514
|
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.
|
|
@@ -334,6 +551,11 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
334
551
|
* Add support for `status_details` on `PaymentMethod.us_bank_account`
|
|
335
552
|
* [#1747](https://github.com/stripe/stripe-node/pull/1747) (Typescript) remove deprecated properties
|
|
336
553
|
|
|
554
|
+
## 11.18.0-beta.1 - 2023-03-30
|
|
555
|
+
* [#1735](https://github.com/stripe/stripe-node/pull/1735) Update generated code
|
|
556
|
+
* Add support for new value `ioss` on enums `Tax.Registration.type` and `TaxRegistrationCreateParams.type`
|
|
557
|
+
* Change `TerminalReaderCollectInputsParams.inputs[].custom_text.description` to be optional
|
|
558
|
+
|
|
337
559
|
## 11.17.0 - 2023-03-30
|
|
338
560
|
* [#1734](https://github.com/stripe/stripe-node/pull/1734) Update generated code
|
|
339
561
|
* Remove support for `create` method on resource `Tax.Transaction`
|
|
@@ -343,6 +565,21 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
343
565
|
* This is not a breaking change, as `deleted` was never returned or accepted as input.
|
|
344
566
|
* Add support for `amount_tip` on `Terminal.ReaderPresentPaymentMethodParams.testHelpers`
|
|
345
567
|
|
|
568
|
+
## 11.17.0-beta.1 - 2023-03-23
|
|
569
|
+
* [#1724](https://github.com/stripe/stripe-node/pull/1724) Update generated code for beta (new)
|
|
570
|
+
* Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
|
571
|
+
* Add support for `collect_inputs` method on resource `Terminal.Reader`
|
|
572
|
+
* Add support for `financing_offer` on `Capital.FinancingSummary`
|
|
573
|
+
* Add support for new value `link` on enum `CheckoutSessionCreateParams.payment_method_types[]`
|
|
574
|
+
* Add support for `fx_rate` on `Checkout.Session.currency_conversion`
|
|
575
|
+
* Add support for new value `link` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
|
|
576
|
+
* Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
|
|
577
|
+
* Remove support for `preview` on `TaxCalculationCreateParams`
|
|
578
|
+
* Change type of `Tax.Calculation.line_items[]` from `LineItem` to `Tax.CalculationLineItem`
|
|
579
|
+
* Change type of `Tax.Transaction.line_items[]` from `LineItem` to `Tax.TransactionLineItem`
|
|
580
|
+
* Add support for `collect_inputs` on `Terminal.Reader.action`
|
|
581
|
+
* Add support for new value `collect_inputs` on enum `Terminal.Reader.action.type`
|
|
582
|
+
|
|
346
583
|
## 11.16.0 - 2023-03-23
|
|
347
584
|
* [#1730](https://github.com/stripe/stripe-node/pull/1730) Update generated code
|
|
348
585
|
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
|
@@ -354,6 +591,19 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
354
591
|
* Add support for `automatic_payment_methods` on `SetupIntentCreateParams` and `SetupIntent`
|
|
355
592
|
* [#1726](https://github.com/stripe/stripe-node/pull/1726) Add Deno entry point
|
|
356
593
|
|
|
594
|
+
## 11.16.0-beta.1 - 2023-03-17
|
|
595
|
+
* [#1713](https://github.com/stripe/stripe-node/pull/1713) API Updates
|
|
596
|
+
* Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
|
597
|
+
* Change type of `Invoice.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
|
|
598
|
+
* 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`
|
|
599
|
+
* 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`
|
|
600
|
+
* 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`
|
|
601
|
+
* 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
|
|
602
|
+
* Remove support for `applies_to` on `QuotePreviewInvoiceLinesParams`
|
|
603
|
+
* Add support for `shipping_cost` on `Tax.Calculation`, `Tax.Transaction`, `TaxCalculationCreateParams`, and `TaxTransactionCreateReversalParams`
|
|
604
|
+
* Add support for `tax_breakdown` on `Tax.Calculation`
|
|
605
|
+
* Remove support for `tax_summary` on `Tax.Calculation`
|
|
606
|
+
|
|
357
607
|
## 11.15.0 - 2023-03-16
|
|
358
608
|
* [#1714](https://github.com/stripe/stripe-node/pull/1714) API Updates
|
|
359
609
|
* Add support for `cashapp_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
@@ -382,6 +632,16 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
382
632
|
* Add support for new value `cashapp` on enum `PaymentMethod.type`
|
|
383
633
|
* Add support for new value `payout.reconciliation_completed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
384
634
|
|
|
635
|
+
## 11.15.0-beta.1 - 2023-03-09
|
|
636
|
+
* [#1705](https://github.com/stripe/stripe-node/pull/1705) API Updates for beta branch
|
|
637
|
+
* Updated stable APIs to the latest version
|
|
638
|
+
* Remove support for `list_transactions` method on resource `Tax.Transaction`
|
|
639
|
+
* Add support for `amendment_start` and `timestamp` on `SubscriptionScheduleAmendParams.prebilling[].bill_from`
|
|
640
|
+
* Change type of `SubscriptionScheduleAmendParams.prebilling[].bill_from.type` from `literal('now')` to `enum('amendment_start'|'now'|'timestamp')`
|
|
641
|
+
* Change type of `SubscriptionSchedule.applies_to` from `QuotesResourceQuoteLinesAppliesTo | null` to `QuotesResourceQuoteLinesAppliesTo`
|
|
642
|
+
* Add support for new value `lease_tax` on enum `Tax.Calculation.tax_summary[].tax_rate_details.tax_type`
|
|
643
|
+
* Add support for `tax_behavior` on `Tax.Settings.defaults` and `TaxSettingUpdateParams.defaults`
|
|
644
|
+
|
|
385
645
|
## 11.14.0 - 2023-03-09
|
|
386
646
|
* [#1703](https://github.com/stripe/stripe-node/pull/1703) API Updates
|
|
387
647
|
* Add support for `card_issuing` on `Issuing.CardholderCreateParams.individual` and `Issuing.CardholderUpdateParams.individual`
|
|
@@ -392,6 +652,25 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
392
652
|
* [#1695](https://github.com/stripe/stripe-node/pull/1695) Migrate generated files to ES module syntax
|
|
393
653
|
* [#1699](https://github.com/stripe/stripe-node/pull/1699) Remove extra test directory
|
|
394
654
|
|
|
655
|
+
## 11.14.0-beta.2 - 2023-03-03
|
|
656
|
+
* [#1698](https://github.com/stripe/stripe-node/pull/1698) API Updates for beta branch
|
|
657
|
+
* Updated stable APIs to the latest version
|
|
658
|
+
* Add support for `update_behavior` on `Subscription.prebilling`, `SubscriptionCreateParams.prebilling`, `SubscriptionSchedule.prebilling`, `SubscriptionScheduleCreateParams.prebilling`, `SubscriptionScheduleUpdateParams.prebilling`, and `SubscriptionUpdateParams.prebilling`
|
|
659
|
+
* Add support for `prebilling` on `SubscriptionScheduleAmendParams`
|
|
660
|
+
* Add support for `taxability_override` on `Tax.Calculation.customer_details`, `Tax.Transaction.customer_details`, and `TaxCalculationCreateParams.customer_details`
|
|
661
|
+
* Add support for `tax_summary` on `Tax.Calculation`
|
|
662
|
+
* Remove support for `tax_breakdown` on `Tax.Calculation`
|
|
663
|
+
|
|
664
|
+
## 11.14.0-beta.1 - 2023-03-02
|
|
665
|
+
* [#1697](https://github.com/stripe/stripe-node/pull/1697) API Updates for beta branch
|
|
666
|
+
* Updated stable APIs to the latest version
|
|
667
|
+
* Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
|
|
668
|
+
* Add support for `list` and `retrieve` methods on resource `CardBundle`
|
|
669
|
+
* Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
|
|
670
|
+
* Remove support for `controller` on `AccountUpdateParams`
|
|
671
|
+
* Add support for `card_design` on `Issuing.Card` and `IssuingCardCreateParams`
|
|
672
|
+
* 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[]`
|
|
673
|
+
|
|
395
674
|
## 11.13.0 - 2023-03-02
|
|
396
675
|
* [#1696](https://github.com/stripe/stripe-node/pull/1696) API Updates
|
|
397
676
|
* 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.
|
|
@@ -400,6 +679,14 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
400
679
|
|
|
401
680
|
* [#1689](https://github.com/stripe/stripe-node/pull/1689) Update v11.8.0 changelog with breaking change disclaimer
|
|
402
681
|
|
|
682
|
+
## 11.13.0-beta.1 - 2023-02-23
|
|
683
|
+
* [#1690](https://github.com/stripe/stripe-node/pull/1690) API Updates for beta branch
|
|
684
|
+
* Updated stable APIs to the latest version
|
|
685
|
+
* 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`
|
|
686
|
+
* Add support for new value `igst` on enum `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`
|
|
687
|
+
* Change `TaxTransactionCreateParams.reference` to be required
|
|
688
|
+
* 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[]`
|
|
689
|
+
|
|
403
690
|
## 11.12.0 - 2023-02-23
|
|
404
691
|
* [#1688](https://github.com/stripe/stripe-node/pull/1688) API Updates
|
|
405
692
|
* 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`
|
|
@@ -407,6 +694,15 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
407
694
|
* Add support for new value `igst` on enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
|
|
408
695
|
* [#1687](https://github.com/stripe/stripe-node/pull/1687) Convert TypeScript files to use ES modules
|
|
409
696
|
|
|
697
|
+
## 11.12.0-beta.1 - 2023-02-16
|
|
698
|
+
* [#1686](https://github.com/stripe/stripe-node/pull/1686) API Updates for beta branch
|
|
699
|
+
* Updated stable APIs to the latest version
|
|
700
|
+
* Change type of `Quote.status_details.canceled` from `QuotesResourceStatusDetailsCanceledStatusDetails | null` to `QuotesResourceStatusDetailsCanceledStatusDetails`
|
|
701
|
+
* Change type of `Quote.status_details.stale` from `QuotesResourceStatusDetailsStaleStatusDetails | null` to `QuotesResourceStatusDetailsStaleStatusDetails`
|
|
702
|
+
* Change `Quote.status_details.canceled` and `Quote.status_details.stale` to be optional
|
|
703
|
+
* Remove support for `reference` on `Tax.Calculation` and `TaxCalculationCreateParams`
|
|
704
|
+
* Add support for `reference` on `TaxTransactionCreateParams`
|
|
705
|
+
|
|
410
706
|
## 11.11.0 - 2023-02-16
|
|
411
707
|
* [#1681](https://github.com/stripe/stripe-node/pull/1681) API Updates
|
|
412
708
|
* Add support for `refund_payment` method on resource `Terminal.Reader`
|
|
@@ -421,9 +717,32 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
421
717
|
* [#1685](https://github.com/stripe/stripe-node/pull/1685) Add more webhook parsing checks
|
|
422
718
|
* [#1684](https://github.com/stripe/stripe-node/pull/1684) Add infrastructure for mocked tests
|
|
423
719
|
|
|
720
|
+
## 11.11.0-beta.1 - 2023-02-13
|
|
721
|
+
* [#1676](https://github.com/stripe/stripe-node/pull/1676) API Updates for beta branch
|
|
722
|
+
* Updated stable APIs to the latest version
|
|
723
|
+
* Add support for `currency_conversion` on `Checkout.Session`
|
|
724
|
+
* Add support for `limits` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
|
|
725
|
+
* Remove support for `enabled` on `FinancialConnectionsSessionCreateParams.manual_entry`
|
|
726
|
+
|
|
424
727
|
## 11.10.0 - 2023-02-09
|
|
425
728
|
* [#1679](https://github.com/stripe/stripe-node/pull/1679) Enable library to work in worker environments without extra configuration.
|
|
426
729
|
|
|
730
|
+
## 11.10.0-beta.1 - 2023-02-02
|
|
731
|
+
* [#1671](https://github.com/stripe/stripe-node/pull/1671) API Updates for beta branch
|
|
732
|
+
* Updated stable APIs to the latest version
|
|
733
|
+
* Add support for new resource `FinancialConnections.Transaction`
|
|
734
|
+
* Add support for `list` method on resource `Transaction`
|
|
735
|
+
* Add support for `prefetch` on `.payment_method_options.us_bank_account.financial_connections` across several APIs
|
|
736
|
+
* 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
|
|
737
|
+
* Add support for new values `inferred_balances` and `transactions` on enum `FinancialConnectionsAccountRefreshParams.features[]`
|
|
738
|
+
* Add support for `inferred_balances_refresh`, `subscriptions`, and `transaction_refresh` on `FinancialConnections.Account`
|
|
739
|
+
* Add support for `manual_entry` on `FinancialConnections.Session` and `FinancialConnectionsSessionCreateParams`
|
|
740
|
+
* Add support for `status_details` and `status` on `FinancialConnections.Session`
|
|
741
|
+
* 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[]`
|
|
742
|
+
* Add support for `account_number` on `PaymentMethod.us_bank_account`
|
|
743
|
+
* Remove support for `id` on `QuoteCreateParams.lines[].starts_at.line_ends_at`
|
|
744
|
+
* 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[]`
|
|
745
|
+
|
|
427
746
|
## 11.9.1 - 2023-02-03
|
|
428
747
|
* [#1672](https://github.com/stripe/stripe-node/pull/1672) Update main entrypoint on package.json
|
|
429
748
|
|
|
@@ -449,12 +768,23 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
449
768
|
* [#1668](https://github.com/stripe/stripe-node/pull/1668) Use EventTarget in worker / browser runtimes
|
|
450
769
|
* [#1667](https://github.com/stripe/stripe-node/pull/1667) fix: added support for TypeScript "NodeNext" module resolution
|
|
451
770
|
|
|
771
|
+
## 11.9.0-beta.1 - 2023-01-26
|
|
772
|
+
* [#1666](https://github.com/stripe/stripe-node/pull/1666) API Updates for beta branch
|
|
773
|
+
* Updated stable APIs to the latest version
|
|
774
|
+
* Add support for `billing_agreement_id` on `CheckoutSessionCreateParams.payment_method_options.paypal`
|
|
775
|
+
* Add support for `list_transactions` method on resource `Tax.Transaction`
|
|
776
|
+
* Change type of `QuoteUpdateParams.subscription_data_overrides` from `array(create_specs)` to `emptyStringable(array(update_specs))`
|
|
777
|
+
|
|
452
778
|
## 11.8.0 - 2023-01-26
|
|
453
779
|
* [#1665](https://github.com/stripe/stripe-node/pull/1665) API Updates
|
|
454
780
|
* 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`
|
|
455
781
|
* 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`
|
|
456
782
|
* [#1660](https://github.com/stripe/stripe-node/pull/1660) Introduce separate entry point for worker environments
|
|
457
|
-
|
|
783
|
+
|
|
784
|
+
## 11.8.0-beta.1 - 2023-01-19
|
|
785
|
+
* [#1662](https://github.com/stripe/stripe-node/pull/1662) API Updates for beta branch
|
|
786
|
+
* Updated stable APIs to the latest version
|
|
787
|
+
* Add support for `Tax.Settings` resource.
|
|
458
788
|
|
|
459
789
|
## 11.7.0 - 2023-01-19
|
|
460
790
|
* [#1661](https://github.com/stripe/stripe-node/pull/1661) API Updates
|
|
@@ -462,10 +792,39 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
462
792
|
* Add support for new values `refund.created` and `refund.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
463
793
|
* [#1647](https://github.com/stripe/stripe-node/pull/1647) Bump json5 from 2.2.1 to 2.2.3
|
|
464
794
|
|
|
795
|
+
## 11.7.0-beta.2 - 2023-01-12
|
|
796
|
+
* [#1653](https://github.com/stripe/stripe-node/pull/1653) API Updates for beta branch
|
|
797
|
+
* Updated stable APIs to the latest version
|
|
798
|
+
* Add support for new resource `Tax.Registration`
|
|
799
|
+
* Add support for `create`, `list`, and `update` methods on resource `Registration`
|
|
800
|
+
* Add support for `controller` on `AccountCreateParams` and `AccountUpdateParams`
|
|
801
|
+
* Add support for `application` and `dashboard` on `Account.controller`
|
|
802
|
+
* Change type of `Quote.subscription_data_overrides[].proration_behavior` from `enum('always_invoice'|'create_prorations'|'none')` to `enum('always_invoice'|'create_prorations'|'none') | null`
|
|
803
|
+
* Remove support for `timestamp` on `QuoteLine.actions[].add_discount.discount_end`
|
|
804
|
+
* Change type of `QuoteLine.actions[].add_discount.discount_end.type` from `literal('timestamp')` to `literal('line_ends_at')`
|
|
805
|
+
* 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[]`
|
|
806
|
+
* Change `QuoteLine.actions[].add_discount.index` to be required
|
|
807
|
+
* Add support for new values `quote.accepting`, `quote.reestimated`, and `quote.stale` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
808
|
+
|
|
809
|
+
* Change `quote.draft_quote` implementation from hitting `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
|
810
|
+
|
|
811
|
+
## 11.7.0-beta.1 - 2023-01-05
|
|
812
|
+
* [#1648](https://github.com/stripe/stripe-node/pull/1648) API Updates for beta branch
|
|
813
|
+
* Updated stable APIs to the latest version
|
|
814
|
+
* Add support for `mark_stale_quote` method on resource `Quote`
|
|
815
|
+
* 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`
|
|
816
|
+
* 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`
|
|
817
|
+
* Add support for `metadata` on `Terminal.Reader.action.refund_payment` and `TerminalReaderRefundPaymentParams`
|
|
818
|
+
|
|
465
819
|
## 11.6.0 - 2023-01-05
|
|
466
820
|
* [#1646](https://github.com/stripe/stripe-node/pull/1646) API Updates
|
|
467
821
|
* Add support for `card_issuing` on `Issuing.Cardholder.individual`
|
|
468
822
|
|
|
823
|
+
## 11.6.0-beta.1 - 2022-12-22
|
|
824
|
+
* [#1643](https://github.com/stripe/stripe-node/pull/1643) API Updates for beta branch
|
|
825
|
+
* Updated stable APIs to the latest version
|
|
826
|
+
* Move `stripe.taxCalculations` to `stripe.tax.calculations` and `stripe.taxTransactions` to `stripe.tax.transactions`.
|
|
827
|
+
|
|
469
828
|
## 11.5.0 - 2022-12-22
|
|
470
829
|
* [#1642](https://github.com/stripe/stripe-node/pull/1642) API Updates
|
|
471
830
|
* 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`
|
|
@@ -473,6 +832,13 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
473
832
|
* Change `Checkout.SessionCreateParams.cancel_url` to be optional
|
|
474
833
|
* Change type of `Checkout.Session.cancel_url` from `string` to `string | null`
|
|
475
834
|
|
|
835
|
+
## 11.5.0-beta.1 - 2022-12-15
|
|
836
|
+
* [#1640](https://github.com/stripe/stripe-node/pull/1640) API Updates for beta branch
|
|
837
|
+
* Updated stable APIs to the latest version
|
|
838
|
+
* Add support for new resources `QuoteLine`, `TaxCalculation`, and `TaxTransaction`
|
|
839
|
+
* Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
|
|
840
|
+
* Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
|
|
841
|
+
|
|
476
842
|
## 11.4.0 - 2022-12-15
|
|
477
843
|
* [#1639](https://github.com/stripe/stripe-node/pull/1639) API Updates
|
|
478
844
|
* Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransaction.type`
|
|
@@ -482,6 +848,12 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
482
848
|
* [#1634](https://github.com/stripe/stripe-node/pull/1634) API Updates
|
|
483
849
|
* Change `CustomerListPaymentMethodsParams.type` and `PaymentMethodListParams.type` to be optional
|
|
484
850
|
|
|
851
|
+
## 11.3.0-beta.1 - 2022-12-08
|
|
852
|
+
* [#1635](https://github.com/stripe/stripe-node/pull/1635) API Updates for beta branch
|
|
853
|
+
* Updated stable APIs to the latest version
|
|
854
|
+
* [#1633](https://github.com/stripe/stripe-node/pull/1633) API Updates for beta branch
|
|
855
|
+
* Updated stable APIs to the latest version
|
|
856
|
+
|
|
485
857
|
## 11.2.0 - 2022-12-06
|
|
486
858
|
* [#1632](https://github.com/stripe/stripe-node/pull/1632) API Updates
|
|
487
859
|
* Add support for `flow_data` on `BillingPortal.SessionCreateParams`
|
|
@@ -505,7 +877,6 @@ This was added to maintain backwards compatibility during the transition of stri
|
|
|
505
877
|
* Add support for `custom_text` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
|
|
506
878
|
* Add support for `hosted_instructions_url` on `PaymentIntent.next_action.paynow_display_qr_code`
|
|
507
879
|
|
|
508
|
-
|
|
509
880
|
## 11.0.0 - 2022-11-16
|
|
510
881
|
|
|
511
882
|
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
|
|
@@ -518,62 +889,11 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
518
889
|
* [#1615](https://github.com/stripe/stripe-node/pull/1615) API Updates
|
|
519
890
|
* ⚠️ Remove support for `tos_shown_and_accepted` on `Checkout.SessionCreateParams.payment_method_options.paynow`. The property was mistakenly released and never worked.
|
|
520
891
|
|
|
521
|
-
|
|
522
|
-
*
|
|
523
|
-
*
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
* Remove `Orders` resource. (#1580)
|
|
527
|
-
* Remove `SKU` resource (#1583)
|
|
528
|
-
* Remove deprecated `Checkout.SessionCreateParams.subscription_data.items`. (#1580)
|
|
529
|
-
* Remove deprecated configuration setter methods (`setHost`, `setProtocol`, `setPort`, `setApiVersion`, `setApiKey`, `setTimeout`, `setAppInfo`, `setHttpAgent`, `setMaxNetworkRetries`, and `setTelemetryEnabled`). (#1597)
|
|
530
|
-
|
|
531
|
-
Use the config object to set these options instead, for example:
|
|
532
|
-
```typescript
|
|
533
|
-
const stripe = Stripe('sk_test_...', {
|
|
534
|
-
apiVersion: '2019-08-08',
|
|
535
|
-
maxNetworkRetries: 1,
|
|
536
|
-
httpAgent: new ProxyAgent(process.env.http_proxy),
|
|
537
|
-
timeout: 1000,
|
|
538
|
-
host: 'api.example.com',
|
|
539
|
-
port: 123,
|
|
540
|
-
telemetry: true,
|
|
541
|
-
});
|
|
542
|
-
```
|
|
543
|
-
* Remove deprecated basic method definitions. (#1600)
|
|
544
|
-
Use basic methods defined on the resource instead.
|
|
545
|
-
```typescript
|
|
546
|
-
// Before
|
|
547
|
-
basicMethods: true
|
|
548
|
-
|
|
549
|
-
// After
|
|
550
|
-
create: stripeMethod({
|
|
551
|
-
method: 'POST',
|
|
552
|
-
fullPath: '/v1/resource',
|
|
553
|
-
}),
|
|
554
|
-
list: stripeMethod({
|
|
555
|
-
method: 'GET',
|
|
556
|
-
methodType: 'list',
|
|
557
|
-
fullPath: '/v1/resource',
|
|
558
|
-
}),
|
|
559
|
-
retrieve: stripeMethod({
|
|
560
|
-
method: 'GET',
|
|
561
|
-
fullPath: '/v1/resource/{id}',
|
|
562
|
-
}),
|
|
563
|
-
update: stripeMethod({
|
|
564
|
-
method: 'POST',
|
|
565
|
-
fullPath: '/v1/resource/{id}',
|
|
566
|
-
}),
|
|
567
|
-
// Avoid 'delete' keyword in JS
|
|
568
|
-
del: stripeMethod({
|
|
569
|
-
method: 'DELETE',
|
|
570
|
-
fullPath: '/v1/resource/{id}',
|
|
571
|
-
}),
|
|
572
|
-
```
|
|
573
|
-
* 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)
|
|
574
|
-
* Remove `charges` field on `PaymentIntent` and replace it with `latest_charge`. (#1614 )
|
|
575
|
-
* Remove deprecated `amount` field on `Checkout.Session.LineItem`. (#1614 )
|
|
576
|
-
* Remove support for `tos_shown_and_accepted` on `Checkout.Session.PaymentMethodOptions.Paynow`. (#1614 )
|
|
892
|
+
## 10.18.0-beta.1 - 2022-11-10
|
|
893
|
+
* [#1616](https://github.com/stripe/stripe-node/pull/1616) API Updates for beta branch
|
|
894
|
+
* Updated stable APIs to the latest version
|
|
895
|
+
* Add `discount_end` to `Discount`.
|
|
896
|
+
* Add `url` to `MerchantData`.
|
|
577
897
|
|
|
578
898
|
## 10.17.0 - 2022-11-08
|
|
579
899
|
* [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates
|
|
@@ -587,6 +907,22 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
587
907
|
* 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`
|
|
588
908
|
* Add support for `tax_behavior` and `tax_code` on `InvoiceItemCreateParams`, `InvoiceItemUpdateParams`, `InvoiceUpcomingLinesParams.invoice_items[]`, and `InvoiceUpcomingParams.invoice_items[]`
|
|
589
909
|
|
|
910
|
+
## 10.16.0-beta.2 - 2022-11-02
|
|
911
|
+
* [#1598](https://github.com/stripe/stripe-node/pull/1598) API Updates for beta branch
|
|
912
|
+
* Updated beta APIs to the latest stable version
|
|
913
|
+
* Add support for `cashappPayments` and `zipPayments` on `Account`.
|
|
914
|
+
* Add support for `cashapp` and `zip` on `Charge`, `PaymentMethod`.
|
|
915
|
+
* Add support for `trialSettings` on `SubscriptionSchedule`.
|
|
916
|
+
|
|
917
|
+
## 10.16.0-beta.1 - 2022-10-21
|
|
918
|
+
* [#1589](https://github.com/stripe/stripe-node/pull/1589) API Updates for beta branch
|
|
919
|
+
* Updated stable APIs to the latest version
|
|
920
|
+
* Add support for new value `revoked` on enum `CapitalFinancingOfferListParams.status`
|
|
921
|
+
* Add support for `paypal` on `Charge.payment_method_details` and `Source`
|
|
922
|
+
* Add support for `network_data` on `Issuing.Transaction`
|
|
923
|
+
* Add support for new value `paypal` on enum `Source.type`
|
|
924
|
+
* Add support for `billing_cycle_anchor` on `SubscriptionScheduleAmendParams.amendments[]`
|
|
925
|
+
|
|
590
926
|
## 10.15.0 - 2022-10-20
|
|
591
927
|
* [#1588](https://github.com/stripe/stripe-node/pull/1588) API Updates
|
|
592
928
|
* 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`
|
|
@@ -594,6 +930,11 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
594
930
|
* Add support for `tipping` on `Terminal.Reader.action.process_payment_intent.process_config` and `Terminal.ReaderProcessPaymentIntentParams.process_config`
|
|
595
931
|
* [#1585](https://github.com/stripe/stripe-node/pull/1585) use native UUID method if available
|
|
596
932
|
|
|
933
|
+
## 10.15.0-beta.1 - 2022-10-14
|
|
934
|
+
* Add support for `schedule_settings` on `SubscriptionScheduleAmendParams`
|
|
935
|
+
* Add support for new value `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_end.type`
|
|
936
|
+
* Add support for new values `schedule_end` and `upcoming_invoice` on enum `SubscriptionScheduleAmendParams.amendments[].amendment_start.type`
|
|
937
|
+
|
|
597
938
|
## 10.14.0 - 2022-10-13
|
|
598
939
|
* [#1582](https://github.com/stripe/stripe-node/pull/1582) API Updates
|
|
599
940
|
* 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`
|
|
@@ -601,6 +942,11 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
601
942
|
* Add support for `network_data` on `Issuing.Authorization`
|
|
602
943
|
* ⚠️ Remove `currency`, `description`, `images`, and `name` from `Checkout.SessionCreateParams`. These properties do not work on the latest API version. (fixes #1575)
|
|
603
944
|
|
|
945
|
+
## 10.14.0-beta.1 - 2022-10-07
|
|
946
|
+
* [#1572](https://github.com/stripe/stripe-node/pull/1572) API Updates for beta branch
|
|
947
|
+
* Updated stable APIs to the latest version
|
|
948
|
+
* Add `reference_id` to `Paypal` interface.
|
|
949
|
+
|
|
604
950
|
## 10.13.0 - 2022-10-06
|
|
605
951
|
* [#1571](https://github.com/stripe/stripe-node/pull/1571) API Updates
|
|
606
952
|
* 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`
|
|
@@ -621,6 +967,11 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
621
967
|
* [#1562](https://github.com/stripe/stripe-node/pull/1562) Restore lib after generating
|
|
622
968
|
* [#1551](https://github.com/stripe/stripe-node/pull/1551) Re-introduce Typescript changes
|
|
623
969
|
|
|
970
|
+
## 10.12.0-beta.1 - 2022-09-26
|
|
971
|
+
* [#1561](https://github.com/stripe/stripe-node/pull/1561) API Updates for beta branch
|
|
972
|
+
* Updated stable APIs to the latest version
|
|
973
|
+
* Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
|
|
974
|
+
|
|
624
975
|
## 10.11.0 - 2022-09-22
|
|
625
976
|
* [#1560](https://github.com/stripe/stripe-node/pull/1560) API Updates
|
|
626
977
|
* 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`
|
|
@@ -628,7 +979,6 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
628
979
|
* Add support for `statement_descriptor` on `PaymentIntentIncrementAuthorizationParams`
|
|
629
980
|
* Change `SubscriptionSchedule.phases[].currency` to be required
|
|
630
981
|
|
|
631
|
-
|
|
632
982
|
## 10.10.0 - 2022-09-15
|
|
633
983
|
* [#1552](https://github.com/stripe/stripe-node/pull/1552) API Updates
|
|
634
984
|
* 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`
|
|
@@ -671,6 +1021,11 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
671
1021
|
* [#1532](https://github.com/stripe/stripe-node/pull/1532) Update coveralls step to run for one node version, remove finish step
|
|
672
1022
|
* [#1531](https://github.com/stripe/stripe-node/pull/1531) Regen yarn.lock.
|
|
673
1023
|
|
|
1024
|
+
## 10.6.0-beta.1 - 2022-08-26
|
|
1025
|
+
* [#1529](https://github.com/stripe/stripe-node/pull/1529) API Updates for beta branch
|
|
1026
|
+
* Updated stable APIs to the latest version
|
|
1027
|
+
* Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
|
|
1028
|
+
|
|
674
1029
|
## 10.5.0 - 2022-08-24
|
|
675
1030
|
* [#1527](https://github.com/stripe/stripe-node/pull/1527) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
|
|
676
1031
|
* [#1528](https://github.com/stripe/stripe-node/pull/1528) Update README.md to use a new NOTE notation
|
|
@@ -685,6 +1040,11 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
685
1040
|
* Change the return type of `Customer.fundCashBalance` test helper from `CustomerBalanceTransaction` to `CustomerCashBalanceTransaction`.
|
|
686
1041
|
* 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.
|
|
687
1042
|
|
|
1043
|
+
## 10.4.0-beta.1 - 2022-08-23
|
|
1044
|
+
* [#1523](https://github.com/stripe/stripe-node/pull/1523) API Updates for beta branch
|
|
1045
|
+
- Updated stable APIs to the latest version
|
|
1046
|
+
- `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)
|
|
1047
|
+
* [#1521](https://github.com/stripe/stripe-node/pull/1521) fix: Update FetchHttpClient to send empty string for empty POST/PUT/PATCH requests.
|
|
688
1048
|
|
|
689
1049
|
## 10.3.0 - 2022-08-19
|
|
690
1050
|
* [#1516](https://github.com/stripe/stripe-node/pull/1516) API Updates
|
|
@@ -697,11 +1057,15 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
697
1057
|
* Add support for new value `customer_cash_balance_transaction.created` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
|
|
698
1058
|
* [#1515](https://github.com/stripe/stripe-node/pull/1515) Add a support section to the readme
|
|
699
1059
|
|
|
1060
|
+
## 10.3.0-beta.1 - 2022-08-11
|
|
1061
|
+
* [#1511](https://github.com/stripe/stripe-node/pull/1511) API Updates for beta branch
|
|
1062
|
+
- Updated stable APIs to the latest version
|
|
1063
|
+
- Add refund_payment method to Terminal resource
|
|
1064
|
+
|
|
700
1065
|
## 10.2.0 - 2022-08-11
|
|
701
1066
|
* [#1510](https://github.com/stripe/stripe-node/pull/1510) API Updates
|
|
702
1067
|
* Add support for `payment_method_collection` on `Checkout.Session`, `Checkout.SessionCreateParams`, `PaymentLinkCreateParams`, `PaymentLinkUpdateParams`, and `PaymentLink`
|
|
703
1068
|
|
|
704
|
-
|
|
705
1069
|
## 10.1.0 - 2022-08-09
|
|
706
1070
|
* [#1506](https://github.com/stripe/stripe-node/pull/1506) API Updates
|
|
707
1071
|
* Add support for `process_config` on `Terminal.Reader.action.process_payment_intent`
|
|
@@ -711,50 +1075,22 @@ This release includes breaking changes resulting from moving to use the new API
|
|
|
711
1075
|
* [#1503](https://github.com/stripe/stripe-node/pull/1503) API Updates
|
|
712
1076
|
* Add support for `expires_at` on `Apps.Secret` and `Apps.SecretCreateParams`
|
|
713
1077
|
|
|
1078
|
+
## 10.1.0-beta.1 - 2022-08-03
|
|
1079
|
+
* [#1498](https://github.com/stripe/stripe-node/pull/1498) API Updates for beta branch
|
|
1080
|
+
- Updated stable APIs to the latest version
|
|
1081
|
+
- Added the `Order` resource support
|
|
1082
|
+
|
|
714
1083
|
## 10.0.0 - 2022-08-02
|
|
715
1084
|
|
|
716
|
-
|
|
1085
|
+
Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
|
|
717
1086
|
|
|
718
|
-
|
|
719
|
-
* 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.
|
|
1087
|
+
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.
|
|
720
1088
|
|
|
721
1089
|
"⚠️" symbol highlights breaking changes.
|
|
722
1090
|
|
|
723
1091
|
* [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates
|
|
724
1092
|
* [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes
|
|
725
1093
|
|
|
726
|
-
### Added
|
|
727
|
-
* 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`
|
|
728
|
-
* Add support for `shipping_cost` and `shipping_details` on `Checkout.Session`
|
|
729
|
-
|
|
730
|
-
### ⚠️ Changed
|
|
731
|
-
* Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable.
|
|
732
|
-
* Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`.
|
|
733
|
-
* 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`.
|
|
734
|
-
* Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable.
|
|
735
|
-
* Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
|
|
736
|
-
|
|
737
|
-
### ⚠️ Removed
|
|
738
|
-
* Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions.
|
|
739
|
-
* Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.
|
|
740
|
-
* Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`.
|
|
741
|
-
* Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions.
|
|
742
|
-
* Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead.
|
|
743
|
-
* Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.
|
|
744
|
-
* Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.
|
|
745
|
-
* Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.
|
|
746
|
-
* Remove `IssuerFraudRecords` resource.
|
|
747
|
-
* Remove `Recipient` resource and`recipient` property from `Card` resource.
|
|
748
|
-
* Remove `InvoiceMarkUncollectibleParams` definition.
|
|
749
|
-
* Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions.
|
|
750
|
-
* Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.
|
|
751
|
-
* Remove `LineItemListParams` definition. The interface was no longer in use.
|
|
752
|
-
|
|
753
|
-
### ⚠️ Renamed
|
|
754
|
-
* Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`.
|
|
755
|
-
* Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`.
|
|
756
|
-
* Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`.
|
|
757
|
-
|
|
758
1094
|
## 9.16.0 - 2022-07-26
|
|
759
1095
|
* [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates
|
|
760
1096
|
* 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`
|
|
@@ -771,6 +1107,20 @@ This release includes breaking changes resulting from:
|
|
|
771
1107
|
* Add support for `mandate` on `InvoicePayParams`
|
|
772
1108
|
* Add support for `product_data` on `OrderCreateParams.line_items[]` and `OrderUpdateParams.line_items[]`
|
|
773
1109
|
|
|
1110
|
+
## 9.15.0-beta.1 - 2022-07-22
|
|
1111
|
+
* [#1485](https://github.com/stripe/stripe-node/pull/1485) API Updates for beta branch
|
|
1112
|
+
- Updated stable APIs to the latest version
|
|
1113
|
+
* [#1483](https://github.com/stripe/stripe-node/pull/1483) API Updates for beta branch
|
|
1114
|
+
- Updated stable APIs to the latest version
|
|
1115
|
+
- Add `QuotePhase` resource
|
|
1116
|
+
* [#1479](https://github.com/stripe/stripe-node/pull/1479) API Updates for beta branch
|
|
1117
|
+
- Updated stable APIs to the latest version
|
|
1118
|
+
- Add `Price.migrate_to` property
|
|
1119
|
+
- Add `SubscriptionSchedule.amend` method.
|
|
1120
|
+
- Add `Discount.subscription_item` property.
|
|
1121
|
+
- Add `Quote.subscription_data.billing_behavior`, `billing_cycle_anchor`, `end_behavior`, `from_schedule`, `from_subscription`, `prebilling`, `proration_behavior` properties.
|
|
1122
|
+
- Add `phases` parameter to `Quote.create`
|
|
1123
|
+
- Add `Subscription.discounts`, `prebilling` properties.
|
|
774
1124
|
|
|
775
1125
|
## 9.14.0 - 2022-07-18
|
|
776
1126
|
* [#1477](https://github.com/stripe/stripe-node/pull/1477) API Updates
|
|
@@ -794,6 +1144,18 @@ This release includes breaking changes resulting from:
|
|
|
794
1144
|
* Change `Transfer.source_type` to be optional and not nullable
|
|
795
1145
|
* [#1471](https://github.com/stripe/stripe-node/pull/1471) Update readme to include a note on beta packages
|
|
796
1146
|
|
|
1147
|
+
## 9.13.0-beta.1 - 2022-07-07
|
|
1148
|
+
* [#1469](https://github.com/stripe/stripe-node/pull/1469) API Updates for beta branch
|
|
1149
|
+
- Include `server_side_confirmation_beta=v1` beta
|
|
1150
|
+
- Add `secretKeyConfirmation` to `PaymentIntent`
|
|
1151
|
+
* [#1451](https://github.com/stripe/stripe-node/pull/1451) API Updates
|
|
1152
|
+
- Updated stable APIs to the latest version
|
|
1153
|
+
* [#1457](https://github.com/stripe/stripe-node/pull/1457) Use the generated API version
|
|
1154
|
+
* [#1445](https://github.com/stripe/stripe-node/pull/1445) Support updating pre-release versions
|
|
1155
|
+
* [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
|
|
1156
|
+
* Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
|
|
1157
|
+
* [#1444](https://github.com/stripe/stripe-node/pull/1444) Merge master branch into beta branch
|
|
1158
|
+
|
|
797
1159
|
## 9.12.0 - 2022-07-07
|
|
798
1160
|
* [#1468](https://github.com/stripe/stripe-node/pull/1468) API Updates
|
|
799
1161
|
* Add support for `currency` on `Checkout.SessionCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkCreateParams`, `SubscriptionCreateParams`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[]`, and `Subscription`
|
|
@@ -856,6 +1218,10 @@ This release includes breaking changes resulting from:
|
|
|
856
1218
|
* 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`
|
|
857
1219
|
* Add support for `custom_unit_amount` on `PriceCreateParams` and `Price`
|
|
858
1220
|
|
|
1221
|
+
## 9.8.0-beta.1 - 2022-06-08
|
|
1222
|
+
* [#1442](https://github.com/stripe/stripe-node/pull/1442) API Updates
|
|
1223
|
+
* Add support for `network_details` method on resource `ReceivedCredits`/`ReceivedDebits`
|
|
1224
|
+
|
|
859
1225
|
## 9.7.0 - 2022-06-08
|
|
860
1226
|
* [#1441](https://github.com/stripe/stripe-node/pull/1441) API Updates
|
|
861
1227
|
* Add support for `affirm`, `bancontact`, `card`, `ideal`, `p24`, and `sofort` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
|
|
@@ -876,7 +1242,6 @@ This release includes breaking changes resulting from:
|
|
|
876
1242
|
* Add support for `network` on `SetupIntent.payment_method_options.card`
|
|
877
1243
|
* Add support for new value `simulated_wisepos_e` on enums `Terminal.Reader.device_type` and `Terminal.ReaderListParams.device_type`
|
|
878
1244
|
|
|
879
|
-
|
|
880
1245
|
## 9.5.0 - 2022-05-26
|
|
881
1246
|
* [#1434](https://github.com/stripe/stripe-node/pull/1434) API Updates
|
|
882
1247
|
* Add support for `affirm_payments` and `link_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
@@ -947,7 +1312,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
|
|
|
947
1312
|
* Add support for `default_price` on `ProductUpdateParams` and `Product`
|
|
948
1313
|
* Add support for `instructions_email` on `RefundCreateParams` and `Refund`
|
|
949
1314
|
|
|
950
|
-
|
|
951
1315
|
## 8.221.0 - 2022-05-05
|
|
952
1316
|
* [#1413](https://github.com/stripe/stripe-node/pull/1413) API Updates
|
|
953
1317
|
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
|
@@ -1224,7 +1588,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
|
|
|
1224
1588
|
* [#1297](https://github.com/stripe/stripe-node/pull/1297) API Updates
|
|
1225
1589
|
* Add support for `automatic_payment_methods` on `PaymentIntentCreateParams` and `PaymentIntent`
|
|
1226
1590
|
|
|
1227
|
-
|
|
1228
1591
|
## 8.189.0 - 2021-11-16
|
|
1229
1592
|
* [#1295](https://github.com/stripe/stripe-node/pull/1295) API Updates
|
|
1230
1593
|
* Add support for new resource `ShippingRate`
|
|
@@ -1247,7 +1610,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
|
|
|
1247
1610
|
* Remove support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account`. This API was unused.
|
|
1248
1611
|
* Add support for `ownership_declaration_shown_and_signed` on `TokenCreateParams.account.company`
|
|
1249
1612
|
|
|
1250
|
-
|
|
1251
1613
|
## 8.186.0 - 2021-11-01
|
|
1252
1614
|
* [#1283](https://github.com/stripe/stripe-node/pull/1283) API Updates
|
|
1253
1615
|
* Add support for `ownership_declaration` on `AccountUpdateParams.company`, `AccountCreateParams.company`, `Account.company`, and `TokenCreateParams.account.company`
|
|
@@ -1391,7 +1753,6 @@ Major version release - The [migration guide](https://github.com/stripe/stripe-n
|
|
|
1391
1753
|
* Add support for `wallet` on `Issuing.Transaction`
|
|
1392
1754
|
* Add support for `ideal` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
|
|
1393
1755
|
|
|
1394
|
-
|
|
1395
1756
|
## 8.163.0 - 2021-07-15
|
|
1396
1757
|
* [#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
|
|
1397
1758
|
|
|
@@ -2924,7 +3285,7 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
|
|
|
2924
3285
|
|
|
2925
3286
|
- [BUGFIX] Fix incorrect deleteDiscount method & related spec(s)
|
|
2926
3287
|
|
|
2927
|
-
|
|
3288
|
+
## 2.2.1 - 2013-12-01
|
|
2928
3289
|
|
|
2929
3290
|
- [BUGFIX] Fix user-agent header issue (see issue #75)
|
|
2930
3291
|
|
|
@@ -2987,3 +3348,4 @@ Pull requests included in this release (cf. [#606](https://github.com/stripe/str
|
|
|
2987
3348
|
## 0.0.2 - 2011-09-28
|
|
2988
3349
|
|
|
2989
3350
|
- Initial release with customers and tokens APIs
|
|
3351
|
+
|