Open
Conversation
Snyk has created this PR to upgrade stripe from 2.7.4 to 18.4.0. See this package in npm: stripe See this project in Snyk: https://app.snyk.io/org/sherfeyinv/project/02b601a1-d89d-441e-8049-1c9f3af1e1a7?utm_source=github&utm_medium=referral&page=upgrade-pr
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade stripe from 2.7.4 to 18.4.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 654 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: stripe
This release changes the pinned API version to
2025-07-30.basil.instant_payouts_promotiononAccountSession.componentsandAccountSessionCreateParams.componentsadjustable_quantityonBillingPortal.Configuration.features.subscription_update.products[],BillingPortal.ConfigurationCreateParams.features.subscription_update.products[], andBillingPortal.ConfigurationUpdateParams.features.subscription_update.products[]disabledfrom enumCapability.statustransaction_idonCharge.payment_method_details.cashapporigin_contextonCheckout.SessionCreateParamsandCheckout.SessiontemplateonCheckout.Session.invoice_creation.invoice_data.rendering_options,Checkout.SessionCreateParams.invoice_creation.invoice_data.rendering_options,PaymentLink.invoice_creation.invoice_data.rendering_options,PaymentLinkCreateParams.invoice_creation.invoice_data.rendering_options, andPaymentLinkUpdateParams.invoice_creation.invoice_data.rendering_optionssetup_future_usageonCheckout.Session.payment_method_options.pixandCheckout.SessionCreateParams.payment_method_options.pixnz_bank_accounton enumCheckout.SessionCreateParams.payment_method_typesIdentity.VerificationSession.related_person.accountto be requiredIdentity.VerificationSession.related_person.personto be requireddurationonInvoiceCreatePreviewParams.schedule_details.phases[],SubscriptionScheduleCreateParams.phases[], andSubscriptionScheduleUpdateParams.phases[]InvoiceCreatePreviewParams.subscription_details.cancel_at,SubscriptionCreateParams.cancel_at, andSubscriptionUpdateParams.cancel_atfromDateTimetoDateTime | enum('max_period_end'|'min_period_end')price_dataonPaymentLinkCreateParams.line_items[]PaymentLinkCreateParams.line_items[].priceto be optionalAmerica/Coyhaiqueon enumReporting.ReportRunCreateParams.parameters.timezonestandardonTax.Registration.country_options.ae,Tax.Registration.country_options.au,Tax.Registration.country_options.ch,Tax.Registration.country_options.gb,Tax.Registration.country_options.jp,Tax.Registration.country_options.no,Tax.Registration.country_options.nz,Tax.Registration.country_options.sg,Tax.RegistrationCreateParams.country_options.ae,Tax.RegistrationCreateParams.country_options.al,Tax.RegistrationCreateParams.country_options.ao,Tax.RegistrationCreateParams.country_options.au,Tax.RegistrationCreateParams.country_options.aw,Tax.RegistrationCreateParams.country_options.ba,Tax.RegistrationCreateParams.country_options.bb,Tax.RegistrationCreateParams.country_options.bd,Tax.RegistrationCreateParams.country_options.bf,Tax.RegistrationCreateParams.country_options.bh,Tax.RegistrationCreateParams.country_options.bs,Tax.RegistrationCreateParams.country_options.cd,Tax.RegistrationCreateParams.country_options.ch,Tax.RegistrationCreateParams.country_options.et,Tax.RegistrationCreateParams.country_options.gb,Tax.RegistrationCreateParams.country_options.gn,Tax.RegistrationCreateParams.country_options.is,Tax.RegistrationCreateParams.country_options.jp,Tax.RegistrationCreateParams.country_options.me,Tax.RegistrationCreateParams.country_options.mk,Tax.RegistrationCreateParams.country_options.mr,Tax.RegistrationCreateParams.country_options.no,Tax.RegistrationCreateParams.country_options.nz,Tax.RegistrationCreateParams.country_options.om,Tax.RegistrationCreateParams.country_options.rs,Tax.RegistrationCreateParams.country_options.sg,Tax.RegistrationCreateParams.country_options.sr,Tax.RegistrationCreateParams.country_options.uy,Tax.RegistrationCreateParams.country_options.za, andTax.RegistrationCreateParams.country_options.zwinbound_goodson enumsTax.Registration.country_options.at.standard.place_of_supply_scheme,Tax.Registration.country_options.be.standard.place_of_supply_scheme,Tax.Registration.country_options.bg.standard.place_of_supply_scheme,Tax.Registration.country_options.cy.standard.place_of_supply_scheme,Tax.Registration.country_options.cz.standard.place_of_supply_scheme,Tax.Registration.country_options.de.standard.place_of_supply_scheme,Tax.Registration.country_options.dk.standard.place_of_supply_scheme,Tax.Registration.country_options.ee.standard.place_of_supply_scheme,Tax.Registration.country_options.es.standard.place_of_supply_scheme,Tax.Registration.country_options.fi.standard.place_of_supply_scheme,Tax.Registration.country_options.fr.standard.place_of_supply_scheme,Tax.Registration.country_options.gr.standard.place_of_supply_scheme,Tax.Registration.country_options.hr.standard.place_of_supply_scheme,Tax.Registration.country_options.hu.standard.place_of_supply_scheme,Tax.Registration.country_options.ie.standard.place_of_supply_scheme,Tax.Registration.country_options.it.standard.place_of_supply_scheme,Tax.Registration.country_options.lt.standard.place_of_supply_scheme,Tax.Registration.country_options.lu.standard.place_of_supply_scheme,Tax.Registration.country_options.lv.standard.place_of_supply_scheme,Tax.Registration.country_options.mt.standard.place_of_supply_scheme,Tax.Registration.country_options.nl.standard.place_of_supply_scheme,Tax.Registration.country_options.pl.standard.place_of_supply_scheme,Tax.Registration.country_options.pt.standard.place_of_supply_scheme,Tax.Registration.country_options.ro.standard.place_of_supply_scheme,Tax.Registration.country_options.se.standard.place_of_supply_scheme,Tax.Registration.country_options.si.standard.place_of_supply_scheme,Tax.Registration.country_options.sk.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.at.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.be.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.bg.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.cy.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.cz.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.de.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.dk.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.ee.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.es.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.fi.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.fr.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.gr.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.hr.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.hu.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.ie.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.it.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.lt.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.lu.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.lv.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.mt.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.nl.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.pl.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.pt.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.ro.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.se.standard.place_of_supply_scheme,Tax.RegistrationCreateParams.country_options.si.standard.place_of_supply_scheme, andTax.RegistrationCreateParams.country_options.sk.standard.place_of_supply_schemeaed,bgn,huf, andrononTerminal.Configuration.tipping,Terminal.ConfigurationCreateParams.tipping, andTerminal.ConfigurationUpdateParams.tipping2025-07-30.basilon enumWebhookEndpointCreateParams.api_versionStripe.API_VERSIONSee the changelog for more details.
closeandcreatemethods on resourceV2.MoneyManagement.FinancialAccountstoreron enumsV2.Core.Account.applied_configurationsandV2.Core.AccountCloseParams.applied_configurationsstoreronV2.Core.Account.configuration,V2.Core.AccountCreateParams.configuration, andV2.Core.AccountUpdateParams.configurationfinancial_addresses.bank_accounts,holds_currencies.gbp,inbound_transfers.financial_accounts,outbound_payments.bank_accounts,outbound_payments.cards,outbound_payments.financial_accounts,outbound_transfers.bank_accounts, andoutbound_transfers.financial_accountson enumV2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capabilitystoreron enumV2.Core.Account.requirements.entries[].impact.restricts_capabilities[].configurationstatus_detailsonV2.MoneyManagement.FinancialAccountstatusonV2.MoneyManagement.FinancialAccountListParamsconfiguration.storeron enumsV2.Core.AccountCreateParams.include,V2.Core.AccountRetrieveParams.include, andV2.Core.AccountUpdateParams.includeV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEventandV2CoreAccountIncludingConfigurationStorerUpdatedEventwith related objectV2.Core.AccountAlreadyExistsErrorandNonZeroBalanceErrorSee the changelog for more details.
Checkout.SessionCreateParams.subscription_data.billing_mode,InvoiceCreatePreviewParams.schedule_details.billing_mode,InvoiceCreatePreviewParams.subscription_details.billing_mode,Quote.subscription_data.billing_mode,QuoteCreateParams.subscription_data.billing_mode,SubscriptionCreateParams.billing_mode, andSubscriptionScheduleCreateParams.billing_modefromenum('classic'|'flexible')tobilling_modesubmission_methodonDispute.evidence_detailson_demandandsubscriptionsonOrderCreateParams.payment.settings.payment_method_options.klarnaandOrderUpdateParams.payment.settings.payment_method_options.klarnaOrder.payment.settings.payment_method_options.klarna.setup_future_usage,OrderCreateParams.payment.settings.payment_method_options.klarna.setup_future_usage, andOrderUpdateParams.payment.settings.payment_method_options.klarna.setup_future_usagefromliteral('none')toenum('none'|'off_session'|'on_session')cryptoonPaymentAttemptRecord.payment_method_detailsandPaymentRecord.payment_method_detailsbuuton enumsPaymentAttemptRecord.payment_method_details.ideal.bankandPaymentRecord.payment_method_details.ideal.bankBUUTNL2Aon enumsPaymentAttemptRecord.payment_method_details.ideal.bicandPaymentRecord.payment_method_details.ideal.bicPaymentIntent.payment_method_options.gopay.setup_future_usage,PaymentIntentConfirmParams.payment_method_options.gopay.setup_future_usage,PaymentIntentCreateParams.payment_method_options.gopay.setup_future_usage, andPaymentIntentUpdateParams.payment_method_options.gopay.setup_future_usagefromliteral('none')toenum('none'|'off_session')Quote.subscription_data.billing_mode,QuotePreviewSubscriptionSchedule.billing_mode,Subscription.billing_mode, andSubscriptionSchedule.billing_modeto be requiredcryptoon enumQuotePreviewInvoice.payment_settings.payment_method_typesQuotePreviewSubscriptionSchedule.billing_mode,Subscription.billing_mode, andSubscriptionSchedule.billing_modefromenum('classic'|'flexible')toSubscriptionsResourceBillingModeSubscriptionMigrateParams.billing_modefromliteral('flexible')tobilling_mode_migratebilling_mode_detailsonSubscriptionxxon enumsV2.Core.Account.configuration.customer.automatic_indirect_tax.location.country,V2.Core.Account.configuration.customer.shipping.address.country,V2.Core.Account.configuration.merchant.support.address.country,V2.Core.Account.identity.business_details.address.country,V2.Core.Account.identity.business_details.script_addresses.kana.country,V2.Core.Account.identity.business_details.script_addresses.kanji.country,V2.Core.Account.identity.country,V2.Core.Account.identity.individual.additional_addresses[].country,V2.Core.Account.identity.individual.address.country,V2.Core.Account.identity.individual.script_addresses.kana.country,V2.Core.Account.identity.individual.script_addresses.kanji.country,V2.Core.AccountCreateParams.configuration.customer.shipping.address.country,V2.Core.AccountCreateParams.configuration.merchant.support.address.country,V2.Core.AccountCreateParams.identity.business_details.address.country,V2.Core.AccountCreateParams.identity.business_details.script_addresses.kana.country,V2.Core.AccountCreateParams.identity.business_details.script_addresses.kanji.country,V2.Core.AccountCreateParams.identity.country,V2.Core.AccountCreateParams.identity.individual.additional_addresses[].country,V2.Core.AccountCreateParams.identity.individual.address.country,V2.Core.AccountCreateParams.identity.individual.script_addresses.kana.country,V2.Core.AccountCreateParams.identity.individual.script_addresses.kanji.country,V2.Core.AccountUpdateParams.configuration.customer.shipping.address.country,V2.Core.AccountUpdateParams.configuration.merchant.support.address.country,V2.Core.AccountUpdateParams.identity.business_details.address.country,V2.Core.AccountUpdateParams.identity.business_details.script_addresses.kana.country,V2.Core.AccountUpdateParams.identity.business_details.script_addresses.kanji.country,V2.Core.AccountUpdateParams.identity.country,V2.Core.AccountUpdateParams.identity.individual.additional_addresses[].country,V2.Core.AccountUpdateParams.identity.individual.address.country,V2.Core.AccountUpdateParams.identity.individual.script_addresses.kana.country,V2.Core.AccountUpdateParams.identity.individual.script_addresses.kanji.country,V2.Core.Person.additional_addresses[].country,V2.Core.Person.address.country,V2.Core.Person.script_addresses.kana.country,V2.Core.Person.script_addresses.kanji.country,V2.Core.PersonCreateParams.additional_addresses[].country,V2.Core.PersonCreateParams.address.country,V2.Core.PersonCreateParams.script_addresses.kana.country,V2.Core.PersonCreateParams.script_addresses.kanji.country,V2.Core.PersonUpdateParams.additional_addresses[].country,V2.Core.PersonUpdateParams.address.country,V2.Core.PersonUpdateParams.script_addresses.kana.country,V2.Core.PersonUpdateParams.script_addresses.kanji.country, andV2.MoneyManagement.FinancialAccount.countryunsupported_entity_typeon enumsV2.Core.Account.configuration.customer.capabilities.automatic_indirect_tax.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.ach_debit_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.acss_debit_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.affirm_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.afterpay_clearpay_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.alma_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.amazon_pay_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.au_becs_debit_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.bacs_debit_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.bancontact_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.blik_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.boleto_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.card_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.cartes_bancaires_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.cashapp_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.eps_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.fpx_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.gb_bank_transfer_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.grabpay_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.ideal_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.jcb_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.jp_bank_transfer_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.kakao_pay_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.klarna_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.konbini_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.kr_card_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.link_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.mobilepay_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.multibanco_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.mx_bank_transfer_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.naver_pay_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.oxxo_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.p24_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.pay_by_bank_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.payco_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.paynow_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.promptpay_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.revolut_pay_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.samsung_pay_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.sepa_bank_transfer_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.sepa_debit_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.stripe_balance.payouts.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.swish_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.twint_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.us_bank_transfer_payments.status_details[].code,V2.Core.Account.configuration.merchant.capabilities.zip_payments.status_details[].code,V2.Core.Account.configuration.recipient.capabilities.bank_accounts.local.status_details[].code,V2.Core.Account.configuration.recipient.capabilities.bank_accounts.wire.status_details[].code,V2.Core.Account.configuration.recipient.capabilities.cards.status_details[].code,V2.Core.Account.configuration.recipient.capabilities.stripe_balance.payouts.status_details[].code, andV2.Core.Account.configuration.recipient.capabilities.stripe_balance.stripe_transfers.status_details[].codeproof_of_addressonV2.Core.Account.identity.business_details.documents,V2.Core.AccountCreateParams.identity.business_details.documents, andV2.Core.AccountUpdateParams.identity.business_details.documentsxxon enumsV2.Core.Account.identity.individual.nationalities,V2.Core.AccountCreateParams.identity.individual.nationalities,V2.Core.AccountUpdateParams.identity.individual.nationalities,V2.Core.Person.nationalities,V2.Core.PersonCreateParams.nationalities, andV2.Core.PersonUpdateParams.nationalitiesmetadataonV2.MoneyManagement.FinancialAccountdescriptiononV2.MoneyManagement.FinancialAccountpendingon enumV2.MoneyManagement.FinancialAccount.statusattemptsonV2.Payments.OffSessionPaymentV2.Payments.OffSessionPayment.transfer_data.amountfromintegertointeger | nullfrom_account,outbound_payment, andoutbound_transferonV2.MoneyManagement.ReceivedCredit.balance_transferV2.MoneyManagement.ReceivedCredit.balance_transfer.typefromliteral('payout_v1')toenum('outbound_payment'|'outbound_transfer'|'payout_v1')V2.MoneyManagement.ReceivedCredit.balance_transfer.payout_v1fromstringtostring | nullV2.Payments.OffSessionPaymentCreateParams.transfer_data.amountto be optionalrecipient_feature_not_active,storer_capability_missing, andstorer_capability_not_activeonFeatureNotEnabledErroroutbound_payment_recipient_feature_not_activeonFeatureNotEnabledErrorinsufficient_fundsonInsufficientFundsErroroutbound_payment_insufficient_fundsandoutbound_transfer_insufficient_fundsonInsufficientFundsErrorrecipient_amount_limit_exceededandrecipient_count_limit_exceededonQuotaExceededErroroutbound_payment_recipient_amount_limit_exceededandoutbound_payment_recipient_count_limit_exceededonQuotaExceededErrorrecipient_email_does_not_existonRecipientNotNotifiableErroroutbound_payment_recipient_email_does_not_existonRecipientNotNotifiableErrorSee the changelog for more details.
migratemethod on resourceSubscriptioncollect_payment_methodandconfirm_payment_intentmethods on resourceTerminal.Readercrypto_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilitiesproof_of_addressonAccountCreateParams.documentsandAccountUpdateParams.documentsmonthly_payout_daysandweekly_payout_daysonAccount.settings.payouts.schedule,AccountCreateParams.settings.payouts.schedule, andAccountUpdateParams.settings.payouts.scheduleAccount.settings.invoices.hosted_payment_method_saveto be requiredcryptoonCharge.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, andSetupIntentUpdateParams.payment_method_dataCharge.payment_method_details.card.installments.plan.type,ConfirmationToken.payment_method_options.card.installments.plan.type,ConfirmationTokenCreateParams.testHelpers.payment_method_options.card.installments.plan.type,InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.type,InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.type,PaymentIntent.payment_method_options.card.installments.available_plans[].type,PaymentIntent.payment_method_options.card.installments.plan.type,PaymentIntentConfirmParams.payment_method_options.card.installments.plan.type,PaymentIntentCreateParams.payment_method_options.card.installments.plan.type, andPaymentIntentUpdateParams.payment_method_options.card.installments.plan.typefromliteral('fixed_count')toenum('bonus'|'fixed_count'|'revolving')buuton enumsCharge.payment_method_details.ideal.bank,ConfirmationToken.payment_method_preview.ideal.bank,ConfirmationTokenCreateParams.testHelpers.payment_method_data.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, andSetupIntentUpdateParams.payment_method_data.ideal.bankBUUTNL2Aon enumsCharge.payment_method_details.ideal.bic,ConfirmationToken.payment_method_preview.ideal.bic,PaymentMethod.ideal.bic, andSetupAttempt.payment_method_details.ideal.bicsubscriptionsonCheckout.SessionCreateParams.payment_method_options.klarna,PaymentIntentConfirmParams.payment_method_options.klarna,PaymentIntentCreateParams.payment_method_options.klarna, andPaymentIntentUpdateParams.payment_method_options.klarnacryptoon enumCheckout.SessionCreateParams.payment_method_typesbilling_modeonCheckout.SessionCreateParams.subscription_data,InvoiceCreatePreviewParams.schedule_details,InvoiceCreatePreviewParams.subscription_details,Quote.subscription_data,QuoteCreateParams.subscription_data,SubscriptionCreateParams,SubscriptionScheduleCreateParams,SubscriptionSchedule, andSubscriptioncryptoon enumsConfirmationTokenCreateParams.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, andSetupIntentUpdateParams.payment_method_data.typecryptoon enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.typecryptoon enumsCustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.typeDispute.enhanced_eligibility_typesfromliteral('visa_compelling_evidence_3')toenum('visa_compelling_evidence_3'|'visa_compliance')complianceon enumDispute.payment_method_details.card.case_typeterminal.reader.action_updatedon enumEvent.typerelated_persononIdentity.VerificationSessionCreateParamsandIdentity.VerificationSessionmatchingonIdentity.VerificationSession.optionscryptoon enumsInvoice.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, andSubscriptionUpdateParams.payment_settings.payment_method_typesklarnaonMandate.payment_method_details,SetupIntent.payment_method_options,SetupIntentConfirmParams.payment_method_options,SetupIntentCreateParams.payment_method_options, andSetupIntentUpdateParams.payment_method_optionson_demandonPaymentIntentConfirmParams.payment_method_options.klarna,PaymentIntentCreateParams.payment_method_options.klarna, andPaymentIntentUpdateParams.payment_method_options.klarnaPaymentIntent.payment_method_options.klarna.setup_future_usage,PaymentIntentConfirmParams.payment_method_options.klarna.setup_future_usage,PaymentIntentCreateParams.payment_method_options.klarna.setup_future_usage, andPaymentIntentUpdateParams.payment_method_options.klarna.setup_future_usagefromliteral('none')toenum('none'|'off_session'|'on_session')uaonTax.Registration.country_optionsandTax.RegistrationCreateParams.country_optionsTerminal.LocationUpdateParams.display_namefromstringtoemptyable(string)collect_payment_methodandconfirm_payment_intentonTerminal.Reader.actioncollect_payment_methodandconfirm_payment_intenton enumTerminal.Reader.action.typestatusonTreasury.FinancialAccountListParamsterminal.reader.action_updatedon enumsWebhookEndpointCreateParams.enabled_eventsandWebhookEndpointUpdateParams.enabled_events2025-06-30.basilon enumWebhookEndpointCreateParams.api_versionTerminalReaderActionUpdatedEventwith resourceTerminal.ReaderstripeContextto theRequestOptionsandStripeConfiginterfaces.See the changelog for more details.
See the changelog for more details.
This release changes the pinned API version to 2025-05-28.preview.
#2324 Update generated code for beta
Breaking changes
Billing.MeterErrorReport,GiftCards.Card, andGiftCards.Transactioncreate,list,retrieve,update, andvalidatemethods on resourceGiftCards.Cardcancel,confirm,create,list,retrieve, andupdatemethods on resourceGiftCards.TransactionprovisioningonProductCreateParamsandProductBillingMeterErrorReportTriggeredEventwith resourceBilling.MeterErrorReportgift_card_balance_insufficient,gift_card_code_exists, andgift_card_inactiveonQuotePreviewInvoice.last_finalization_errorandStripeErrorcredits_attributed_to_debitsandlegacy_prorationsfrom enumsCheckout.SessionCreateParams.subscription_data.billing_mode,InvoiceCreatePreviewParams.schedule_details.billing_mode,InvoiceCreatePreviewParams.subscription_details.billing_mode,Quote.subscription_data.billing_mode,QuoteCreateParams.subscription_data.billing_mode,QuotePreviewSubscriptionSchedule.billing_mode,Subscription.billing_mode,SubscriptionCreateParams.billing_mode,SubscriptionSchedule.billing_mode, andSubscriptionScheduleCreateParams.billing_modeCheckout.SessionUpdateParams.line_items[].quantityfromemptyable(longInteger)tolongIntegerCreditNote.post_payment_amountto be requiredCreditNote.pre_payment_amountto be requiredInvoiceCreatePreviewParams.subscription_details.cancel_at,SubscriptionCreateParams.cancel_at, andSubscriptionUpdateParams.cancel_atfromDateTimetoDateTime | enum('max_period_end'|'min_period_end')creditsonOrderCreateParams,OrderUpdateParams, andOrderamount_remainingonOrderamount_creditonOrder.total_detailsPaymentAttemptRecord.metadataandPaymentRecord.metadatafrommap(string: string) | nulltomap(string: string)PaymentRecordReportPaymentAttemptCanceledParams.metadata,PaymentRecordReportPaymentAttemptFailedParams.metadata,PaymentRecordReportPaymentAttemptGuaranteedParams.metadata,PaymentRecordReportPaymentAttemptParams.metadata, andPaymentRecordReportPaymentParams.metadatafrommap(string: string)toemptyable(map(string: string))Privacy.RedactionJob.statusfromstringtoenumPrivacy.RedactionJob.validation_behaviorfromstringtoenum('error'|'fix')Privacy.RedactionJobValidationError.codefromstringtoenumPrivacy.RedactionJobValidationError.erroring_objectfrommap(string: string)toRedactionResourceErroringObjectstatus_detailsandstatusonTax.AssociationOther changes
migratemethod on resourceSubscriptiondistance,pickup_location_name,return_location_name, andvehicle_identification_numberonChargeCaptureParams.payment_details.car_rental,ChargeUpdateParams.payment_details.car_rental,PaymentIntent.payment_details.car_rental,PaymentIntentCaptureParams.payment_details.car_rental,PaymentIntentConfirmParams.payment_details.car_rental,PaymentIntentCreateParams.payment_details.car_rental, andPaymentIntentUpdateParams.payment_details.car_rentaldriver_identification_numberanddriver_tax_numberonChargeCaptureParams.payment_details.car_rental.drivers[],ChargeUpdateParams.payment_details.car_rental.drivers[],PaymentIntent.payment_details.car_rental.drivers[],PaymentIntentCaptureParams.payment_details.car_rental.drivers[],PaymentIntentConfirmParams.payment_details.car_rental.drivers[],PaymentIntentCreateParams.payment_details.car_rental.drivers[], andPaymentIntentUpdateParams.payment_details.car_rental.drivers[]classicandflexibleon enumsCheckout.SessionCreateParams.subscription_data.billing_mode,InvoiceCreatePreviewParams.schedule_details.billing_mode,InvoiceCreatePreviewParams.subscription_details.billing_mode,Quote.subscription_data.billing_mode,QuoteCreateParams.subscription_data.billing_mode,QuotePreviewSubscriptionSchedule.billing_mode,Subscription.billing_mode,SubscriptionCreateParams.billing_mode,SubscriptionSchedule.billing_mode, andSubscriptionScheduleCreateParams.billing_modeinstitutiononFinancialConnections.AccountcountriesonFinancialConnections.InstitutionlocationandreaderonPaymentAttemptRecord.payment_method_details.affirm,PaymentAttemptRecord.payment_method_details.wechat_pay,PaymentRecord.payment_method_details.affirm, andPaymentRecord.payment_method_details.wechat_payhooksonPaymentIntentCaptureParams,PaymentIntentConfirmParams,PaymentIntentCreateParams,PaymentIntentDecrementAuthorizationParams,PaymentIntentIncrementAuthorizationParams,PaymentIntentUpdateParams, andPaymentIntentasync_workflowsonPaymentIntentCaptureParams,PaymentIntentConfirmParams,PaymentIntentCreateParams,PaymentIntentDecrementAuthorizationParams,PaymentIntentIncrementAuthorizationParams,PaymentIntentUpdateParams, andPaymentIntentcard_presentonPaymentIntentAmountDetailsLineItem.payment_method_optionslivemodeonPrivacy.RedactionJobbilling_thresholdsonQuotePreviewSubscriptionSchedule.default_settings,QuotePreviewSubscriptionSchedule.phases[].items[], andQuotePreviewSubscriptionSchedule.phases[]billing_mode_detailsonSubscriptiontax_transaction_attemptsonTax.Associationconfirm_configonTerminal.Reader.action.confirm_payment_intentandTerminal.ReaderConfirmPaymentIntentParamsforwarding_api_upstream_erroronQuotePreviewInvoice.last_finalization_errorSee the changelog for more details.
POSTrawRequestsrawRequestincorrectly emits a warning when sending v2 GET requestsSee the changelog for more details.
This release changes the pinned API version to
2025-05-28.basil.attach_paymentmethod on resourceInvoicecollect_inputsmethod on resourceTerminal.Readersucceed_input_collectionandtimeout_input_collectiontest helper methods on resourceTerminal.Readerpix_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilitiesdisputes_listandpayment_disputesonAccountSession.componentsandAccountSessionCreateParams.componentsrefund_and_dispute_prefundingonBalancebalance_typeonBalanceTransactionBilling.AlertCreateParams.usage_threshold.meterto be requiredlocationandreaderonCharge.payment_method_details.affirmandCharge.payment_method_details.wechat_paypayment_method_removeonCheckout.SessionCreateParams.saved_payment_method_optionssetup_future_usageonCheckout.Session.payment_method_options.naver_payConfirmationToken.payment_method_preview.naver_pay.buyer_idandPaymentMethod.naver_pay.buyer_idto be requiredpost_payment_amountandpre_payment_amountonCreditNotemixedon enumCreditNote.typeinvoice_payment.paidon enumEvent.typesex,unparsed_place_of_birth, andunparsed_sexonIdentity.VerificationReport.documentandIdentity.VerificationSession.verified_outputsbilling_thresholdsonInvoiceCreatePreviewParams.schedule_details.phases[].items[],InvoiceCreatePreviewParams.schedule_details.phases[],InvoiceCreatePreviewParams.subscription_details.items[],SubscriptionCreateParams.items[],SubscriptionCreateParams,SubscriptionItemCreateParams,SubscriptionItemUpdateParams,SubscriptionItem,SubscriptionSchedule.default_settings,SubscriptionSchedule.phases[].items[],SubscriptionSchedule.phases[],SubscriptionScheduleCreateParams.default_settings,SubscriptionScheduleCreateParams.phases[].items[],SubscriptionScheduleCreateParams.phases[],SubscriptionScheduleUpdateParams.default_settings,SubscriptionScheduleUpdateParams.phases[].items[],SubscriptionScheduleUpdateParams.phases[],SubscriptionUpdateParams.items[],SubscriptionUpdateParams, andSubscriptionsatispayonPaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_options, andPaymentIntentUpdateParams.payment_method_optionscapture_methodonPaymentIntent.payment_method_options.billiekakao_pay,kr_card,naver_pay,payco, andsamsung_payonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfigurationnetwork_decline_codeonRefund.destination_details.paypalmetadataonTax.CalculationCreateParams.line_items[]andTax.CalculationLineItemsimulated_stripe_s700on enumsTerminal.Reader.device_typeandTerminal.ReaderListParams.device_typereturn_urlonTerminal.Reader.action.process_payment_intent.process_configandTerminal.ReaderProcessPaymentIntentParams.process_configcollect_inputsonTerminal.Reader.actioncollect_inputson enumTerminal.Reader.action.typeinvoice_payment.paidon enumsWebhookEndpointCreateParams.enabled_eventsandWebhookEndpointUpdateParams.enabled_events2025-05-28.basilon enumWebhookEndpointCreateParams.api_versionInvoicePaymentPaidEventwith resourceInvoicePaymentforwarding_api_upstream_erroronInvoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErrorSee the changelog for more details.
#2307 Update generated code for beta
This release changes the pinned API version to
2025-04-30.preview.billing_modeonCheckout.SessionCreateParams.subscription_data,InvoiceCreatePreviewParams.schedule_details,InvoiceCreatePreviewParams.subscription_details,Quote.subscription_data,QuoteCreateParams.subscription_data,QuotePreviewSubscriptionSchedule,SubscriptionCreateParams,SubscriptionScheduleCreateParams,SubscriptionSchedule, andSubscriptionaw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsCheckout.Session.collected_information.tax_ids[].type,Order.tax_details.tax_ids[].type, andQuotePreviewInvoice.customer_tax_ids[].typeCheckout.Session.automatic_tax.provider,Invoice.automatic_tax.provider,Quote.automatic_tax.provider, andQuotePreviewInvoice.automatic_tax.providerto be requiredaccount_numberonConfirmationToken.payment_method_preview.acss_debitandPaymentMethod.acss_debitbalance_settings.updatedon enumEvent.typeaw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsOrderCreateParams.tax_details.tax_ids[].typeandOrderUpdateParams.tax_details.tax_ids[].typebalance_settings.updatedon enumsWebhookEndpointUpdateParams.enabled_eventsSee the changelog for more details.
hostandstreamingin request options.See the changelog for more details.