[Snyk] Upgrade stripe from 17.5.0 to 17.6.0 #5
  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 17.5.0 to 17.6.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 4 versions ahead of your current version.
The recommended version was released 2 months ago.
Release notes
Package name: stripe
- 
        17.6.0 - 2025-01-27
- #2250 Update generated code
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Change 
 
- Add support for 
 
- Add support for 
 
- Add support for new value 
 
- Add support for new value 
 
- Add support for 
 
- Add support for new value 
 
- Add support for new value 
 
- Add support for new value 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Change type of 
 
- Add support for new value 
 
- Add support for 
 
- Add support for new value 
 
 
- #2249 add justfile, remove coveralls, tweak ESLint
 
- #2252 Added CONTRIBUTING.md file
 
- #2242 Added pull request template
 
 
      - 
        17.6.0-beta.3 - 2025-01-23
- #2253 Update generated code for beta
- Change 
 
- Remove support for 
 
 
 
      - 
        17.6.0-beta.2 - 2025-01-18
- #2247 Update generated code for beta
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Change 
 
- Add support for new value 
 
- Add support for 
 
- Add support for new value 
 
- Add support for new value 
 
- Add support for 
 
- Add support for new value 
 
- Add support for new value 
 
- Add support for new value 
 
- Add support for new value 
 
- Add support for 
 
- Add support for new value 
 
 
 
      - 
        17.6.0-beta.1 - 2025-01-09
- #2239 Update generated code for beta
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Remove support for value 
 
- Add support for 
 
- Change 
 
- Add support for 
 
- Add support for new value 
 
- Add support for new value 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Change type of 
 
- Add support for new value 
 
- Add support for 
 
 
 
      - 
        17.5.0 - 2024-12-18
- #2237 This release changes the pinned API version to 
- Change 
 
- Add support for 
 
- Add support for new values 
 
- Add support for 
 
- Change type of 
 
- Change 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for new values 
 
- Add support for new values 
 
- Add support for 
 
- Add support for new value 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Add support for 
 
- Change type of 
 
- Add support for 
 
- Add support for 
 
- Add support for new value 
 
 
- #2238 add missing key warning to README
 
 
    
