chore(deps): update dependency stripe to v18 - autoclosed #17
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.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
^17.7.0->^18.5.0Release Notes
stripe/stripe-node (stripe)
v18.5.0Compare Source
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, andStripeErrorv18.4.0Compare Source
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_VERSIONv18.3.0Compare Source
This release changes the pinned API version to
2025-06-30.basil.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.v18.2.1Compare Source
POSTrawRequestsrawRequestincorrectly emits a warning when sending v2 GET requestsv18.2.0Compare Source
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, andStripeErrorv18.1.1Compare Source
hostandstreamingin request options.v18.1.0Compare Source
This release changes the pinned API version to
2025-04-30.basil.minority_owned_business_designationonAccount.business_profile,AccountCreateParams.business_profile, andAccountUpdateParams.business_profileregistration_dateonAccount.company,AccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.companyus_cfpb_dataonAccountCreatePersonParams,AccountUpdatePersonParams,Person, andTokenCreateParams.personverification_legal_entity_structure_mismatchon enumsAccount.future_requirements.errors[].code,Account.requirements.errors[].code,BankAccount.future_requirements.errors[].code,BankAccount.requirements.errors[].code,Capability.future_requirements.errors[].code,Capability.requirements.errors[].code,Person.future_requirements.errors[].code, andPerson.requirements.errors[].codetax_id_prohibitedon enumsInvoice.last_finalization_error.code,PaymentIntent.last_payment_error.code,SetupAttempt.setup_error.code,SetupIntent.last_setup_error.code, andStripeError.codetax_idonCharge.billing_details,ConfirmationToken.payment_method_preview.billing_details,ConfirmationTokenCreateParams.testHelpers.payment_method_data.billing_details,PaymentIntentConfirmParams.payment_method_data.billing_details,PaymentIntentCreateParams.payment_method_data.billing_details,PaymentIntentUpdateParams.payment_method_data.billing_details,PaymentMethod.billing_details,PaymentMethodCreateParams.billing_details,PaymentMethodUpdateParams.billing_details,SetupIntentConfirmParams.payment_method_data.billing_details,SetupIntentCreateParams.payment_method_data.billing_details, andSetupIntentUpdateParams.payment_method_data.billing_detailswallet_optionsonCheckout.SessionCreateParamsandCheckout.SessionprovideronCheckout.Session.automatic_tax,Invoice.automatic_tax, andQuote.automatic_taxaw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsCheckout.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, andTaxId.typepayment_method_optionsonConfirmationTokenCreateParams.testHelpersinstallmentsonConfirmationToken.payment_method_options.cardaw_tin,az_tin,bd_bin,bf_ifu,bj_ifu,cm_niu,cv_nif,et_tin,kg_tin, andla_tinon enumsCustomerCreateParams.tax_id_data[].type,CustomerCreateTaxIdParams.type,InvoiceCreatePreviewParams.customer_details.tax_ids[].type,Tax.CalculationCreateParams.customer_details.tax_ids[].type, andTaxIdCreateParams.typecontextonEventaffirmon 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_typesInvoiceLineItem.parent.subscription_item_details.subscriptionfromstringtostring | nullbillieonPaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_options, andPaymentIntentUpdateParams.payment_method_optionspixonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfigurationklarnaonPaymentMethodDomainpending_reasononRefundTax.CalculationLineItem.referencefromstring | nulltostringaw,az,bd,bf,bj,cm,cv,et,in,kg,la, andphonTax.Registration.country_optionsandTax.RegistrationCreateParams.country_options2025-04-30.basilon enumWebhookEndpointCreateParams.api_versionv18.0.0Compare Source
#2279 Support for APIs in the new API version 2025-03-31.basil
This release changes the pinned API version to
2025-03-31.basil.Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
SubscriptionItemUsageRecordSummaryandSubscriptionItemUsageRecordlistUpcomingLinesandretrieveUpcomingmethods on resourceInvoicecreateUsageRecordandlistUsageRecordSummariesmethods on resourceSubscriptionItemsinvoiceonChargeandPaymentIntentshipping_detailsonCheckout.Sessioncarrier,phone, andtracking_numberonCheckout.Session.collected_information.shipping_details. Makenameandaddressrequired instead of optional.refundonCreditNoteCreateParams,CreditNoteListPreviewLineItemsParams,CreditNotePreviewParams, andCreditNotetax_amountsonCreditNoteLineItem,CreditNote, andInvoiceLineItemamount_excluding_taxandunit_amount_excluding_taxonCreditNoteLineItemandInvoiceLineItemcoupononCustomerCreateParams,CustomerUpdateParams,InvoiceCreatePreviewParams.schedule_details.phases[],InvoiceCreatePreviewParams,SubscriptionCreateParams,SubscriptionSchedule.phases[],SubscriptionScheduleCreateParams.phases[],SubscriptionScheduleUpdateParams.phases[], andSubscriptionUpdateParamspromotion_codeonCustomerCreateParams,CustomerUpdateParams,SubscriptionCreateParams, andSubscriptionUpdateParamspriceonInvoiceAddLinesParams.lines[],InvoiceItemCreateParams,InvoiceItemUpdateParams,InvoiceItem,InvoiceLineItemUpdateParams,InvoiceLineItem, andInvoiceUpdateLinesParams.lines[]. Usepricing` instead.billing_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, andSubscriptionapplication_fee_amount,charge,paid_out_of_band,paid,payment_intent,quote,subscription,subscription_details,subscription_proration_date,tax,total_tax_amounts, andtransfer_dataonInvoicediscountonInvoiceandSubscriptioninvoice_item,proration_details,proration,tax_rates, andtypeonInvoiceLineItemplanandsubscription_itemonInvoiceItemandInvoiceLineItemunit_amountonInvoiceItemCreateParams,InvoiceItemUpdateParams, andInvoiceItemsubscriptionandunit_amount_decimalonInvoiceItemnaver_payonPaymentMethodUpdateParamsaggregate_usageonPlanCreateParams,Plan,Price.recurring, andPriceCreateParams.recurringcurrent_period_endandcurrent_period_startonSubscriptionpagehas been removed from all V2 list method params (e.g.EventService.list()); use the auto paginator or thenext_page_urlandprevious_page_urlfields instead (more info)Changes
Checkout.Session.collected_informationto be requiredCheckout.Session.collected_information.shipping_detailsto be requiredCheckout.Session.collected_information.shipping_details.addressto be requiredCheckout.Session.collected_information.shipping_details.nameto be requiredPaymentIntentConfirmParams.payment_method_options.wechat_pay.client,PaymentIntentCreateParams.payment_method_options.wechat_pay.client, andPaymentIntentUpdateParams.payment_method_options.wechat_pay.clientto be optionalpolitical_exposureon resourcesPersonandTokenand paramsToken.CreateParamsfrom string to enum("existing" | "none")Additions
InvoicePaymentlistandretrievemethods on resourceInvoicePaymentbillie_payments,nz_bank_account_becs_debit_payments, andsatispay_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilitieshosted_payment_method_saveonAccount.settings.invoicesandAccountUpdateParams.settings.invoicesinvoicesonAccountCreateParams.settingsinformation_missing,invalid_signator,verification_failed_authorizer_authority, andverification_rejected_ownership_exemption_reasonon enumsAccount.future_requirements.errors[].code,Account.requirements.errors[].code,AccountCapability.future_requirements.errors[].code,AccountCapability.requirements.errors[].code,AccountPerson.future_requirements.errors[].code,AccountPerson.requirements.errors[].code,BankAccount.future_requirements.errors[].code, andBankAccount.requirements.errors[].codeforwarding_api_retryable_upstream_errorandsetup_intent_mobile_wallet_unsupportedon enumsInvoice.last_finalization_error.code,PaymentIntent.last_payment_error.code,SetupAttempt.setup_error.code,SetupIntent.last_setup_error.code, andStripeError.codestripe_balance_payment_debit_reversalandstripe_balance_payment_debiton enumBalanceTransaction.typelaston enumsBilling.Meter.default_aggregation.formulaandBilling.MeterCreateParams.default_aggregation.formulapresentment_detailsonCharge,Checkout.Session,PaymentIntent, andRefundbillieandsatispayonCharge.payment_method_details,ConfirmationToken.payment_method_preview,ConfirmationTokenCreateParams.testHelpers.payment_method_data,CustomerPaymentMethod,PaymentIntentConfirmParams.payment_method_data,PaymentIntentCreateParams.payment_method_data,PaymentIntentUpdateParams.payment_method_data,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethod,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_datanz_bank_accountonCharge.payment_method_details,ConfirmationToken.payment_method_preview,ConfirmationTokenCreateParams.testHelpers.payment_method_data,CustomerPaymentMethod,Mandate.payment_method_details,PaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_data,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_data,PaymentIntentCreateParams.payment_method_options,PaymentIntentUpdateParams.payment_method_data,PaymentIntentUpdateParams.payment_method_options,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethod,SetupAttempt.payment_method_details,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_dataoptional_itemsonCheckout.SessionCreateParams,Checkout.Session,PaymentLinkCreateParams, andPaymentLinkpermissionsonCheckout.SessionCreateParamsandCheckout.Sessionbillieandsatispayon enumCheckout.SessionCreateParams.payment_method_typescustomon enumsCheckout.Session.ui_modeandCheckout.SessionCreateParams.ui_modeshipping_optionsonCheckout.SessionUpdateParamsbillie,nz_bank_account, andsatispayon 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.typebuyer_idonConfirmationToken.payment_method_preview.naver_pay,CustomerPaymentMethod.naver_pay, andPaymentMethod.naver_paybillie,nz_bank_account, andsatispayon enumsConfirmationToken.payment_method_preview.type,CustomerPaymentMethod.type, andPaymentMethod.typerefundsonCreditNoteCreateParams,CreditNoteListPreviewLineItemsParams,CreditNotePreviewParams, andCreditNotetotal_taxesonCreditNoteandInvoicetaxesonCreditNoteLineItemandInvoiceLineItemcheckout_sessiononCustomerBalanceTransactioncheckout_session_subscription_payment_canceledandcheckout_session_subscription_paymenton enumCustomerBalanceTransaction.typebillie,nz_bank_account, andsatispayon enumsCustomerPaymentMethodListParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.typeinvoice.overpaidon enumEvent.typeklarnaandnz_bank_accounton 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_typespricingonInvoiceAddLinesParams.lines[],InvoiceItemCreateParams,InvoiceItemUpdateParams,InvoiceItem,InvoiceLineItemUpdateParams,InvoiceLineItem, andInvoiceUpdateLinesParams.lines[]taxability_reasononInvoiceAddLinesParams.lines[].tax_amounts[],InvoiceLineItemUpdateParams.tax_amounts[], andInvoiceUpdateLinesParams.lines[].tax_amounts[]jurisdiction_levelonInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data,InvoiceLineItemUpdateParams.tax_amounts[].tax_rate_data, andInvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_dataamount_overpaid,confirmation_secret, andpaymentsonInvoiceparentonInvoiceItem,InvoiceLineItem, andInvoiceexpiredon enumsIssuing.Authorization.statusandIssuing.AuthorizationListParams.statusnetwork_fallbackon enumIssuing.Authorization.request_history[].reasonnaver_payonMandate.payment_method_detailsandSetupAttempt.payment_method_detailssetup_future_usageonPaymentIntent.payment_method_options.naver_pay,PaymentIntentConfirmParams.payment_method_options.naver_pay,PaymentIntentCreateParams.payment_method_options.naver_pay, andPaymentIntentUpdateParams.payment_method_options.naver_payexpiredon enumPaymentIntent.cancellation_reasondefault_valueonPaymentLink.custom_fields[].dropdown,PaymentLink.custom_fields[].numeric,PaymentLink.custom_fields[].text,PaymentLinkCreateParams.custom_fields[].dropdown,PaymentLinkCreateParams.custom_fields[].numeric,PaymentLinkCreateParams.custom_fields[].text,PaymentLinkUpdateParams.custom_fields[].dropdown,PaymentLinkUpdateParams.custom_fields[].numeric, andPaymentLinkUpdateParams.custom_fields[].textbillieandsatispayon enumsPaymentLink.payment_method_types,PaymentLinkCreateParams.payment_method_types, andPaymentLinkUpdateParams.payment_method_typesnz_bank_transferonRefund.destination_detailscanceledon enumReview.closed_reasoncurrent_period_endandcurrent_period_startonSubscriptionItemwifionTerminal.ConfigurationCreateParams,Terminal.ConfigurationUpdateParams, andTerminal.Configurationinvoice.overpaidon enumsWebhookEndpointCreateParams.enabled_eventsandWebhookEndpointUpdateParams.enabled_events2025-03-01.dashboardand2025-03-31.basilon enumWebhookEndpointCreateParams.api_versionStripe.webhooksandStripe().webhooksare no longer functions (just plain objects)Stripe.webhooks().someMethod(), you should useStripe.webhooks.someMethod()insteadAccountDebitSourcein favor ofAccountCapabilityListParamsin favor ofAccountListCapabilitiesParamsCapabilityRetrieveParamsin favor ofAccountRetrieveCapabilityParamsCapabilityUpdateParamsin favor ofAccountUpdateCapabilityParamsCashBalanceRetrieveParamsin favor ofCustomerRetrieveCashBalanceParamsCashBalanceUpdateParamsin favor ofCustomerUpdateCashBalanceParamsCreditNoteLineItemListParamsin favor ofCreditNoteListLineItemsParamsCustomerBalanceTransactionCreateParamsin favor ofCustomerCreateBalanceTransactionParamsCustomerBalanceTransactionListParamsin favor ofCustomerListBalanceTransactionsParamsCustomerBalanceTransactionRetrieveParamsin favor ofCustomerRetrieveBalanceTransactionParamsCustomerBalanceTransactionUpdateParamsin favor ofCustomerUpdateBalanceTransactionParamsCustomerCashBalanceTransactionListParamsin favor ofCustomerListCashBalanceTransactionsParamsCustomerCashBalanceTransactionRetrieveParamsin favor ofCustomerRetrieveCashBalanceTransactionParamsCustomerSourceCreateParamsin favor ofCustomerCreateSourceParamsCustomerSourceDeleteParamsin favor ofCustomerDeleteSourceParamsCustomerSourceListParamsin favor ofCustomerListSourcesParamsCustomerSourceRetrieveParamsin favor ofCustomerRetrieveSourceParamsCustomerSourceUpdateParamsin favor ofCustomerUpdateSourceParamsCustomerSourceVerifyParamsin favor ofCustomerVerifySourceParamsExternalAccountCreateParamsin favor ofAccountCreateExternalAccountParamsExternalAccountDeleteParamsin favor ofAccountDeleteExternalAccountParamsExternalAccountListParamsin favor ofAccountListExternalAccountsParamsExternalAccountRetrieveParamsin favor ofAccountRetrieveExternalAccountParamsExternalAccountUpdateParamsin favor ofAccountUpdateExternalAccountParamsFeeRefundCreateParamsin favor ofApplicationFeeCreateRefundParamsFeeRefundListParamsin favor ofApplicationFeeListRefundsParamsFeeRefundRetrieveParamsin favor ofApplicationFeeRetrieveRefundParamsFeeRefundUpdateParamsin favor ofApplicationFeeUpdateRefundParamsInvoiceLineItemListParamsin favor ofInvoiceListLineItemsParamsInvoiceLineItemUpdateParamsin favor ofInvoiceUpdateLineItemParamsLoginLinkCreateParamsin favor ofAccountCreateLoginLinkParamsPersonCreateParamsin favor ofAccountCreatePersonParamsPersonDeleteParamsin favor ofAccountDeletePersonParamsPersonListParamsin favor ofAccountListPersonsParamsPersonRetrieveParamsin favor ofAccountRetrievePersonParamsPersonUpdateParamsin favor ofAccountUpdatePersonParamsTransferReversalCreateParamsin favor ofTransferCreateReversalParamsTransferReversalListParamsin favor ofTransferListReversalsParamsTransferReversalRetrieveParamsin favor ofTransferRetrieveReversalParamsTransferReversalUpdateParamsin favor ofTransferUpdateReversalParamsConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.