stripe 20.2.0-alpha.1 → 20.2.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/CHANGELOG.md +105 -36
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources/Subscriptions.js +4 -0
  5. package/cjs/resources/Tax/Locations.js +18 -0
  6. package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +1 -1
  7. package/cjs/resources.js +4 -2
  8. package/cjs/stripe.core.js +1 -1
  9. package/esm/resources/Subscriptions.js +4 -0
  10. package/esm/resources/Tax/Locations.js +15 -0
  11. package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +1 -1
  12. package/esm/resources.js +2 -0
  13. package/esm/stripe.core.js +1 -1
  14. package/package.json +3 -3
  15. package/types/Checkout/SessionsResource.d.ts +10 -0
  16. package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +6 -4
  17. package/types/Invoices.d.ts +5 -0
  18. package/types/InvoicesResource.d.ts +17 -2
  19. package/types/PaymentIntentsResource.d.ts +3 -3
  20. package/types/PaymentLinksResource.d.ts +5 -0
  21. package/types/Plans.d.ts +5 -0
  22. package/types/PlansResource.d.ts +19 -0
  23. package/types/Prices.d.ts +5 -0
  24. package/types/PricesResource.d.ts +19 -0
  25. package/types/ProductsResource.d.ts +10 -0
  26. package/types/QuoteLines.d.ts +1 -1
  27. package/types/QuotePreviewInvoices.d.ts +5 -0
  28. package/types/Quotes.d.ts +4 -4
  29. package/types/QuotesResource.d.ts +10 -10
  30. package/types/SetupIntentsResource.d.ts +3 -3
  31. package/types/SubscriptionSchedulesResource.d.ts +5 -5
  32. package/types/SubscriptionsResource.d.ts +47 -0
  33. package/types/Tax/CalculationLineItems.d.ts +14 -1
  34. package/types/Tax/Calculations.d.ts +17 -1
  35. package/types/Tax/CalculationsResource.d.ts +5 -0
  36. package/types/Tax/Locations.d.ts +34 -0
  37. package/types/Tax/LocationsResource.d.ts +117 -0
  38. package/types/Tax/Registrations.d.ts +81 -1
  39. package/types/Tax/RegistrationsResource.d.ts +9 -1
  40. package/types/Tax/Transactions.d.ts +9 -1
  41. package/types/TaxCodes.d.ts +18 -0
  42. package/types/TestHelpers/SharedPayment/GrantedTokensResource.d.ts +7 -3
  43. package/types/V2/Core/AccountLinksResource.d.ts +1 -0
  44. package/types/V2/Core/AccountTokensResource.d.ts +2 -0
  45. package/types/V2/Core/Accounts/PersonTokensResource.d.ts +2 -0
  46. package/types/V2/Core/Accounts/PersonsResource.d.ts +5 -0
  47. package/types/V2/Core/AccountsResource.d.ts +5 -0
  48. package/types/V2/Core/EventTypes.d.ts +25 -0
  49. package/types/V2/Iam/ApiKeysResource.d.ts +5 -5
  50. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +4 -4
  51. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +4 -4
  52. package/types/V2/MoneyManagement/OutboundPayments.d.ts +122 -2
  53. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +28 -2
  54. package/types/index.d.ts +3 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## 20.2.0-alpha.2 - 2026-01-07