from stripe GitHub release notesclosemethod on resourceTreasury.FinancialAccountpay_by_bank_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilitiesdirectorship_declarationandownership_exemption_reasononAccount.company,AccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.companyproof_of_ultimate_beneficial_ownershiponAccountCreateParams.documentsandAccountUpdateParams.documentsfinancial_accountonAccountSession.components,AccountSessionCreateParams.components, andTreasury.OutboundTransfer.destination_payment_method_detailsfinancial_account_transactions,issuing_card, andissuing_cards_listonAccountSession.componentsandAccountSessionCreateParams.componentsadvice_codeonCharge.outcome,Invoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErrorBilling.CreditBalanceTransaction.credit.credits_application_invoice_voided,Card.regulated_status,Charge.payment_method_details.card.network_transaction_id,Charge.payment_method_details.card.regulated_status,ConfirmationToken.payment_method_preview.card.regulated_status,CreditNote.pretax_credit_amounts,Invoice.total_pretax_credit_amounts,Issuing.Authorization.merchant_data.tax_id,Issuing.Transaction.merchant_data.tax_id, andPaymentMethod.card.regulated_statusto be requiredpay_by_bankonCharge.payment_method_details,Checkout.SessionCreateParams.payment_method_options,ConfirmationToken.payment_method_preview,ConfirmationTokenCreateParams.testHelpers.payment_method_data,PaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_data,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_data,PaymentIntentCreateParams.payment_method_options,PaymentIntentUpdateParams.payment_method_data,PaymentIntentUpdateParams.payment_method_options,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethodUpdateParams,PaymentMethod,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_datacountryonCharge.payment_method_details.paypal,ConfirmationToken.payment_method_preview.paypal, andPaymentMethod.paypalpay_by_bankon enumsCheckout.SessionCreateParams.payment_method_types[],CustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.typeSDon enumsCheckout.Session.shipping_address_collection.allowed_countries[],Checkout.SessionCreateParams.shipping_address_collection.allowed_countries[],PaymentLink.shipping_address_collection.allowed_countries[],PaymentLinkCreateParams.shipping_address_collection.allowed_countries[], andPaymentLinkUpdateParams.shipping_address_collection.allowed_countries[]discountsonCheckout.Sessionpay_by_bankon 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.typepay_by_bankon enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.typepay_by_bankon enumsPaymentLink.payment_method_types[],PaymentLinkCreateParams.payment_method_types[], andPaymentLinkUpdateParams.payment_method_types[]phone_number_collectiononPaymentLinkUpdateParamsjpyonTerminal.Configuration.tipping,Terminal.ConfigurationCreateParams.tipping, andTerminal.ConfigurationUpdateParams.tippingnicknameonTreasury.FinancialAccountCreateParams,Treasury.FinancialAccountUpdateParams, andTreasury.FinancialAccountforwarding_settingsonTreasury.FinancialAccountUpdateParamsis_defaultonTreasury.FinancialAccountdestination_payment_method_dataonTreasury.OutboundTransferCreateParamsTreasury.OutboundTransfer.destination_payment_method_details.typefromliteral('us_bank_account')toenum('financial_account'|'us_bank_account')outbound_transferon enumsTreasury.ReceivedCredit.linked_flows.source_flow_details.typeandTreasury.ReceivedCreditListParams.linked_flows.source_flow_typeoutbound_transferonTreasury.ReceivedCredit.linked_flows.source_flow_details2025-01-27.acaciaon enumWebhookEndpointCreateParams.api_versionSee the changelog for more details.
Refund.destination_details.blik.network_decline_codeandRefund.destination_details.swish.network_decline_codeto be requiredstripe_accountonTerminal.Reader.action.collect_payment_method,Terminal.Reader.action.confirm_payment_intent,Terminal.Reader.action.process_payment_intent, andTerminal.Reader.action.refund_paymentSee the changelog for more details.
pay_by_bank_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilitiesdirectorship_declarationonAccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.companyproof_of_ultimate_beneficial_ownershiponAccountCreateParams.documentsandAccountUpdateParams.documentstax_threshold_monitoringonAccountSessionCreateParams.componentsfinancial_account_transactions,financial_account,issuing_card, andissuing_cards_listonAccountSession.componentsBilling.CreditBalanceTransaction.credit.credits_application_invoice_voidedto be requiredalways_invoiceon enumsBillingPortal.Configuration.features.subscription_cancel.proration_behavior,BillingPortal.ConfigurationCreateParams.features.subscription_cancel.proration_behavior, andBillingPortal.ConfigurationUpdateParams.features.subscription_cancel.proration_behaviorpay_by_bankonCharge.payment_method_details,Checkout.SessionCreateParams.payment_method_options,ConfirmationToken.payment_method_preview,ConfirmationTokenCreateParams.testHelpers.payment_method_data,PaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_data,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_data,PaymentIntentCreateParams.payment_method_options,PaymentIntentUpdateParams.payment_method_data,PaymentIntentUpdateParams.payment_method_options,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethodUpdateParams,PaymentMethod,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_datapay_by_bankon enumCheckout.SessionCreateParams.payment_method_types[]SDon enumsCheckout.Session.shipping_address_collection.allowed_countries[],Checkout.SessionCreateParams.shipping_address_collection.allowed_countries[],PaymentLink.shipping_address_collection.allowed_countries[],PaymentLinkCreateParams.shipping_address_collection.allowed_countries[], andPaymentLinkUpdateParams.shipping_address_collection.allowed_countries[]discountsonCheckout.Sessionpay_by_bankon 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.typepay_by_bankon enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.typepay_by_bankon enumsCustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.typepay_by_bankon enumsPaymentLink.payment_method_types[],PaymentLinkCreateParams.payment_method_types[], andPaymentLinkUpdateParams.payment_method_types[]jpyonTerminal.Configuration.tipping,Terminal.ConfigurationCreateParams.tipping, andTerminal.ConfigurationUpdateParams.tipping2025-01-27.acaciaon enumWebhookEndpointCreateParams.api_versionSee the changelog for more details.
closemethod on resourceTreasury.FinancialAccountownership_exemption_reasononAccount.company,AccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.companydirectorship_declarationonAccount.companyadvice_codeonCharge.outcome,Invoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErroralways_invoicefrom enumsBillingPortal.Configuration.features.subscription_cancel.proration_behavior,BillingPortal.ConfigurationCreateParams.features.subscription_cancel.proration_behavior, andBillingPortal.ConfigurationUpdateParams.features.subscription_cancel.proration_behaviorbrand_productonCard,Source.card_present,Source.card, andSource.three_d_secureCard.regulated_status,Charge.payment_method_details.card.network_transaction_id,Charge.payment_method_details.card.regulated_status,ConfirmationToken.payment_method_preview.card.regulated_status,CreditNote.pretax_credit_amounts,Invoice.total_pretax_credit_amounts,Issuing.Authorization.merchant_data.tax_id,Issuing.Transaction.merchant_data.tax_id, andPaymentMethod.card.regulated_statusto be requiredcountryonCharge.payment_method_details.paypal,ConfirmationToken.payment_method_preview.paypal, andPaymentMethod.paypalal_tinon enumsCheckout.Session.collected_information.tax_ids[].typeandOrder.tax_details.tax_ids[].typeal_tinon enumsOrderCreateParams.tax_details.tax_ids[].typeandOrderUpdateParams.tax_details.tax_ids[].typephone_number_collectiononPaymentLinkUpdateParamsnicknameonTreasury.FinancialAccountCreateParams,Treasury.FinancialAccountUpdateParams, andTreasury.FinancialAccountforwarding_settingsonTreasury.FinancialAccountUpdateParamsis_defaultonTreasury.FinancialAccountdestination_payment_method_dataonTreasury.OutboundTransferCreateParamsfinancial_accountonTreasury.OutboundTransfer.destination_payment_method_detailsTreasury.OutboundTransfer.destination_payment_method_details.typefromliteral('us_bank_account')toenum('financial_account'|'us_bank_account')outbound_transferon enumsTreasury.ReceivedCredit.linked_flows.source_flow_details.typeandTreasury.ReceivedCreditListParams.linked_flows.source_flow_typeoutbound_transferonTreasury.ReceivedCredit.linked_flows.source_flow_detailsSee the changelog for more details.
2024-12-18.acacia.Account.business_profile.annual_revenueandAccount.business_profile.estimated_worker_countto be optionalnetwork_advice_codeandnetwork_decline_codeonCharge.outcome,Invoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErrorpayout_minimum_balance_holdandpayout_minimum_balance_releaseon enumBalanceTransaction.typecredits_application_invoice_voidedonBilling.CreditBalanceTransaction.creditBilling.CreditBalanceTransaction.credit.typefromliteral('credits_granted')toenum('credits_application_invoice_voided'|'credits_granted')BillingPortal.Configuration.features.subscription_update.schedule_at_period_end,Issuing.Authorization.verified_by_fraud_challenge,LineItem.description, andPayout.trace_idto be requiredallow_redisplayonCardandSourceregulated_statusonCard,Charge.payment_method_details.card,ConfirmationToken.payment_method_preview.card, andPaymentMethod.cardfundingonCharge.payment_method_details.amazon_payandCharge.payment_method_details.revolut_paynetwork_transaction_idonCharge.payment_method_details.cardreference_prefixonCheckout.Session.payment_method_options.bacs_debit.mandate_options,Checkout.Session.payment_method_options.sepa_debit.mandate_options,Checkout.SessionCreateParams.payment_method_options.bacs_debit.mandate_options,Checkout.SessionCreateParams.payment_method_options.sepa_debit.mandate_options,PaymentIntent.payment_method_options.bacs_debit.mandate_options,PaymentIntent.payment_method_options.sepa_debit.mandate_options,PaymentIntentConfirmParams.payment_method_options.bacs_debit.mandate_options,PaymentIntentConfirmParams.payment_method_options.sepa_debit.mandate_options,PaymentIntentCreateParams.payment_method_options.bacs_debit.mandate_options,PaymentIntentCreateParams.payment_method_options.sepa_debit.mandate_options,PaymentIntentUpdateParams.payment_method_options.bacs_debit.mandate_options,PaymentIntentUpdateParams.payment_method_options.sepa_debit.mandate_options,SetupIntent.payment_method_options.bacs_debit.mandate_options,SetupIntent.payment_method_options.sepa_debit.mandate_options,SetupIntentConfirmParams.payment_method_options.bacs_debit.mandate_options,SetupIntentConfirmParams.payment_method_options.sepa_debit.mandate_options,SetupIntentCreateParams.payment_method_options.bacs_debit.mandate_options,SetupIntentCreateParams.payment_method_options.sepa_debit.mandate_options,SetupIntentUpdateParams.payment_method_options.bacs_debit.mandate_options, andSetupIntentUpdateParams.payment_method_options.sepa_debit.mandate_optionsal_tin,am_tin,ao_tin,ba_tin,bb_tin,bs_tin,cd_nif,gn_nif,kh_tin,me_pib,mk_vat,mr_nif,np_pan,sn_ninea,sr_fin,tj_tin,ug_tin,zm_tin, andzw_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.typeal_tin,am_tin,ao_tin,ba_tin,bb_tin,bs_tin,cd_nif,gn_nif,kh_tin,me_pib,mk_vat,mr_nif,np_pan,sn_ninea,sr_fin,tj_tin,ug_tin,zm_tin, andzw_tinon enumsCustomerCreateParams.tax_id_data[].type,InvoiceCreatePreviewParams.customer_details.tax_ids[].type,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type,InvoiceUpcomingParams.customer_details.tax_ids[].type,Tax.CalculationCreateParams.customer_details.tax_ids[].type, andTaxIdCreateParams.typevisa_complianceonDispute.evidence.enhanced_evidence,Dispute.evidence_details.enhanced_eligibility, andDisputeUpdateParams.evidence.enhanced_evidencerequest_signatureon enumsForwarding.Request.replacements[]andForwarding.RequestCreateParams.replacements[]account_holder_addressandbank_addressonFundingInstructions.bank_transfer.financial_addresses[].iban,FundingInstructions.bank_transfer.financial_addresses[].sort_code,FundingInstructions.bank_transfer.financial_addresses[].spei,FundingInstructions.bank_transfer.financial_addresses[].zengin,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].iban,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].sort_code,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei, andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zenginaccount_holder_nameonFundingInstructions.bank_transfer.financial_addresses[].speiandPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].speidisabled_reasononInvoice.automatic_tax,Subscription.automatic_tax,SubscriptionSchedule.default_settings.automatic_tax, andSubscriptionSchedule.phases[].automatic_taxtax_idonIssuing.Authorization.merchant_dataandIssuing.Transaction.merchant_dataLineItem.descriptionfromstringtostring | nulltrial_period_daysonPaymentLinkUpdateParams.subscription_dataal,am,ao,ba,bb,bs,cd,gn,kh,me,mk,mr,np,pe,sn,sr,tj,ug,uy,zm, andzwonTax.Registration.country_optionsandTax.RegistrationCreateParams.country_options2024-12-18.acaciaon enumWebhookEndpointCreateParams.api_versionSee the changelog for more details.
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: