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