4
+ * [#2537](https://github.com/stripe/stripe-node/pull/2537) Update generated code for private-preview
5
+ * Add support for `tracking_details` on `V2.MoneyManagement.OutboundPayment`
6
+ * Add support for `paper_check` on `V2.MoneyManagement.OutboundPayment.delivery_options` and `V2.MoneyManagement.OutboundPaymentCreateParams.delivery_options`
7
+ * Add support for event notification `V2CoreAccountIncludingFutureRequirementsUpdatedEvent` with related object `V2.Core.Account`
8
+ * Add support for error code `account_rate_limit_exceeded` on `RateLimitError`
9
+ * [#2524](https://github.com/stripe/stripe-node/pull/2524) Update generated code for private-preview
10
+ * Add support for new resource `Tax.Location`
11
+ * Add support for `create`, `list`, and `retrieve` methods on resource `Tax.Location`
12
+ * Add support for `pause` method on resource `Subscription`
13
+ * Add support for `performance_location` on `Checkout.SessionCreateParams.line_items[].price_data.product_data.tax_details`, `Checkout.SessionUpdateParams.line_items[].price_data.product_data.tax_details`, `InvoiceAddLinesParams.lines[].price_data.product_data.tax_details`, `InvoiceLineItemUpdateParams.price_data.product_data.tax_details`, `InvoiceUpdateLinesParams.lines[].price_data.product_data.tax_details`, `PaymentLinkCreateParams.line_items[].price_data.product_data.tax_details`, `ProductCreateParams.tax_details`, `ProductUpdateParams.tax_details`, `Tax.CalculationCreateParams.line_items[]`, and `Tax.CalculationLineItem`
14
+ * Add support for new value `performance` on enums `Tax.Calculation.shipping_cost.tax_breakdown[].sourcing`, `Tax.CalculationLineItem.tax_breakdown[].sourcing`, and `Tax.Transaction.shipping_cost.tax_breakdown[].sourcing`
15
+ * Add support for new values `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on enums `Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`, `Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type`, `Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type`, and `Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type`
16
+ * Change type of `DelegatedCheckout.RequestedSessionUpdateParams.metadata` from `map(string: string)` to `emptyable(map(string: string))`
17
+ * Change type of `DelegatedCheckout.RequestedSessionUpdateParams.payment_method_data` from `payment_method_data` to `emptyable(payment_method_data)`
18
+ * Change type of `DelegatedCheckout.RequestedSessionUpdateParams.shared_metadata` from `map(string: string)` to `emptyable(map(string: string))`
19
+ * Add support for `subscription` on `Invoice.parent.schedule_details` and `QuotePreviewInvoice.parent.schedule_details`
20
+ * Change type of `PaymentIntentConfirmParams.payment_details.benefit.fr_meal_voucher`, `PaymentIntentCreateParams.payment_details.benefit.fr_meal_voucher`, `PaymentIntentUpdateParams.payment_details.benefit.fr_meal_voucher`, `SetupIntentConfirmParams.setup_details.benefit.fr_meal_voucher`, `SetupIntentCreateParams.setup_details.benefit.fr_meal_voucher`, and `SetupIntentUpdateParams.setup_details.benefit.fr_meal_voucher` from `payment_details_benefit_fr_meal_voucher` to `emptyable(payment_details_benefit_fr_meal_voucher)`
21
+ * Add support for `tax_details` on `PlanCreateParams.product[0]` and `PriceCreateParams.product_data`
22
+ * Add support for `external_reference` on `Plan` and `Price`
23
+ * Add support for new value `phase_start` on enums `Quote.subscription_data.phase_effective_at`, `Quote.subscription_data_overrides[].phase_effective_at`, `QuoteCreateParams.subscription_data.phase_effective_at`, `QuoteCreateParams.subscription_data_overrides[].phase_effective_at`, `QuoteUpdateParams.subscription_data.phase_effective_at`, and `QuoteUpdateParams.subscription_data_overrides[].phase_effective_at`
24
+ * Remove support for value `line_start` from enums `Quote.subscription_data.phase_effective_at`, `Quote.subscription_data_overrides[].phase_effective_at`, `QuoteCreateParams.subscription_data.phase_effective_at`, `QuoteCreateParams.subscription_data_overrides[].phase_effective_at`, `QuoteUpdateParams.subscription_data.phase_effective_at`, and `QuoteUpdateParams.subscription_data_overrides[].phase_effective_at`
25
+ * Add support for new values `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on enums `Tax.Registration.country_options.us.type` and `Tax.RegistrationCreateParams.country_options.us.type`
26
+ * Add support for `admissions_tax`, `attendance_tax`, `entertainment_tax`, `gross_receipts_tax`, `hospitality_tax`, `luxury_tax`, `resort_tax`, and `tourism_tax` on `Tax.Registration.country_options.us`
27
+ * Add support for `requirements` on `TaxCode`
28
+
3
29
  ## 20.2.0-alpha.1 - 2025-12-14
4
30
  * [#2520](https://github.com/stripe/stripe-node/pull/2520) Update generated code for private-preview
5
31
  * Add support for new resources `SharedPayment.GrantedToken`, `V2.Iam.ApiKey`, `V2.Payments.SettlementAllocationIntentSplit`, `V2.Payments.SettlementAllocationIntent`, and `V2.Tax.ManualRule`
@@ -39,6 +65,85 @@
39
65
  * Add support for event notifications `V2PaymentsSettlementAllocationIntentSplitCanceledEvent`, `V2PaymentsSettlementAllocationIntentSplitCreatedEvent`, and `V2PaymentsSettlementAllocationIntentSplitSettledEvent` with related object `V2.Payments.SettlementAllocationIntentSplit`
40
66
  * Remove support for error code `account_rate_limit_exceeded` on `RateLimitError`
41
67
 
68
+ ## 20.1.1 - 2026-01-06
69
+ * [#2535](https://github.com/stripe/stripe-node/pull/2535) Update qs dependency to latest version
70
+
71
+ ## 20.1.0 - 2025-12-16
72
+ This release changes the pinned API version to `2025-12-15.clover`.
73
+
74
+ * [#2522](https://github.com/stripe/stripe-node/pull/2522) Update generated code
75
+ * Add support for new resources `V2.Core.AccountLink`, `V2.Core.AccountPersonToken`, `V2.Core.AccountPerson`, `V2.Core.AccountToken`, and `V2.Core.Account`
76
+ * Add support for `create` and `retrieve` methods on resources `V2.Core.AccountPersonToken` and `V2.Core.AccountToken`
77
+ * Add support for `create` method on resource `V2.Core.AccountLink`
78
+ * Add support for `close`, `create`, `list`, `retrieve`, and `update` methods on resource `V2.Core.Account`
79
+ * Add support for `create`, `del`, `list`, `retrieve`, and `update` methods on resource `V2.Core.AccountPerson`
80
+ * Add support for `payto_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
81
+ * Add support for `signer` on `AccountCreateParams.documents.proof_of_registration`, `AccountCreateParams.documents.proof_of_ultimate_beneficial_ownership`, `AccountUpdateParams.documents.proof_of_registration`, and `AccountUpdateParams.documents.proof_of_ultimate_beneficial_ownership`
82
+ * Add support for `customer_account` on `Billing.CreditBalanceSummaryRetrieveParams`, `Billing.CreditBalanceSummary`, `Billing.CreditBalanceTransactionListParams`, `Billing.CreditGrantCreateParams`, `Billing.CreditGrantListParams`, `Billing.CreditGrant`, `BillingPortal.SessionCreateParams`, `BillingPortal.Session`, `CashBalance`, `Checkout.SessionCreateParams`, `Checkout.SessionListParams`, `Checkout.Session`, `ConfirmationToken.payment_method_preview`, `CreditNoteListParams`, `CreditNote`, `CustomerBalanceTransaction`, `CustomerCashBalanceTransaction`, `CustomerSessionCreateParams`, `CustomerSession`, `Customer`, `Discount`, `FinancialConnections.Account.account_holder`, `FinancialConnections.AccountListParams.account_holder`, `FinancialConnections.Session.account_holder`, `FinancialConnections.SessionCreateParams.account_holder`, `InvoiceCreateParams`, `InvoiceCreatePreviewParams`, `InvoiceItemCreateParams`, `InvoiceItemListParams`, `InvoiceItem`, `InvoiceListParams`, `Invoice`, `PaymentIntentCreateParams`, `PaymentIntentListParams`, `PaymentIntentUpdateParams`, `PaymentIntent`, `PaymentMethodAttachParams`, `PaymentMethodListParams`, `PaymentMethod`, `PromotionCodeCreateParams`, `PromotionCodeListParams`, `PromotionCode`, `QuoteCreateParams`, `QuoteListParams`, `QuoteUpdateParams`, `Quote`, `SetupAttempt`, `SetupIntentCreateParams`, `SetupIntentListParams`, `SetupIntentUpdateParams`, `SetupIntent`, `SubscriptionCreateParams`, `SubscriptionListParams`, `SubscriptionScheduleCreateParams`, `SubscriptionScheduleListParams`, `SubscriptionSchedule`, `Subscription`, `TaxId.owner`, `TaxIdCreateParams.owner`, `TaxIdListParams.owner`, and `TaxId`
83
+ * Add support for `metadata` on `Checkout.SessionCreateParams.line_items[]` and `LineItem`
84
+ * Change `Billing.CreditBalanceSummaryRetrieveParams.customer`, `Billing.CreditBalanceTransactionListParams.customer`, `Billing.CreditGrantCreateParams.customer`, `BillingPortal.SessionCreateParams.customer`, `CustomerSessionCreateParams.customer`, `InvoiceItemCreateParams.customer`, `PaymentMethodAttachParams.customer`, and `SubscriptionCreateParams.customer` to be optional
85
+ * Add support for `billing_cycle_anchor` on `BillingPortal.Configuration.features.subscription_update`, `BillingPortal.ConfigurationCreateParams.features.subscription_update`, and `BillingPortal.ConfigurationUpdateParams.features.subscription_update`
86
+ * Add support for `payto` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, `InvoiceUpdateParams.payment_settings.payment_method_options`, `Mandate.payment_method_details`, `PaymentAttemptRecord.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`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethodUpdateParams`, `PaymentMethod`, `PaymentRecord.payment_method_details`, `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`, `SetupIntentUpdateParams.payment_method_options`, `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options`
87
+ * Add support for `expected_debit_date` on `Charge.payment_method_details.acss_debit`, `Charge.payment_method_details.au_becs_debit`, `Charge.payment_method_details.bacs_debit`, `Charge.payment_method_details.nz_bank_account`, `Charge.payment_method_details.sepa_debit`, `Charge.payment_method_details.us_bank_account`, `PaymentAttemptRecord.payment_method_details.acss_debit`, `PaymentAttemptRecord.payment_method_details.au_becs_debit`, `PaymentAttemptRecord.payment_method_details.bacs_debit`, `PaymentAttemptRecord.payment_method_details.nz_bank_account`, `PaymentAttemptRecord.payment_method_details.sepa_debit`, `PaymentAttemptRecord.payment_method_details.us_bank_account`, `PaymentRecord.payment_method_details.acss_debit`, `PaymentRecord.payment_method_details.au_becs_debit`, `PaymentRecord.payment_method_details.bacs_debit`, `PaymentRecord.payment_method_details.nz_bank_account`, `PaymentRecord.payment_method_details.sepa_debit`, and `PaymentRecord.payment_method_details.us_bank_account`
88
+ * Add support for new value `mollie` on enums `Charge.payment_method_details.ideal.bank`, `ConfirmationToken.payment_method_preview.ideal.bank`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data.ideal.bank`, `PaymentAttemptRecord.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`, `PaymentRecord.payment_method_details.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`
89
+ * Add support for new value `MLLENL2A` on enums `Charge.payment_method_details.ideal.bic`, `ConfirmationToken.payment_method_preview.ideal.bic`, `PaymentAttemptRecord.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, `PaymentRecord.payment_method_details.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
90
+ * Add support for new value `payto` on enums `Checkout.SessionCreateParams.excluded_payment_method_types`, `PaymentIntent.excluded_payment_method_types`, `PaymentIntentConfirmParams.excluded_payment_method_types`, `PaymentIntentCreateParams.excluded_payment_method_types`, `PaymentIntentUpdateParams.excluded_payment_method_types`, `SetupIntent.excluded_payment_method_types`, `SetupIntentCreateParams.excluded_payment_method_types`, and `SetupIntentUpdateParams.excluded_payment_method_types`
91
+ * Add support for new value `payto` on enum `Checkout.SessionCreateParams.payment_method_types`
92
+ * Add support for `line_items` on `Checkout.SessionUpdateParams`
93
+ * Add support for new value `payto` on enums `ConfirmationTokenCreateParams.testHelpers.payment_method_data.type`, `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`
94
+ * Add support for new value `payto` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
95
+ * Add support for new value `payto` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
96
+ * Add support for `invoice` on `CustomerListCustomerBalanceTransactionsParams`
97
+ * Add support for `related_customer_account` on `Identity.VerificationSessionCreateParams`, `Identity.VerificationSessionListParams`, and `Identity.VerificationSession`
98
+ * Change type of `InvoiceItem.pricing.price_details.price` and `InvoiceLineItem.pricing.price_details.price` from `string` to `expandable(Price)`
99
+ * Add support for new value `payto` on enums `Invoice.payment_settings.payment_method_types`, `InvoiceCreateParams.payment_settings.payment_method_types`, `InvoiceUpdateParams.payment_settings.payment_method_types`, `Subscription.payment_settings.payment_method_types`, `SubscriptionCreateParams.payment_settings.payment_method_types`, and `SubscriptionUpdateParams.payment_settings.payment_method_types`
100
+ * Add support for `subtotal` on `InvoiceLineItem`
101
+ * Add support for `authorization_code`, `description`, `iin`, `installments`, `issuer`, `network_advice_code`, `network_decline_code`, and `stored_credential_usage` on `PaymentAttemptRecord.payment_method_details.card` and `PaymentRecord.payment_method_details.card`
102
+ * Change `PaymentIntent.transfer_data` to be optional
103
+ * Add support for new value `payto` on enums `PaymentLink.payment_method_types`, `PaymentLinkCreateParams.payment_method_types`, and `PaymentLinkUpdateParams.payment_method_types`
104
+ * Add support for `allow_redisplay` on `PaymentMethodListParams`
105
+ * Add support for `reported_by` on `PaymentRecord`
106
+ * Change `Product.tax_code` to be optional
107
+ * Add support for new values `2025-12-15.clover` and `2026-01-28.clover` on enum `WebhookEndpointCreateParams.api_version`
108
+ * Add support for `changes` on `V2.Core.Event`
109
+ * Add support for error code `account_token_required_for_v2_account` on `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
110
+
111
+ ## 20.1.0-beta.1 - 2025-11-18
112
+ This release changes the pinned API version to `2025-11-17.preview`.
113
+
114
+ * [#2487](https://github.com/stripe/stripe-node/pull/2487) Update generated code for beta
115
+ * Add support for new resources `V2.Core.AccountPersonToken` and `V2.Core.AccountToken`
116
+ * Remove support for resource `V2.Payments.OffSessionPayment`
117
+ * Add support for `create` and `retrieve` methods on resources `V2.Core.AccountPersonToken` and `V2.Core.AccountToken`
118
+ * Remove support for `cancel`, `capture`, `create`, `list`, and `retrieve` methods on resource `V2.Payments.OffSessionPayment`
119
+ * Add support for `specified_commercial_transactions_act_url` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
120
+ * Add support for `paypay_payments` on `Account.settings`, `AccountCreateParams.settings`, and `AccountUpdateParams.settings`
121
+ * Change `Tax.Association.tax_transaction_attempts` to be required
122
+ * Change type of `Billing.Analytics.MeterUsageRetrieveParams.meters[].dimension_filters` from `string` to `array(string)`
123
+ * Change type of `Billing.Analytics.MeterUsageRetrieveParams.meters[].tenant_filters` from `string` to `array(string)`
124
+ * Add support for `car_rental_data`, `flight_data`, and `lodging_data` on `ChargeCaptureParams.payment_details`, `ChargeUpdateParams.payment_details`, `PaymentIntentCaptureParams.payment_details`, `PaymentIntentConfirmParams.payment_details`, `PaymentIntentCreateParams.payment_details`, and `PaymentIntentUpdateParams.payment_details`
125
+ * Add support for `supplementary_purchase_data` on `OrderCreateParams.payment.settings.payment_method_options.klarna`, `OrderUpdateParams.payment.settings.payment_method_options.klarna`, `PaymentIntentConfirmParams.payment_method_options.klarna`, `PaymentIntentCreateParams.payment_method_options.klarna`, and `PaymentIntentUpdateParams.payment_method_options.klarna`
126
+ * Add support for `allow_redisplay` and `customer_account` on `PaymentMethodListParams`
127
+ * Add support for `future_requirements` on `V2.Core.Account`
128
+ * Add support for `konbini_payments` and `script_statement_descriptor` on `V2.Core.Account.configuration.merchant`, `V2.Core.AccountCreateParams.configuration.merchant`, and `V2.Core.AccountUpdateParams.configuration.merchant`
129
+ * Add support for `eur` on `V2.Core.Account.configuration.storer.capabilities.holds_currencies`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies`, and `V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies`
130
+ * Add support for `requirements_collector` on `V2.Core.Account.defaults.responsibilities`
131
+ * Add support for new value `ar_cuit` on enums `V2.Core.Account.identity.business_details.id_numbers[].type`, `V2.Core.AccountCreateParams.identity.business_details.id_numbers[].type`, and `V2.Core.AccountUpdateParams.identity.business_details.id_numbers[].type`
132
+ * Add support for new value `ar_dni` on enums `V2.Core.Account.identity.individual.id_numbers[].type`, `V2.Core.AccountCreateParams.identity.individual.id_numbers[].type`, `V2.Core.AccountPerson.id_numbers[].type`, `V2.Core.AccountPersonCreateParams.id_numbers[].type`, `V2.Core.AccountPersonUpdateParams.id_numbers[].type`, and `V2.Core.AccountUpdateParams.identity.individual.id_numbers[].type`
133
+ * Remove support for `collector` on `V2.Core.Account.requirements`
134
+ * Add support for new value `holds_currencies.eur` on enum `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
135
+ * Add support for new values `payment_method` and `person` on enum `V2.Core.Account.requirements.entries[].reference.type`
136
+ * Remove support for value `resource` from enum `V2.Core.Account.requirements.entries[].reference.type`
137
+ * Remove support for value `future_requirements` from enum `V2.Core.Account.requirements.entries[].requested_reasons[].code`
138
+ * Add support for `changes` on `V2.Core.Event`
139
+ * Remove support for value `sepa_bank_account` from enums `V2.MoneyManagement.FinancialAddress.credentials.type` and `V2.MoneyManagement.FinancialAddressCreateParams.type`
140
+ * Add support for `account_token` on `V2.Core.AccountCreateParams` and `V2.Core.AccountUpdateParams`
141
+ * Add support for new value `future_requirements` on enums `V2.Core.AccountCreateParams.include`, `V2.Core.AccountRetrieveParams.include`, and `V2.Core.AccountUpdateParams.include`
142
+ * Add support for `person_token` on `V2.Core.AccountPersonCreateParams` and `V2.Core.AccountPersonUpdateParams`
143
+ * Add support for `changes` on `v2.core.Event`
144
+ * Add support for thin event `V2CoreHealthEventGenerationFailureResolvedEvent`
145
+ * Remove support for thin events `V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent`, `V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent`, `V2PaymentsOffSessionPaymentCanceledEvent`, `V2PaymentsOffSessionPaymentCreatedEvent`, `V2PaymentsOffSessionPaymentFailedEvent`, `V2PaymentsOffSessionPaymentRequiresCaptureEvent`, and `V2PaymentsOffSessionPaymentSucceededEvent` with related object `V2.Payments.OffSessionPayment`
146
+
42
147
  ## 20.1.0-alpha.4 - 2025-12-04
43
148
  * [#2519](https://github.com/stripe/stripe-node/pull/2519) Update generated code for private-preview
44
149
  * Add support for event notifications `V2IamApiKeyCreatedEvent`, `V2IamApiKeyDefaultSecretRevealedEvent`, `V2IamApiKeyExpiredEvent`, `V2IamApiKeyPermissionsUpdatedEvent`, `V2IamApiKeyRotatedEvent`, and `V2IamApiKeyUpdatedEvent`
@@ -206,42 +311,6 @@ This release changes the pinned API version to `2025-11-17.preview`.
206
311
  * Add support for new value `2025-11-17.clover` on enum `WebhookEndpointCreateParams.api_version`
207
312
  * Add support for snapshot events `FinancialConnectionsAccountAccountNumbersUpdatedEvent` and `FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent` with resource `FinancialConnections.Account`
208
313
 
209
- ## 20.1.0-beta.1 - 2025-11-18
210
- This release changes the pinned API version to `2025-11-17.preview`.
211
-
212
- * [#2487](https://github.com/stripe/stripe-node/pull/2487) Update generated code for beta
213
- * Add support for new resources `V2.Core.AccountPersonToken` and `V2.Core.AccountToken`
214
- * Remove support for resource `V2.Payments.OffSessionPayment`
215
- * Add support for `create` and `retrieve` methods on resources `V2.Core.AccountPersonToken` and `V2.Core.AccountToken`
216
- * Remove support for `cancel`, `capture`, `create`, `list`, and `retrieve` methods on resource `V2.Payments.OffSessionPayment`
217
- * Add support for `specified_commercial_transactions_act_url` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
218
- * Add support for `paypay_payments` on `Account.settings`, `AccountCreateParams.settings`, and `AccountUpdateParams.settings`
219
- * Change `Tax.Association.tax_transaction_attempts` to be required
220
- * Change type of `Billing.Analytics.MeterUsageRetrieveParams.meters[].dimension_filters` from `string` to `array(string)`
221
- * Change type of `Billing.Analytics.MeterUsageRetrieveParams.meters[].tenant_filters` from `string` to `array(string)`
222
- * Add support for `car_rental_data`, `flight_data`, and `lodging_data` on `ChargeCaptureParams.payment_details`, `ChargeUpdateParams.payment_details`, `PaymentIntentCaptureParams.payment_details`, `PaymentIntentConfirmParams.payment_details`, `PaymentIntentCreateParams.payment_details`, and `PaymentIntentUpdateParams.payment_details`
223
- * Add support for `supplementary_purchase_data` on `OrderCreateParams.payment.settings.payment_method_options.klarna`, `OrderUpdateParams.payment.settings.payment_method_options.klarna`, `PaymentIntentConfirmParams.payment_method_options.klarna`, `PaymentIntentCreateParams.payment_method_options.klarna`, and `PaymentIntentUpdateParams.payment_method_options.klarna`
224
- * Add support for `allow_redisplay` and `customer_account` on `PaymentMethodListParams`
225
- * Add support for `future_requirements` on `V2.Core.Account`
226
- * Add support for `konbini_payments` and `script_statement_descriptor` on `V2.Core.Account.configuration.merchant`, `V2.Core.AccountCreateParams.configuration.merchant`, and `V2.Core.AccountUpdateParams.configuration.merchant`
227
- * Add support for `eur` on `V2.Core.Account.configuration.storer.capabilities.holds_currencies`, `V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies`, and `V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies`
228
- * Add support for `requirements_collector` on `V2.Core.Account.defaults.responsibilities`
229
- * Add support for new value `ar_cuit` on enums `V2.Core.Account.identity.business_details.id_numbers[].type`, `V2.Core.AccountCreateParams.identity.business_details.id_numbers[].type`, and `V2.Core.AccountUpdateParams.identity.business_details.id_numbers[].type`
230
- * Add support for new value `ar_dni` on enums `V2.Core.Account.identity.individual.id_numbers[].type`, `V2.Core.AccountCreateParams.identity.individual.id_numbers[].type`, `V2.Core.AccountPerson.id_numbers[].type`, `V2.Core.AccountPersonCreateParams.id_numbers[].type`, `V2.Core.AccountPersonUpdateParams.id_numbers[].type`, and `V2.Core.AccountUpdateParams.identity.individual.id_numbers[].type`
231
- * Remove support for `collector` on `V2.Core.Account.requirements`
232
- * Add support for new value `holds_currencies.eur` on enum `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
233
- * Add support for new values `payment_method` and `person` on enum `V2.Core.Account.requirements.entries[].reference.type`
234
- * Remove support for value `resource` from enum `V2.Core.Account.requirements.entries[].reference.type`
235
- * Remove support for value `future_requirements` from enum `V2.Core.Account.requirements.entries[].requested_reasons[].code`
236
- * Add support for `changes` on `V2.Core.Event`
237
- * Remove support for value `sepa_bank_account` from enums `V2.MoneyManagement.FinancialAddress.credentials.type` and `V2.MoneyManagement.FinancialAddressCreateParams.type`
238
- * Add support for `account_token` on `V2.Core.AccountCreateParams` and `V2.Core.AccountUpdateParams`
239
- * Add support for new value `future_requirements` on enums `V2.Core.AccountCreateParams.include`, `V2.Core.AccountRetrieveParams.include`, and `V2.Core.AccountUpdateParams.include`
240
- * Add support for `person_token` on `V2.Core.AccountPersonCreateParams` and `V2.Core.AccountPersonUpdateParams`
241
- * Add support for `changes` on `v2.core.Event`
242
- * Add support for thin event `V2CoreHealthEventGenerationFailureResolvedEvent`
243
- * Remove support for thin events `V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent`, `V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent`, `V2PaymentsOffSessionPaymentCanceledEvent`, `V2PaymentsOffSessionPaymentCreatedEvent`, `V2PaymentsOffSessionPaymentFailedEvent`, `V2PaymentsOffSessionPaymentRequiresCaptureEvent`, and `V2PaymentsOffSessionPaymentSucceededEvent` with related object `V2.Payments.OffSessionPayment`
244
-
245
314
  ## 20.0.0 - 2025-11-18
246
315
  This release changes the pinned API version to `2025-11-17.clover`.
247
316
 
package/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v2141
1
+ v2150
package/VERSION CHANGED
@@ -1 +1 @@
1
- 20.2.0-alpha.1
1
+ 20.2.0-alpha.2
@@ -35,6 +35,10 @@ exports.Subscriptions = StripeResource_js_1.StripeResource.extend({
35
35
  method: 'POST',
36
36
  fullPath: '/v1/subscriptions/{subscription}/migrate',
37
37
  }),
38
+ pause: stripeMethod({
39
+ method: 'POST',
40
+ fullPath: '/v1/subscriptions/{subscription}/pause',
41
+ }),
38
42
  resume: stripeMethod({
39
43
  method: 'POST',
40
44
  fullPath: '/v1/subscriptions/{subscription}/resume',
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Locations = void 0;
5
+ const StripeResource_js_1 = require("../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.Locations = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({ method: 'POST', fullPath: '/v1/tax/locations' }),
9
+ retrieve: stripeMethod({
10
+ method: 'GET',
11
+ fullPath: '/v1/tax/locations/{location}',
12
+ }),
13
+ list: stripeMethod({
14
+ method: 'GET',
15
+ fullPath: '/v1/tax/locations',
16
+ methodType: 'list',
17
+ }),
18
+ });
@@ -9,7 +9,7 @@ exports.GrantedTokens = StripeResource_js_1.StripeResource.extend({
9
9
  method: 'POST',
10
10
  fullPath: '/v1/test_helpers/shared_payment/granted_tokens',
11
11
  }),
12
- update: stripeMethod({
12
+ revoke: stripeMethod({
13
13
  method: 'POST',
14
14
  fullPath: '/v1/test_helpers/shared_payment/granted_tokens/{shared_payment_granted_token}/revoke',
15
15
  }),
package/cjs/resources.js CHANGED
@@ -65,7 +65,8 @@ const Intents_js_1 = require("./resources/V2/Billing/Intents.js");
65
65
  const LicenseFeeSubscriptions_js_1 = require("./resources/V2/Billing/LicenseFeeSubscriptions.js");
66
66
  const LicenseFees_js_1 = require("./resources/V2/Billing/LicenseFees.js");
67
67
  const LicensedItems_js_1 = require("./resources/V2/Billing/LicensedItems.js");
68
- const Locations_js_1 = require("./resources/Terminal/Locations.js");
68
+ const Locations_js_1 = require("./resources/Tax/Locations.js");
69
+ const Locations_js_2 = require("./resources/Terminal/Locations.js");
69
70
  const ManualRules_js_1 = require("./resources/V2/Tax/ManualRules.js");
70
71
  const MeterEventAdjustments_js_1 = require("./resources/Billing/MeterEventAdjustments.js");
71
72
  const MeterEventAdjustments_js_2 = require("./resources/V2/Billing/MeterEventAdjustments.js");
@@ -361,6 +362,7 @@ exports.Tax = (0, ResourceNamespace_js_1.resourceNamespace)('tax', {
361
362
  Associations: Associations_js_1.Associations,
362
363
  Calculations: Calculations_js_1.Calculations,
363
364
  Forms: Forms_js_1.Forms,
365
+ Locations: Locations_js_1.Locations,
364
366
  Registrations: Registrations_js_1.Registrations,
365
367
  Settings: Settings_js_1.Settings,
366
368
  Transactions: Transactions_js_3.Transactions,
@@ -368,7 +370,7 @@ exports.Tax = (0, ResourceNamespace_js_1.resourceNamespace)('tax', {
368
370
  exports.Terminal = (0, ResourceNamespace_js_1.resourceNamespace)('terminal', {
369
371
  Configurations: Configurations_js_2.Configurations,
370
372
  ConnectionTokens: ConnectionTokens_js_1.ConnectionTokens,
371
- Locations: Locations_js_1.Locations,
373
+ Locations: Locations_js_2.Locations,
372
374
  OnboardingLinks: OnboardingLinks_js_1.OnboardingLinks,
373
375
  ReaderCollectedData: ReaderCollectedData_js_1.ReaderCollectedData,
374
376
  Readers: Readers_js_1.Readers,
@@ -37,7 +37,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
37
37
  ];
38
38
  const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
39
39
  function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
40
- Stripe.PACKAGE_VERSION = '20.2.0-alpha.1';
40
+ Stripe.PACKAGE_VERSION = '20.2.0-alpha.2';
41
41
  Stripe.API_VERSION = apiVersion_js_1.ApiVersion;
42
42
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
43
43
  Stripe.StripeResource = StripeResource_js_1.StripeResource;
@@ -32,6 +32,10 @@ export const Subscriptions = StripeResource.extend({
32
32
  method: 'POST',
33
33
  fullPath: '/v1/subscriptions/{subscription}/migrate',
34
34
  }),
35
+ pause: stripeMethod({
36
+ method: 'POST',
37
+ fullPath: '/v1/subscriptions/{subscription}/pause',
38
+ }),
35
39
  resume: stripeMethod({
36
40
  method: 'POST',
37
41
  fullPath: '/v1/subscriptions/{subscription}/resume',
@@ -0,0 +1,15 @@
1
+ // File generated from our OpenAPI spec
2
+ import { StripeResource } from '../../StripeResource.js';
3
+ const stripeMethod = StripeResource.method;
4
+ export const Locations = StripeResource.extend({
5
+ create: stripeMethod({ method: 'POST', fullPath: '/v1/tax/locations' }),
6
+ retrieve: stripeMethod({
7
+ method: 'GET',
8
+ fullPath: '/v1/tax/locations/{location}',
9
+ }),
10
+ list: stripeMethod({
11
+ method: 'GET',
12
+ fullPath: '/v1/tax/locations',
13
+ methodType: 'list',
14
+ }),
15
+ });
@@ -6,7 +6,7 @@ export const GrantedTokens = StripeResource.extend({
6
6
  method: 'POST',
7
7
  fullPath: '/v1/test_helpers/shared_payment/granted_tokens',
8
8
  }),
9
- update: stripeMethod({
9
+ revoke: stripeMethod({
10
10
  method: 'POST',
11
11
  fullPath: '/v1/test_helpers/shared_payment/granted_tokens/{shared_payment_granted_token}/revoke',
12
12
  }),
package/esm/resources.js CHANGED
@@ -61,6 +61,7 @@ import { Intents as V2BillingIntents } from './resources/V2/Billing/Intents.js';
61
61
  import { LicenseFeeSubscriptions as V2BillingLicenseFeeSubscriptions } from './resources/V2/Billing/LicenseFeeSubscriptions.js';
62
62
  import { LicenseFees as V2BillingLicenseFees } from './resources/V2/Billing/LicenseFees.js';
63
63
  import { LicensedItems as V2BillingLicensedItems } from './resources/V2/Billing/LicensedItems.js';
64
+ import { Locations as TaxLocations } from './resources/Tax/Locations.js';
64
65
  import { Locations as TerminalLocations } from './resources/Terminal/Locations.js';
65
66
  import { ManualRules as V2TaxManualRules } from './resources/V2/Tax/ManualRules.js';
66
67
  import { MeterEventAdjustments as BillingMeterEventAdjustments } from './resources/Billing/MeterEventAdjustments.js';
@@ -294,6 +295,7 @@ export const Tax = resourceNamespace('tax', {
294
295
  Associations: TaxAssociations,
295
296
  Calculations: TaxCalculations,
296
297
  Forms: TaxForms,
298
+ Locations: TaxLocations,
297
299
  Registrations: TaxRegistrations,
298
300
  Settings: TaxSettings,
299
301
  Transactions: TaxTransactions,
@@ -34,7 +34,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
34
34
  ];
35
35
  const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
36
36
  export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
37
- Stripe.PACKAGE_VERSION = '20.2.0-alpha.1';
37
+ Stripe.PACKAGE_VERSION = '20.2.0-alpha.2';
38
38
  Stripe.API_VERSION = ApiVersion;
39
39
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
40
40
  Stripe.StripeResource = StripeResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "20.2.0-alpha.1",
3
+ "version": "20.2.0-alpha.2",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -56,7 +56,7 @@
56
56
  "nanoid": "^3.2.0"
57
57
  },
58
58
  "dependencies": {
59
- "qs": "^6.11.0"
59
+ "qs": "^6.14.1"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "@types/node": ">=16"
@@ -98,4 +98,4 @@
98
98
  "require": "./cjs/stripe.cjs.node.js"
99
99
  }
100
100
  }
101
- }
101
+ }
@@ -1121,6 +1121,11 @@ declare module 'stripe' {
1121
1121
 
1122
1122
  namespace ProductData {
1123
1123
  interface TaxDetails {
1124
+ /**
1125
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
1126
+ */
1127
+ performance_location?: string;
1128
+
1124
1129
  /**
1125
1130
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
1126
1131
  */
@@ -4010,6 +4015,11 @@ declare module 'stripe' {
4010
4015
 
4011
4016
  namespace ProductData {
4012
4017
  interface TaxDetails {
4018
+ /**
4019
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
4020
+ */
4021
+ performance_location?: string;
4022
+
4013
4023
  /**
4014
4024
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
4015
4025
  */
@@ -262,7 +262,7 @@ declare module 'stripe' {
262
262
  /**
263
263
  * The metadata for this requested session.
264
264
  */
265
- metadata?: Stripe.MetadataParam;
265
+ metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
266
266
 
267
267
  /**
268
268
  * The payment method for this requested session.
@@ -272,14 +272,16 @@ declare module 'stripe' {
272
272
  /**
273
273
  * The payment method data for this requested session.
274
274
  */
275
- payment_method_data?: RequestedSessionUpdateParams.PaymentMethodData;
275
+ payment_method_data?: Stripe.Emptyable<
276
+ RequestedSessionUpdateParams.PaymentMethodData
277
+ >;
276
278
 
277
279
  /**
278
280
  * The shared metadata for this requested session.
279
281
  */
280
- shared_metadata?: {
282
+ shared_metadata?: Stripe.Emptyable<{
281
283
  [key: string]: string;
282
- };
284
+ }>;
283
285
  }
284
286
 
285
287
  namespace RequestedSessionUpdateParams {
@@ -1137,6 +1137,11 @@ declare module 'stripe' {
1137
1137
  * The schedule that generated this invoice
1138
1138
  */
1139
1139
  schedule: string;
1140
+
1141
+ /**
1142
+ * The subscription associated with this schedule
1143
+ */
1144
+ subscription: string | Stripe.Subscription | null;
1140
1145
  }
1141
1146
 
1142
1147
  interface SubscriptionDetails {
@@ -2158,6 +2158,11 @@ declare module 'stripe' {
2158
2158
 
2159
2159
  namespace ProductData {
2160
2160
  interface TaxDetails {
2161
+ /**
2162
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
2163
+ */
2164
+ performance_location?: string;
2165
+
2161
2166
  /**
2162
2167
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
2163
2168
  */
@@ -2989,7 +2994,7 @@ declare module 'stripe' {
2989
2994
  discount_actions?: Array<Amendment.DiscountAction>;
2990
2995
 
2991
2996
  /**
2992
- * Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
2997
+ * Configures how the subscription schedule handles billing for phase transitions.
2993
2998
  */
2994
2999
  effective_at?: Amendment.EffectiveAt;
2995
3000
 
@@ -3768,7 +3773,7 @@ declare module 'stripe' {
3768
3773
  duration?: Phase.Duration;
3769
3774
 
3770
3775
  /**
3771
- * Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
3776
+ * Configures how the subscription schedule handles billing for phase transitions.
3772
3777
  */
3773
3778
  effective_at?: Phase.EffectiveAt;
3774
3779
 
@@ -5241,6 +5246,11 @@ declare module 'stripe' {
5241
5246
 
5242
5247
  namespace ProductData {
5243
5248
  interface TaxDetails {
5249
+ /**
5250
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
5251
+ */
5252
+ performance_location?: string;
5253
+
5244
5254
  /**
5245
5255
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
5246
5256
  */
@@ -5591,6 +5601,11 @@ declare module 'stripe' {
5591
5601
 
5592
5602
  namespace ProductData {
5593
5603
  interface TaxDetails {
5604
+ /**
5605
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
5606
+ */
5607
+ performance_location?: string;
5608
+
5594
5609
  /**
5595
5610
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
5596
5611
  */
@@ -665,7 +665,7 @@ declare module 'stripe' {
665
665
  /**
666
666
  * French meal voucher benefit details for this PaymentIntent.
667
667
  */
668
- fr_meal_voucher?: Benefit.FrMealVoucher;
668
+ fr_meal_voucher?: Stripe.Emptyable<Benefit.FrMealVoucher>;
669
669
  }
670
670
 
671
671
  namespace Benefit {
@@ -7629,7 +7629,7 @@ declare module 'stripe' {
7629
7629
  /**
7630
7630
  * French meal voucher benefit details for this PaymentIntent.
7631
7631
  */
7632
- fr_meal_voucher?: Benefit.FrMealVoucher;
7632
+ fr_meal_voucher?: Stripe.Emptyable<Benefit.FrMealVoucher>;
7633
7633
  }
7634
7634
 
7635
7635
  namespace Benefit {
@@ -16781,7 +16781,7 @@ declare module 'stripe' {
16781
16781
  /**
16782
16782
  * French meal voucher benefit details for this PaymentIntent.
16783
16783
  */
16784
- fr_meal_voucher?: Benefit.FrMealVoucher;
16784
+ fr_meal_voucher?: Stripe.Emptyable<Benefit.FrMealVoucher>;
16785
16785
  }
16786
16786
 
16787
16787
  namespace Benefit {
@@ -655,6 +655,11 @@ declare module 'stripe' {
655
655
 
656
656
  namespace ProductData {
657
657
  interface TaxDetails {
658
+ /**
659
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
660
+ */
661
+ performance_location?: string;
662
+
658
663
  /**
659
664
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
660
665
  */
package/types/Plans.d.ts CHANGED
@@ -78,6 +78,11 @@ declare module 'stripe' {
78
78
  */
79
79
  deleted?: void;
80
80
 
81
+ /**
82
+ * A custom identifier for this price, such as a SKU number or product code, that can be used to reference records from external systems.
83
+ */
84
+ external_reference?: string | null;
85
+
81
86
  /**
82
87
  * The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.
83
88
  */
@@ -133,6 +133,25 @@ declare module 'stripe' {
133
133
  * A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
134
134
  */
135
135
  unit_label?: string;
136
+
137
+ /**
138
+ * Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
139
+ */
140
+ tax_details?: Product.TaxDetails;
141
+ }
142
+
143
+ namespace Product {
144
+ interface TaxDetails {
145
+ /**
146
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
147
+ */
148
+ performance_location?: string;
149
+
150
+ /**
151
+ * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
152
+ */
153
+ tax_code: string;
154
+ }
136
155
  }
137
156
 
138
157
  interface Tier {
package/types/Prices.d.ts CHANGED
@@ -78,6 +78,11 @@ declare module 'stripe' {
78
78
  */
79
79
  deleted?: void;
80
80
 
81
+ /**
82
+ * A custom identifier for this price, such as a SKU number or product code, that can be used to reference records from external systems.
83
+ */
84
+ external_reference?: string | null;
85
+
81
86
  /**
82
87
  * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
83
88
  */
@@ -243,6 +243,25 @@ declare module 'stripe' {
243
243
  * A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
244
244
  */
245
245
  unit_label?: string;
246
+
247
+ /**
248
+ * Tax details for this product, including the [tax code](https://docs.stripe.com/tax/tax-codes) and an optional performance location.
249
+ */
250
+ tax_details?: ProductData.TaxDetails;
251
+ }
252
+
253
+ namespace ProductData {
254
+ interface TaxDetails {
255
+ /**
256
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
257
+ */
258
+ performance_location?: string;
259
+
260
+ /**
261
+ * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
262
+ */
263
+ tax_code: string;
264
+ }
246
265
  }
247
266
 
248
267
  interface Recurring {
@@ -289,6 +289,11 @@ declare module 'stripe' {
289
289
  }
290
290
 
291
291
  interface TaxDetails {
292
+ /**
293
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
294
+ */
295
+ performance_location?: string;
296
+
292
297
  /**
293
298
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
294
299
  */
@@ -420,6 +425,11 @@ declare module 'stripe' {
420
425
  }
421
426
 
422
427
  interface TaxDetails {
428
+ /**
429
+ * A tax location ID. Depending on the [tax code](https://docs.stripe.com/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
430
+ */
431
+ performance_location?: string;
432
+
423
433
  /**
424
434
  * A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
425
435
  */