stripe/stripe-node (stripe)
### [`v15.12.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#15120---2024-06-17)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.11.0...v15.12.0)
- [#2109](https://togithub.com/stripe/stripe-node/pull/2109) Update generated code
- Add support for new value `mobilepay` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]`
- Add support for `tax_id_collection` on `PaymentLinkUpdateParams`
- [#2111](https://togithub.com/stripe/stripe-node/pull/2111) Where params are union of types, merge the types instead of having numbered suffixes in type names
- Change type of `PaymentIntentConfirmParams.mandate_data` from `Stripe.Emptyable` to `Stripe.Emptyable` where the new MandateData is a union of all the properties of MandateData1 and MandateData2
- Change type of `PaymentMethodCreateParams.card` from `PaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2` to `PaymentMethodCreateParams.Card` where the new Card is a union of all the properties of Card1 and Card2
- Change type of `SetupIntentConfirmParams.mandate_data` from `Stripe.Emptyable` to `Stripe.Emptyable` where the new MandateData is a union of all the properties of MandateData1 and MandateData2
### [`v15.11.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#15110---2024-06-13)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.10.0...v15.11.0)
- [#2102](https://togithub.com/stripe/stripe-node/pull/2102) Update generated code
- Add support for `multibanco_payments` and `twint_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
- Add support for `twint` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `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`
- Add support for `multibanco` on `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `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`, `PaymentMethod`, `Refund.destination_details`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
- Add support for new values `multibanco` and `twint` on enums `Checkout.SessionCreateParams.payment_method_types[]`, `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
- Add support for new value `de_stn` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
- Add support for new values `multibanco` and `twint` 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`
- Add support for new values `multibanco` and `twint` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
- Add support for new value `de_stn` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
- Add support for `multibanco_display_details` on `PaymentIntent.next_action`
- Add support for `invoice_settings` on `Subscription`
### [`v15.10.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#15100---2024-06-06)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.9.0...v15.10.0)
- [#2101](https://togithub.com/stripe/stripe-node/pull/2101) Update generated code
- Add support for `gb_bank_transfer_payments`, `jp_bank_transfer_payments`, `mx_bank_transfer_payments`, `sepa_bank_transfer_payments`, and `us_bank_transfer_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
- Add support for new value `swish` 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[]`
### [`v15.9.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1590---2024-05-30)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.8.0...v15.9.0)
- [#2095](https://togithub.com/stripe/stripe-node/pull/2095) Update generated code
- Add support for new value `verification_requires_additional_proof_of_registration` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, and `BankAccount.requirements.errors[].code`
- Add support for `default_value` on `Checkout.Session.custom_fields[].dropdown`, `Checkout.Session.custom_fields[].numeric`, `Checkout.Session.custom_fields[].text`, `Checkout.SessionCreateParams.custom_fields[].dropdown`, `Checkout.SessionCreateParams.custom_fields[].numeric`, and `Checkout.SessionCreateParams.custom_fields[].text`
- Add support for `generated_from` on `ConfirmationToken.payment_method_preview.card` and `PaymentMethod.card`
- Add support for new values `issuing_personalization_design.activated`, `issuing_personalization_design.deactivated`, `issuing_personalization_design.rejected`, and `issuing_personalization_design.updated` on enum `Event.type`
- Change `Issuing.Card.personalization_design` and `Issuing.PhysicalBundle.features` to be required
- Add support for new values `en-RO` and `ro-RO` on enums `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale`
- Add support for new values `issuing_personalization_design.activated`, `issuing_personalization_design.deactivated`, `issuing_personalization_design.rejected`, and `issuing_personalization_design.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
### [`v15.8.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1580---2024-05-23)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.7.0...v15.8.0)
- [#2092](https://togithub.com/stripe/stripe-node/pull/2092) Update generated code
- Add support for `external_account_collection` on `AccountSession.components.balances.features`, `AccountSession.components.payouts.features`, `AccountSessionCreateParams.components.balances.features`, and `AccountSessionCreateParams.components.payouts.features`
- Add support for new value `terminal_reader_invalid_location_for_payment` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
- Add support for `payment_method_remove` on `Checkout.Session.saved_payment_method_options`
### [`v15.7.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1570---2024-05-16)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.6.0...v15.7.0)
- [#2088](https://togithub.com/stripe/stripe-node/pull/2088) Update generated code
- Add support for `fee_source` on `ApplicationFee`
- Add support for `net_available` on `Balance.instant_available[]`
- Add support for `preferred_locales` on `Charge.payment_method_details.card_present`, `ConfirmationToken.payment_method_preview.card_present`, and `PaymentMethod.card_present`
- Add support for `klarna` on `Dispute.payment_method_details`
- Add support for new value `klarna` on enum `Dispute.payment_method_details.type`
- Add support for `archived` and `lookup_key` on `Entitlements.FeatureListParams`
- Change `FinancialConnections.SessionCreateParams.filters.countries` to be optional
- Add support for `no_valid_authorization` on `Issuing.Dispute.evidence`, `Issuing.DisputeCreateParams.evidence`, and `Issuing.DisputeUpdateParams.evidence`
- Add support for new value `no_valid_authorization` on enums `Issuing.Dispute.evidence.reason`, `Issuing.DisputeCreateParams.evidence.reason`, and `Issuing.DisputeUpdateParams.evidence.reason`
- Add support for `loss_reason` on `Issuing.Dispute`
- Add support for `routing` on `PaymentIntent.payment_method_options.card_present`, `PaymentIntentConfirmParams.payment_method_options.card_present`, `PaymentIntentCreateParams.payment_method_options.card_present`, and `PaymentIntentUpdateParams.payment_method_options.card_present`
- Add support for `application_fee_amount` and `application_fee` on `Payout`
- Add support for `stripe_s700` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration`
- Change `Treasury.OutboundPayment.tracking_details` and `Treasury.OutboundTransfer.tracking_details` to be required
### [`v15.6.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1560---2024-05-09)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.5.0...v15.6.0)
- [#2086](https://togithub.com/stripe/stripe-node/pull/2086) Update generated code
- Remove support for `pending_invoice_items_behavior` on `SubscriptionCreateParams`
- [#2080](https://togithub.com/stripe/stripe-node/pull/2080) Update generated code
- Add support for `update` test helper method on resources `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
- Add support for `allow_redisplay` on `ConfirmationToken.payment_method_preview` and `PaymentMethod`
- Add support for new values `treasury.outbound_payment.tracking_details_updated` and `treasury.outbound_transfer.tracking_details_updated` on enum `Event.type`
- Add support for `preview_mode` on `InvoiceCreatePreviewParams`, `InvoiceUpcomingLinesParams`, and `InvoiceUpcomingParams`
- Add support for `pending_invoice_items_behavior` on `SubscriptionCreateParams`
- Add support for `tracking_details` on `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
- Add support for new values `treasury.outbound_payment.tracking_details_updated` and `treasury.outbound_transfer.tracking_details_updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
- [#2085](https://togithub.com/stripe/stripe-node/pull/2085) Remove unnecessary pointer to description in deprecation message
### [`v15.5.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1550---2024-05-02)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.4.0...v15.5.0)
- [#2072](https://togithub.com/stripe/stripe-node/pull/2072) Update generated code
- Add support for new value `shipping_address_invalid` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
- Fix properties incorrectly marked as required in the OpenAPI spec.
- Change `Apps.Secret.payload`, `BillingPortal.Configuration.features.subscription_update.products`, `Charge.refunds`, `ConfirmationToken.payment_method_preview.klarna.dob`, `Identity.VerificationReport.document.dob`, `Identity.VerificationReport.document.expiration_date`, `Identity.VerificationReport.document.number`, `Identity.VerificationReport.id_number.dob`, `Identity.VerificationReport.id_number.id_number`, `Identity.VerificationSession.provided_details`, `Identity.VerificationSession.verified_outputs.dob`, `Identity.VerificationSession.verified_outputs.id_number`, `Identity.VerificationSession.verified_outputs`, `Issuing.Dispute.balance_transactions`, `Issuing.Transaction.purchase_details`, `PaymentMethod.klarna.dob`, `Tax.Calculation.line_items`, `Tax.CalculationLineItem.tax_breakdown`, `Tax.Transaction.line_items`, `Treasury.FinancialAccount.financial_addresses[].aba.account_number`, `Treasury.ReceivedCredit.linked_flows.source_flow_details`, `Treasury.Transaction.entries`, `Treasury.Transaction.flow_details`, and `Treasury.TransactionEntry.flow_details` to be optional
- Add support for `paypal` on `Dispute.payment_method_details`
- Change type of `Dispute.payment_method_details.type` from `literal('card')` to `enum('card'|'paypal')`
- Change type of `Entitlements.FeatureUpdateParams.metadata` from `map(string: string)` to `emptyable(map(string: string))`
- Add support for `payment_method_types` on `PaymentIntentConfirmParams`
- Add support for `ship_from_details` on `Tax.CalculationCreateParams`, `Tax.Calculation`, and `Tax.Transaction`
- Add support for `bh`, `eg`, `ge`, `ke`, `kz`, `ng`, and `om` on `Tax.Registration.country_options` and `Tax.RegistrationCreateParams.country_options`
- [#2077](https://togithub.com/stripe/stripe-node/pull/2077) Deprecate Node methods and params based on OpenAPI spec
- Mark as deprecated the `approve` and `decline` methods on `Issuing.Authorization`. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling).
- Mark as deprecated the `persistent_token` property on `ConfirmationToken.PaymentMethodPreview.Link`, `PaymentIntent.PaymentMethodOptions.Link`, `PaymentIntentResource.PaymentMethodOptions.Link`, `PaymentMethod.Link.persistent_token`. `SetupIntents.PaymentMethodOptions.Card.Link.persistent_token`, `SetupIntentsResource.persistent_token`. This is a legacy parameter that no longer has any function.
- [#2074](https://togithub.com/stripe/stripe-node/pull/2074) Add a more explicit comment on `limit` param in `autoPagingToArray`
### [`v15.4.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1540---2024-04-25)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.3.0...v15.4.0)
- [#2071](https://togithub.com/stripe/stripe-node/pull/2071) Update generated code
- Add support for `setup_future_usage` on `Checkout.Session.payment_method_options.amazon_pay`, `Checkout.Session.payment_method_options.revolut_pay`, `PaymentIntent.payment_method_options.amazon_pay`, and `PaymentIntent.payment_method_options.revolut_pay`
- Change type of `Entitlements.ActiveEntitlement.feature` from `string` to `expandable(Entitlements.Feature)`
- Remove support for inadvertently released identity verification features `email` and `phone` on `Identity.VerificationSessionCreateParams.options` and `Identity.VerificationSessionUpdateParams.options`
- Change `Identity.VerificationSession.provided_details`, `Identity.VerificationSession.verified_outputs.email`, and `Identity.VerificationSession.verified_outputs.phone` to be required
- Add support for new values `amazon_pay` and `revolut_pay` 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[]`
- Add support for `amazon_pay` and `revolut_pay` on `Mandate.payment_method_details` and `SetupAttempt.payment_method_details`
- Add support for `ending_before`, `limit`, and `starting_after` on `PaymentMethodConfigurationListParams`
- Add support for `mobilepay` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
- [#2061](https://togithub.com/stripe/stripe-node/pull/2061) Make cloudflare package export
### [`v15.3.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1530---2024-04-18)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.2.0...v15.3.0)
- [#2069](https://togithub.com/stripe/stripe-node/pull/2069) Update generated code
- Add support for `create_preview` method on resource `Invoice`
- Add support for `payment_method_data` on `Checkout.SessionCreateParams`
- Add support for `saved_payment_method_options` on `Checkout.SessionCreateParams` and `Checkout.Session`
- Add support for `mobilepay` on `Checkout.Session.payment_method_options` and `Checkout.SessionCreateParams.payment_method_options`
- Add support for new value `mobilepay` on enum `Checkout.SessionCreateParams.payment_method_types[]`
- Add support for `allow_redisplay` on `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `CustomerListPaymentMethodsParams`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentMethodCreateParams`, `PaymentMethodUpdateParams`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
- Add support for `schedule_details` and `subscription_details` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams`
- Add support for new value `other` on enums `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit`
### [`v15.2.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1520---2024-04-16)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.1.0...v15.2.0)
- [#2064](https://togithub.com/stripe/stripe-node/pull/2064) Update generated code
- Add support for new resource `Entitlements.ActiveEntitlementSummary`
- Add support for `balances` and `payouts_list` on `AccountSession.components` and `AccountSessionCreateParams.components`
- Change `AccountSession.components.payment_details.features.destination_on_behalf_of_charge_management` and `AccountSession.components.payments.features.destination_on_behalf_of_charge_management` to be required
- Change `Billing.MeterEventCreateParams.timestamp` and `Dispute.payment_method_details.card` to be optional
- Change type of `Dispute.payment_method_details.card` from `DisputePaymentMethodDetailsCard | null` to `DisputePaymentMethodDetailsCard`
- Add support for new value `entitlements.active_entitlement_summary.updated` on enum `Event.type`
- Remove support for `config` on `Forwarding.RequestCreateParams` and `Forwarding.Request`. This field is no longer used by the Forwarding Request API.
- Add support for `capture_method` on `PaymentIntent.payment_method_options.revolut_pay`, `PaymentIntentConfirmParams.payment_method_options.revolut_pay`, `PaymentIntentCreateParams.payment_method_options.revolut_pay`, and `PaymentIntentUpdateParams.payment_method_options.revolut_pay`
- Add support for `swish` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
- Add support for new value `entitlements.active_entitlement_summary.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
### [`v15.1.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1510---2024-04-11)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.0.0...v15.1.0)
- [#2062](https://togithub.com/stripe/stripe-node/pull/2062) Update generated code
- Add support for `account_management` and `notification_banner` on `AccountSession.components` and `AccountSessionCreateParams.components`
- Add support for `external_account_collection` on `AccountSession.components.account_onboarding.features` and `AccountSessionCreateParams.components.account_onboarding.features`
- Add support for new values `billing_policy_remote_function_response_invalid`, `billing_policy_remote_function_timeout`, `billing_policy_remote_function_unexpected_status_code`, and `billing_policy_remote_function_unreachable` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
- Change `Billing.MeterEventAdjustmentCreateParams.cancel.identifier` and `Billing.MeterEventAdjustmentCreateParams.cancel` to be optional
- Change `Billing.MeterEventAdjustmentCreateParams.type` to be required
- Change type of `Billing.MeterEventAdjustment.cancel` from `BillingMeterResourceBillingMeterEventAdjustmentCancel` to `BillingMeterResourceBillingMeterEventAdjustmentCancel | null`
- Add support for `amazon_pay` on `Charge.payment_method_details`, `Checkout.Session.payment_method_options`, `Checkout.SessionCreateParams.payment_method_options`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.testHelpers.payment_method_data`, `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`, `PaymentMethod`, `Refund.destination_details`, `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentCreateParams.payment_method_options`, `SetupIntentUpdateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_options`
- Add support for new value `ownership` on enums `Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `Checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`
- Add support for new value `amazon_pay` on enum `Checkout.SessionCreateParams.payment_method_types[]`
- Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
- Add support for new value `amazon_pay` 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`
- Add support for new value `amazon_pay` on enums `ConfirmationToken.payment_method_preview.type` and `PaymentMethod.type`
- Add support for new values `bh_vat`, `kz_bin`, `ng_tin`, and `om_vat` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
- Add support for new value `amazon_pay` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
- Add support for `next_refresh_available_at` on `FinancialConnections.Account.ownership_refresh`
- 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[]`
### [`v15.0.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1500---2024-04-10)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.25.0...v15.0.0)
- [#2057](https://togithub.com/stripe/stripe-node/pull/2057)
- This release changes the pinned API version to `2024-04-10`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-04-10) and carefully review the API changes before upgrading.
##### ⚠️ Breaking changes
- Rename event type `InvoiceitemCreatedEvent` to `InvoiceItemCreatedEvent`
- Rename event type `InvoiceitemDeletedEvent` to `InvoiceItemDeletedEvent`
- Rename `features` to `marketing_features` on `ProductCreateOptions`, `ProductUpdateOptions`, and `Product`.
##### ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API
- Remove `subscription_pause` from the below as the feature to pause subscription on the portal has been deprecated.
- `BillingPortal.Configuration.Features`
- `BillingPortal.ConfigurationCreateParams.Features`
- `BillingPortal.ConfigurationUpdateParams.Features`
- Remove the below deprecated values for the type `BalanceTransaction.Type`
- `obligation_inbound`
- `obligation_payout`
- `obligation_payout_failure`
- `'obligation_reversal_outbound'`
- Remove deprecated value `various` for the type `Climate.Supplier.RemovalPathway`
- Remove deprecated events
- `invoiceitem.updated`
- `order.created`
- `recipient.created`
- `recipient.deleted`
- `recipient.updated`
- `sku.created`
- `sku.deleted`
- `sku.updated`
- Remove types for the deprecated events
- `InvoiceItemUpdatedEvent`
- `OrderCreatedEvent`
- `RecipientCreatedEvent`
- `RecipientDeletedEvent`
- `RecipientUpdatedEvent`
- `SKUCreatedEvent`
- `SKUDeletedEvent`
- Remove the deprecated value `include_and_require` for the type`InvoiceCreateParams.PendingInvoiceItemsBehavior`
- Remove the deprecated value `service_tax` for the types `TaxRate.TaxType`, `TaxRateCreateParams.TaxType`, `TaxRateUpdateParams.TaxType`, and `InvoiceUpdateLineItemParams.TaxAmount.TaxRateData`
- Remove `request_incremental_authorization` from `PaymentIntentCreateParams.PaymentMethodOptions.CardPresent`, `PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent` and `PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent`
- Remove support for `id_bank_transfer`, `multibanco`, `netbanking`, `pay_by_bank`, and `upi` on `PaymentMethodConfiguration`
- Remove the deprecated value `obligation` for the type `Reporting.ReportRunCreateParams.Parameters.ReportingCategory`
- Remove the deprecated value `challenge_only` from the type `SetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure`
- Remove the legacy field `rendering_options` in `Invoice`, `InvoiceCreateOptions` and `InvoiceUpdateOptions`. Use `rendering` instead.
### [`v14.25.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14250---2024-04-09)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.24.0...v14.25.0)
- [#2059](https://togithub.com/stripe/stripe-node/pull/2059) Update generated code
- Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
- Add support for `list` and `retrieve` methods on resource `ActiveEntitlement`
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Feature`
- Add support for `controller` on `AccountCreateParams`
- Add support for `fees`, `losses`, `requirement_collection`, and `stripe_dashboard` on `Account.controller`
- Add support for new value `none` on enum `Account.type`
- Add support for `event_name` on `Billing.MeterEventAdjustmentCreateParams` and `Billing.MeterEventAdjustment`
- Add support for `cancel` and `type` on `Billing.MeterEventAdjustment`
### [`v14.24.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14240---2024-04-04)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.23.0...v14.24.0)
- [#2053](https://togithub.com/stripe/stripe-node/pull/2053) Update generated code
- Change `Charge.payment_method_details.us_bank_account.payment_reference`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.hosted_instructions_url`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.mobile_auth_url`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.data`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.image_url_png`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.image_url_svg`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code`, and `PaymentIntent.payment_method_options.swish.reference` to be required
- Change type of `Checkout.SessionCreateParams.payment_method_options.swish.reference` from `emptyable(string)` to `string`
- Add support for `subscription_item` on `Discount`
- Add support for `email` and `phone` on `Identity.VerificationReport`, `Identity.VerificationSession.options`, `Identity.VerificationSession.verified_outputs`, `Identity.VerificationSessionCreateParams.options`, and `Identity.VerificationSessionUpdateParams.options`
- Add support for `verification_flow` on `Identity.VerificationReport`, `Identity.VerificationSessionCreateParams`, and `Identity.VerificationSession`
- Add support for new value `verification_flow` on enums `Identity.VerificationReport.type` and `Identity.VerificationSession.type`
- Add support for `provided_details` on `Identity.VerificationSessionCreateParams`, `Identity.VerificationSessionUpdateParams`, and `Identity.VerificationSession`
- Change `Identity.VerificationSessionCreateParams.type` to be optional
- Add support for new values `email_unverified_other`, `email_verification_declined`, `phone_unverified_other`, and `phone_verification_declined` on enum `Identity.VerificationSession.last_error.code`
- Add support for `promotion_code` on `InvoiceCreateParams.discounts[]`, `InvoiceItemCreateParams.discounts[]`, `InvoiceItemUpdateParams.discounts[]`, `InvoiceUpdateParams.discounts[]`, `QuoteCreateParams.discounts[]`, and `QuoteUpdateParams.discounts[]`
- Add support for `discounts` on `InvoiceUpcomingLinesParams.subscription_items[]`, `InvoiceUpcomingParams.subscription_items[]`, `QuoteCreateParams.line_items[]`, `QuoteUpdateParams.line_items[]`, `SubscriptionCreateParams.add_invoice_items[]`, `SubscriptionCreateParams.items[]`, `SubscriptionCreateParams`, `SubscriptionItemCreateParams`, `SubscriptionItemUpdateParams`, `SubscriptionItem`, `SubscriptionSchedule.phases[].add_invoice_items[]`, `SubscriptionSchedule.phases[].items[]`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[].add_invoice_items[]`, `SubscriptionScheduleCreateParams.phases[].items[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[].add_invoice_items[]`, `SubscriptionScheduleUpdateParams.phases[].items[]`, `SubscriptionScheduleUpdateParams.phases[]`, `SubscriptionUpdateParams.add_invoice_items[]`, `SubscriptionUpdateParams.items[]`, `SubscriptionUpdateParams`, and `Subscription`
- Change type of `Invoice.discounts` from `array(expandable(deletable($Discount))) | null` to `array(expandable(deletable($Discount)))`
- Add support for `allowed_merchant_countries` and `blocked_merchant_countries` on `Issuing.Card.spending_controls`, `Issuing.CardCreateParams.spending_controls`, `Issuing.CardUpdateParams.spending_controls`, `Issuing.Cardholder.spending_controls`, `Issuing.CardholderCreateParams.spending_controls`, and `Issuing.CardholderUpdateParams.spending_controls`
- Add support for `zip` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
- Add support for `offline` on `SetupAttempt.payment_method_details.card_present`
- Add support for `card_present` on `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, and `SetupIntentUpdateParams.payment_method_options`
- Add support for new value `mobile_phone_reader` on enums `Terminal.Reader.device_type` and `Terminal.ReaderListParams.device_type`
### [`v14.23.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14230---2024-03-28)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.22.0...v14.23.0)
- [#2046](https://togithub.com/stripe/stripe-node/pull/2046) Update generated code
- Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
- Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
- Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
- Add support for `amazon_pay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
- Add support for new value `verification_failed_representative_authority` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, and `BankAccount.requirements.errors[].code`
- Add support for `destination_on_behalf_of_charge_management` on `AccountSession.components.payment_details.features`, `AccountSession.components.payments.features`, `AccountSessionCreateParams.components.payment_details.features`, and `AccountSessionCreateParams.components.payments.features`
- Add support for `mandate` on `Charge.payment_method_details.us_bank_account`, `Treasury.InboundTransfer.origin_payment_method_details.us_bank_account`, `Treasury.OutboundPayment.destination_payment_method_details.us_bank_account`, and `Treasury.OutboundTransfer.destination_payment_method_details.us_bank_account`
- Add support for `second_line` on `Issuing.CardCreateParams`
- Add support for `meter` on `PlanCreateParams`, `Plan`, `Price.recurring`, `PriceCreateParams.recurring`, and `PriceListParams.recurring`
- [#2045](https://togithub.com/stripe/stripe-node/pull/2045) esbuild test project fixes
### [`v14.22.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14220---2024-03-21)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.21.0...v14.22.0)
- [#2040](https://togithub.com/stripe/stripe-node/pull/2040) Update generated code
- Add support for new resources `ConfirmationToken` and `Forwarding.Request`
- Add support for `retrieve` method on resource `ConfirmationToken`
- Add support for `create`, `list`, and `retrieve` methods on resource `Request`
- Add support for `mobilepay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
- Add support for new values `forwarding_api_inactive`, `forwarding_api_invalid_parameter`, `forwarding_api_upstream_connection_error`, and `forwarding_api_upstream_connection_timeout` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code`
- Add support for `mobilepay` on `Charge.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data`
- Add support for `payment_reference` on `Charge.payment_method_details.us_bank_account`
- Add support for new value `mobilepay` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type`
- Add support for `confirmation_token` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `SetupIntentConfirmParams`, and `SetupIntentCreateParams`
- Add support for new value `mobilepay` on enums `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
- Add support for new value `mobilepay` on enum `PaymentMethod.type`
- Add support for `name` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration`
- Add support for `payout` on `Treasury.ReceivedDebit.linked_flows`
- [#2043](https://togithub.com/stripe/stripe-node/pull/2043) Don't mutate error.type during minification
### [`v14.21.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14210---2024-03-14)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.20.0...v14.21.0)
- [#2035](https://togithub.com/stripe/stripe-node/pull/2035) Update generated code
- Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
- Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign`
- Add support for `list` and `retrieve` methods on resource `PhysicalBundle`
- Add support for `personalization_design` on `Issuing.CardCreateParams`, `Issuing.CardListParams`, `Issuing.CardUpdateParams`, and `Issuing.Card`
- Change type of `SubscriptionCreateParams.application_fee_percent` and `SubscriptionUpdateParams.application_fee_percent` from `number` to `emptyStringable(number)`
- Add support for `sepa_debit` on `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options`
### [`v14.20.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14200---2024-03-07)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.19.0...v14.20.0)
- [#2033](https://togithub.com/stripe/stripe-node/pull/2033) Update generated code
- Add support for `documents` on `AccountSession.components` and `AccountSessionCreateParams.components`
- Add support for `request_three_d_secure` on `Checkout.Session.payment_method_options.card` and `Checkout.SessionCreateParams.payment_method_options.card`
- Add support for `created` on `CreditNoteListParams`
- Add support for `sepa_debit` on `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, and `InvoiceUpdateParams.payment_settings.payment_method_options`
### [`v14.19.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14190---2024-02-29)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.18.0...v14.19.0)
- [#2029](https://togithub.com/stripe/stripe-node/pull/2029) Update generated code
- Change `Identity.VerificationReport.type`, `SubscriptionSchedule.default_settings.invoice_settings.account_tax_ids`, `SubscriptionSchedule.phases[].invoice_settings.account_tax_ids`, and `TaxId.owner` to be required
- Change type of `Identity.VerificationSession.type` from `enum('document'|'id_number') | null` to `enum('document'|'id_number')`
- Add support for `number` on `InvoiceCreateParams` and `InvoiceUpdateParams`
- Add support for `enable_customer_cancellation` on `Terminal.Reader.action.process_payment_intent.process_config`, `Terminal.Reader.action.process_setup_intent.process_config`, `Terminal.ReaderProcessPaymentIntentParams.process_config`, and `Terminal.ReaderProcessSetupIntentParams.process_config`
- Add support for `refund_payment_config` on `Terminal.Reader.action.refund_payment` and `Terminal.ReaderRefundPaymentParams`
- Add support for `payment_method` on `TokenCreateParams.bank_account`
- [#2027](https://togithub.com/stripe/stripe-node/pull/2027) vscode settings: true -> "explicit"
### [`v14.18.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14180---2024-02-22)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.17.0...v14.18.0)
- [#2022](https://togithub.com/stripe/stripe-node/pull/2022) Update generated code
- Add support for `client_reference_id` on `Identity.VerificationReportListParams`, `Identity.VerificationReport`, `Identity.VerificationSessionCreateParams`, `Identity.VerificationSessionListParams`, and `Identity.VerificationSession`
- Remove support for value `include_and_require` from enum `InvoiceCreateParams.pending_invoice_items_behavior`
- Remove support for value `service_tax` from enums `TaxRate.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
- Add support for `created` on `Treasury.OutboundPaymentListParams`
- [#2025](https://togithub.com/stripe/stripe-node/pull/2025) Standardize parameter interface names
- `CapabilityListParams` renamed to `AccountListCapabilitiesParams`
- `CapabilityRetrieveParams` renamed to `AccountRetrieveCapabilityParams`
- `CapabilityUpdateParams` renamed to `AccountUpdateCapabilityParams`
- `CashBalanceRetrieveParams` renamed to `CustomerRetrieveCashBalanceParams`
- `CashBalanceUpdateParams` renamed to `CustomerUpdateCashBalanceParams`
- `CreditNoteLineItemListParams` renamed to `CreditNoteListLineItemsParams`
- `CustomerBalanceTransactionCreateParams` renamed to `CustomerCreateBalanceTransactionParams`
- `CustomerBalanceTransactionListParams` renamed to `CustomerListBalanceTransactionsParams`
- `CustomerBalanceTransactionRetrieveParams` renamed to `CustomerRetrieveBalanceTransactionParams`
- `CustomerBalanceTransactionUpdateParams` renamed to `CustomerUpdateBalanceTransactionParams`
- `CustomerCashBalanceTransactionListParams` renamed to `CustomerListCashBalanceTransactionsParams`
- `CustomerCashBalanceTransactionRetrieveParams` renamed to `CustomerRetrieveCashBalanceTransactionParams`
- `CustomerSourceCreateParams` renamed to `CustomerCreateSourceParams`
- `CustomerSourceDeleteParams` renamed to `CustomerDeleteSourceParams`
- `CustomerSourceListParams` renamed to `CustomerListSourcesParams`
- `CustomerSourceRetrieveParams` renamed to `CustomerRetrieveSourceParams`
- `CustomerSourceUpdateParams` renamed to `CustomerUpdateSourceParams`
- `CustomerSourceVerifyParams` renamed to `CustomerVerifySourceParams`
- `ExternalAccountCreateParams` renamed to `AccountCreateExternalAccountParams`
- `ExternalAccountDeleteParams` renamed to `AccountDeleteExternalAccountParams`
- `ExternalAccountListParams` renamed to `AccountListExternalAccountsParams`
- `ExternalAccountRetrieveParams` renamed to `AccountRetrieveExternalAccountParams`
- `ExternalAccountUpdateParams` renamed to `AccountUpdateExternalAccountParams`
- `FeeRefundCreateParams` renamed to `ApplicationFeeCreateRefundParams`
- `FeeRefundListParams` renamed to `ApplicationFeeListRefundsParams`
- `FeeRefundRetrieveParams` renamed to `ApplicationFeeRetrieveRefundParams`
- `FeeRefundUpdateParams` renamed to `ApplicationFeeUpdateRefundParams`
- `InvoiceLineItemListParams` renamed to `InvoiceListLineItemsParams`
- `InvoiceLineItemUpdateParams` renamed to `InvoiceUpdateLineItemParams`
- `LoginLinkCreateParams` renamed to `AccountCreateLoginLinkParams`
- `PersonCreateParams` renamed to `AccountCreatePersonParams`
- `PersonDeleteParams` renamed to `AccountDeletePersonParams`
- `PersonListParams` renamed to `AccountListPersonsParams`
- `PersonRetrieveParams` renamed to `AccountRetrievePersonParams`
- `PersonUpdateParams` renamed to `AccountUpdatePersonParams`
- `TaxIdCreateParams` renamed to `CustomerCreateTaxIdParams`
- `TaxIdDeleteParams` renamed to `CustomerDeleteTaxIdParams`
- `TaxIdListParams` renamed to `CustomerListTaxIdsParams`
- `TaxIdRetrieveParams` renamed to `CustomerRetrieveTaxIdParams`
- `TransferReversalCreateParams` renamed to `TransferCreateReversalParams`
- `TransferReversalListParams` renamed to `TransferListReversalsParams`
- `TransferReversalRetrieveParams` renamed to `TransferRetrieveReversalParams`
- `TransferReversalUpdateParams` renamed to `TransferUpdateReversalParams`
- `UsageRecordCreateParams` renamed to `SubscriptionItemCreateUsageRecordParams`
- `UsageRecordSummaryListParams` renamed to `SubscriptionItemListUsageRecordSummariesParams`
Old names will still work but are deprecated and will be removed in future versions.
- [#2021](https://togithub.com/stripe/stripe-node/pull/2021) Add TaxIds API
- Add support for `create`, `del`, `list`, and `retrieve` methods on resource `TaxId`
### [`v14.17.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14170---2024-02-15)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.16.0...v14.17.0)
- [#2018](https://togithub.com/stripe/stripe-node/pull/2018) Update generated code
- Add support for `networks` on `Card`, `PaymentMethodCreateParams.card`, `PaymentMethodUpdateParams.card`, and `TokenCreateParams.card`
- Add support for new value `no_voec` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
- Add support for new value `no_voec` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
- Add support for new value `financial_connections.account.refreshed_ownership` on enum `Event.type`
- Add support for `display_brand` on `PaymentMethod.card`
- Add support for new value `financial_connections.account.refreshed_ownership` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
### [`v14.16.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14160---2024-02-08)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.15.0...v14.16.0)
- [#2012](https://togithub.com/stripe/stripe-node/pull/2012) Update generated code
- Add support for `invoices` on `Account.settings` and `AccountUpdateParams.settings`
- Add support for new value `velobank` on enums `Charge.payment_method_details.p24.bank`, `PaymentIntentConfirmParams.payment_method_data.p24.bank`, `PaymentIntentCreateParams.payment_method_data.p24.bank`, `PaymentIntentUpdateParams.payment_method_data.p24.bank`, `PaymentMethod.p24.bank`, `PaymentMethodCreateParams.p24.bank`, `SetupIntentConfirmParams.payment_method_data.p24.bank`, `SetupIntentCreateParams.payment_method_data.p24.bank`, and `SetupIntentUpdateParams.payment_method_data.p24.bank`
- Add support for `setup_future_usage` on `PaymentIntent.payment_method_options.blik`, `PaymentIntentConfirmParams.payment_method_options.blik`, `PaymentIntentCreateParams.payment_method_options.blik`, and `PaymentIntentUpdateParams.payment_method_options.blik`
- Add support for `require_cvc_recollection` on `PaymentIntent.payment_method_options.card`, `PaymentIntentConfirmParams.payment_method_options.card`, `PaymentIntentCreateParams.payment_method_options.card`, and `PaymentIntentUpdateParams.payment_method_options.card`
- Add support for `account_tax_ids` on `SubscriptionCreateParams.invoice_settings`, `SubscriptionSchedule.default_settings.invoice_settings`, `SubscriptionSchedule.phases[].invoice_settings`, `SubscriptionScheduleCreateParams.default_settings.invoice_settings`, `SubscriptionScheduleCreateParams.phases[].invoice_settings`, `SubscriptionScheduleUpdateParams.default_settings.invoice_settings`, `SubscriptionScheduleUpdateParams.phases[].invoice_settings`, and `SubscriptionUpdateParams.invoice_settings`
### [`v14.15.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14150---2024-02-05)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.14.0...v14.15.0)
- [#2001](https://togithub.com/stripe/stripe-node/pull/2001) Update generated code
- Add support for `swish` payment method throughout the API
- Add support for `relationship` on `AccountCreateParams.individual`, `AccountUpdateParams.individual`, and `TokenCreateParams.account.individual`
- Add support for `jurisdiction_level` on `TaxRate`
- Change type of `Terminal.Reader.status` from `string` to `enum('offline'|'online')`
- [#2009](https://togithub.com/stripe/stripe-node/pull/2009) Remove https check for \*.stripe.com
- Stops throwing exceptions if `protocol: 'http'` is set for requests to `api.stripe.com`.
### [`v14.14.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14140---2024-01-25)
[Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.13.0...v14.14.0)
- [#1998](https://togithub.com/stripe/stripe-node/pull/1998) Update generated code
- Add support for `annual_revenue` and `estimated_worker_count` on `Account.business_profile`, `AccountCreateParams.business_profile`, and `AccountUpdateParams.business_profile`
- Add support for new value `registered_charity` on enums `Account.company.structure`, `AccountCreateParams.company.structure`, `AccountUpdateParams.company.structure`, and `TokenCreateParams.account.company.structure`
- Add support for `collection_options` on `AccountLinkCreateParams`
- Add support for `liability` on `Checkout.Session.automatic_tax`, `Checkout.SessionCreateParams.automatic_tax`, `PaymentLink.automatic_tax`, `PaymentLinkCreateParams.automatic_tax`, `PaymentLinkUpdateParams.automatic_tax`, `Quote.automatic_tax`, `QuoteCreateParams.automatic_tax`, `QuoteUpdateParams.automatic_tax`, `SubscriptionSchedule.default_settings.automatic_tax`, `SubscriptionSchedule.phases[].automatic_tax`, `SubscriptionScheduleCreateParams.default_settings.automatic_tax`, `SubscriptionScheduleCreateParams.phases[].automatic_tax`, `SubscriptionScheduleUpdateParams.default_settings.automatic_tax`, and `SubscriptionScheduleUpdateParams.phases[].automatic_tax`
- Add support for `issuer` on `Checkout.Session.invoice_creation.invoice_data`, `Checkout.SessionCreateParams.invoice_creation.invoice_data`, `PaymentLink.invoice_creation.invoice_data`, `PaymentLinkCreateParams.invoice_creation.invoice_data`, `PaymentLinkUpdateParams.invoice_creation.invoice_data`, `Quote.invoice_settings`, `QuoteCreateParams.invoice_settings`, `QuoteUpdateParams.invoice_settings`, `SubscriptionSchedule.default_settings.invoice_settings`, `SubscriptionSchedule.phases[].invoice_settings`, `SubscriptionScheduleCreateParams.default_settings.invoice_settings`, `SubscriptionScheduleCreateParams.phases[].invoice_settings`, `SubscriptionScheduleUpdateParams.default_settings.invoice_settings`, and `SubscriptionScheduleUpdateParams.phases[].invoice_settings`
- Add support for `invoice_settings` on `Checkout.SessionCreateParams.subscription_data`, `PaymentLink.subscription_data`, `PaymentLinkCreateParams.subscription_data`, and `PaymentLinkUpdateParams.subscription_data`
- Add support for new value `challenge` on enums `Invoice.payment_settings.payment_method_options.card.request_three_d_secure`, `InvoiceCreateParams.payment_settings.payment_method_options.card.request_three_d_secure`, `InvoiceUpdateParams.payment_settings.payment_method_options.card.request_three_d_secure`, `Subscription.payment_settings.payment_method_options.card.request_three_d_secure`, `SubscriptionCreateParams.payment_settings.payment_method_options.card.request_three_d_secure`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.card.request_three_d_secure`
- Add support for `promotion_code` on `InvoiceUpcomingLinesParams.discounts[]`, `InvoiceUpcomingLinesParams.invoice_items[].discounts[]`, `InvoiceUpcomingParams.discounts[]`, and `InvoiceUpcomingParams.invoice_items[].discounts[]`
- Add support for `account_type` on `PaymentMethodUpdateParams.us_bank_account`
- [#1995](https://togithub.com/stripe/stripe-node/pull/1995) Update generated code
- Add support for providing `BankAccount`, `Card`, and `CardToken` details on the `external_account` parameter in `AccountUpdateParams`
- Add support for new value `nn` 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`
- Add support for new value `NNBANL2G` on enums `Charge.payment_method_details.ideal.bic`, `PaymentMethod.ideal.bic`, and `SetupAttempt.payment_method_details.ideal.bic`
- Change `CustomerSession.components.buy_button`, `CustomerSession.components.pricing_table`, and `Subscription.billing_cycle_anchor_config` to be required
- Add support for `issuer` on `InvoiceCreateParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `InvoiceUpdateParams`, and `Invoice`
- Add support for `liability` on `Invoice.automatic_tax`, `InvoiceCreatePar
Configuration
📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
12.18.0
->15.12.0
Release Notes
stripe/stripe-node (stripe)
### [`v15.12.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#15120---2024-06-17) [Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.11.0...v15.12.0) - [#2109](https://togithub.com/stripe/stripe-node/pull/2109) Update generated code - Add support for new value `mobilepay` on enums `PaymentLink.payment_method_types[]`, `PaymentLinkCreateParams.payment_method_types[]`, and `PaymentLinkUpdateParams.payment_method_types[]` - Add support for `tax_id_collection` on `PaymentLinkUpdateParams` - [#2111](https://togithub.com/stripe/stripe-node/pull/2111) Where params are union of types, merge the types instead of having numbered suffixes in type names - Change type of `PaymentIntentConfirmParams.mandate_data` from `Stripe.EmptyableConfiguration
📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.