[Snyk] Upgrade stripe from 15.8.0 to 18.5.0 #245
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 15.8.0 to 18.5.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 72 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: stripe
2025-08-27.basil.balance_report,payout_details, andpayout_reconciliation_reportonAccountSession.componentsandAccountSessionCreateParams.componentsnameonBillingPortal.ConfigurationCreateParams,BillingPortal.ConfigurationUpdateParams, andBillingPortal.ConfigurationinstallmentsonCharge.payment_method_details.almatransaction_idonCharge.payment_method_details.alma,Charge.payment_method_details.amazon_pay,Charge.payment_method_details.billie,Charge.payment_method_details.kakao_pay,Charge.payment_method_details.kr_card,Charge.payment_method_details.naver_pay,Charge.payment_method_details.payco,Charge.payment_method_details.revolut_pay,Charge.payment_method_details.samsung_pay, andCharge.payment_method_details.satispaylocationandreaderonCharge.payment_method_details.paynowamount_includes_iofonCheckout.Session.payment_method_options.pix,Checkout.SessionCreateParams.payment_method_options.pix,PaymentIntent.payment_method_options.pix,PaymentIntentConfirmParams.payment_method_options.pix,PaymentIntentCreateParams.payment_method_options.pix, andPaymentIntentUpdateParams.payment_method_options.pixblockandresolutionon enumDispute.payment_method_details.card.case_typeterminal_android_apkon enumsFile.purposeandFileListParams.purposeterminal_android_apkon enumFileCreateParams.purposemetadataandperiodonInvoiceCreatePreviewParams.schedule_details.phases[].add_invoice_items[],SubscriptionCreateParams.add_invoice_items[],SubscriptionSchedule.phases[].add_invoice_items[],SubscriptionScheduleCreateParams.phases[].add_invoice_items[],SubscriptionScheduleUpdateParams.phases[].add_invoice_items[], andSubscriptionUpdateParams.add_invoice_items[]exp_monthandexp_yearonIssuing.CardCreateParamsexcluded_payment_method_typesonPaymentIntentCreateParamsandPaymentIntentpayout_methodonPayoutCreateParamsandPayoutmxnonTerminal.Configuration.tipping,Terminal.ConfigurationCreateParams.tipping, andTerminal.ConfigurationUpdateParams.tippingcardonTerminal.ReaderPresentPaymentMethodParams.testHelperscardon enumTerminal.ReaderPresentPaymentMethodParams.testHelpers.type2025-08-27.basilon enumWebhookEndpointCreateParams.api_versioncustomer_session_expiredandindia_recurring_payment_mandate_canceledonInvoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErrorSee the changelog for more details.
InvoicePaymentlistandretrievemethods on resourceInvoicePaymentSee the changelog for more details.
This release changes the pinned API version to
2025-07-30.preview.Billing.MeterUsageRow,Billing.MeterUsage, andTerminal.OnboardingLinkretrievemethod on resourceBilling.MeterUsagecreatemethod on resourceTerminal.OnboardingLinkmonthly_payout_daysandweekly_payout_daysonBalanceSettingUpdateParams.payouts.scheduleandBalanceSettings.payouts.schedulemonthly_anchorandweekly_anchoronBalanceSettingUpdateParams.payouts.scheduleandBalanceSettings.payouts.scheduledelay_days_overrideonBalanceSettingUpdateParams.settlement_timingdelay_daysonBalanceSettingUpdateParams.settlement_timingupdate_discountsonCheckout.SessionCreateParams.permissionsdiscountsandsubscription_dataonCheckout.SessionUpdateParamssmart_disputesonDisputeupionInvoice.payment_settings.payment_method_options,InvoiceCreateParams.payment_settings.payment_method_options,InvoiceUpdateParams.payment_settings.payment_method_options,QuotePreviewInvoice.payment_settings.payment_method_options,Subscription.payment_settings.payment_method_options,SubscriptionCreateParams.payment_settings.payment_method_options, andSubscriptionUpdateParams.payment_settings.payment_method_optionsupion enumsInvoice.payment_settings.payment_method_types,InvoiceCreateParams.payment_settings.payment_method_types,InvoiceUpdateParams.payment_settings.payment_method_types,QuotePreviewInvoice.payment_settings.payment_method_types,Subscription.payment_settings.payment_method_types,SubscriptionCreateParams.payment_settings.payment_method_types, andSubscriptionUpdateParams.payment_settings.payment_method_typestransaction_idonPaymentAttemptRecord.payment_method_details.cashappandPaymentRecord.payment_method_details.cashappamount_detailsonPaymentIntentCaptureParams,PaymentIntentConfirmParams,PaymentIntentCreateParams,PaymentIntentIncrementAuthorizationParams, andPaymentIntentUpdateParamspayment_detailsonPaymentIntentIncrementAuthorizationParamsstoreronV2.Core.Account.identity.attestations.terms_of_service,V2.Core.AccountCreateParams.identity.attestations.terms_of_service, andV2.Core.AccountUpdateParams.identity.attestations.terms_of_servicecollection_optionsonV2.Core.AccountLink.use_case.account_onboarding,V2.Core.AccountLink.use_case.account_update,V2.Core.AccountLinkCreateParams.use_case.account_onboarding, andV2.Core.AccountLinkCreateParams.use_case.account_updateV2.Core.AccountLink.use_case.account_onboarding.configurations,V2.Core.AccountLink.use_case.account_update.configurations,V2.Core.AccountLinkCreateParams.use_case.account_onboarding.configurations, andV2.Core.AccountLinkCreateParams.use_case.account_update.configurationsfromliteral('recipient')toenum('customer'|'merchant'|'recipient'|'storer')bank_account_typeonV2.MoneyManagement.PayoutMethod.bank_accountV2CoreAccountLinkReturnedEventV2MoneyManagementPayoutMethodUpdatedEventwith related objectV2.MoneyManagement.PayoutMethodV2CoreAccountLinkCompletedEventV2OffSessionPaymentRequiresCaptureEventwith related objectV2.Payments.OffSessionPaymentSee the changelog for more details.
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.