Skip to content

[Snyk] Upgrade stripe from 19.2.1 to 19.3.0#21

Open
benspak wants to merge 1 commit into
mainfrom
snyk-upgrade-d950837191d88d4ec8993b27fb48ebb8
Open

[Snyk] Upgrade stripe from 19.2.1 to 19.3.0#21
benspak wants to merge 1 commit into
mainfrom
snyk-upgrade-d950837191d88d4ec8993b27fb48ebb8

Conversation

@benspak

@benspak benspak commented Dec 1, 2025

Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to upgrade stripe from 19.2.1 to 19.3.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 25 days ago.

Release notes
Package name: stripe
  • 19.3.0 - 2025-11-05
    • #2488 Update generated code
      • Add support for capture_method on PaymentIntent.payment_method_options.card_present, PaymentIntentConfirmParams.payment_method_options.card_present, PaymentIntentCreateParams.payment_method_options.card_present, and PaymentIntentUpdateParams.payment_method_options.card_present

    See the changelog for more details.

  • 19.3.0-beta.1 - 2025-10-29

    This release changes the pinned API version to 2025-10-29.preview.

    • #2475 Update generated code for beta
      • Add support for crypto_storer on V2.Core.AccountUpdateParams.identity.attestations.terms_of_service
    • #2443 Update generated code for beta
      • Add support for update method on resource V2.MoneyManagement.FinancialAccount
      • Add support for confirm_microdeposits, list, and send_microdeposits methods on resource V2.Core.Vault.UsBankAccount
      • Add support for list method on resource V2.Core.Vault.GbBankAccount
      • Add support for new value verification_data_not_found on enums Account.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, and Person.requirements.errors[].code
      • Add support for payment_portal_url on Charge.payment_method_details.rechnung, PaymentAttemptRecord.payment_method_details.rechnung, and PaymentRecord.payment_method_details.rechnung
      • Add support for tax_id_element on CustomerSession.components and CustomerSessionCreateParams.components
      • Add support for starting_after on PaymentAttemptRecordListParams
      • Add support for new value solana on enums PaymentAttemptRecord.payment_method_details.crypto.network and PaymentRecord.payment_method_details.crypto.network
      • Add support for reference on PaymentIntentAmountDetailsLineItem.payment_method_options.klarna, PaymentIntentCaptureParams.amount_details.line_items[].payment_method_options.klarna, PaymentIntentConfirmParams.amount_details.line_items[].payment_method_options.klarna, PaymentIntentCreateParams.amount_details.line_items[].payment_method_options.klarna, PaymentIntentIncrementAuthorizationParams.amount_details.line_items[].payment_method_options.klarna, and PaymentIntentUpdateParams.amount_details.line_items[].payment_method_options.klarna
      • Change PaymentIntent.payment_details.customer_reference to be required
      • Change PaymentIntent.payment_details.order_reference to be required
      • Add support for subscription_reference on PaymentIntentAmountDetailsLineItem.payment_method_options.klarna
      • Add support for closed on V2.Core.AccountListParams and V2.Core.Account
      • Add support for new value payment_method on enums V2.Core.Account.configuration.customer.automatic_indirect_tax.location_source, V2.Core.AccountCreateParams.configuration.customer.automatic_indirect_tax.location_source, and V2.Core.AccountUpdateParams.configuration.customer.automatic_indirect_tax.location_source
      • Add support for usd on V2.Core.Account.configuration.storer.capabilities.holds_currencies, V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies, and V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies
      • Add support for new values application_custom and application_express on enums V2.Core.Account.defaults.responsibilities.fees_collector, V2.Core.AccountCreateParams.defaults.responsibilities.fees_collector, and V2.Core.AccountUpdateParams.defaults.responsibilities.fees_collector
      • Add support for representative_declaration on V2.Core.Account.identity.attestations, V2.Core.AccountCreateParams.identity.attestations, and V2.Core.AccountUpdateParams.identity.attestations
      • Add support for new value holds_currencies.usd on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
      • Add support for verification on V2.Core.Vault.UsBankAccount
      • Add support for v1_id on EventsV2MoneyManagementTransactionCreatedEvent
      • Remove support for thin event V2BillingBillSettingUpdatedEvent with related object V2.Billing.BillSetting
      • Add support for error code payment_intent_rate_limit_exceeded on QuotePreviewInvoice.last_finalization_error
      • Add support for error codes blocked_payout_method_crypto_wallet and unsupported_payout_method_crypto_wallet on BlockedByStripeError
      • Add support for error code outbound_flow_from_closed_financial_account_unsupported on FeatureNotEnabledError
      • Add support for error code limit_payout_method_crypto_wallet on QuotaExceededError

    See the changelog for more details.

  • 19.3.0-alpha.2 - 2025-10-30
    • #2484 Update generated code for private-preview
      • Change DelegatedCheckout.RequestedSessionUpdateParams.line_item_details[].quantity to be required
      • Add support for payment_method_preview on DelegatedCheckout.RequestedSession
      • Add support for order_id on DelegatedCheckout.RequestedSession.order_details
      • Add support for lead on V2.Core.Account.configuration.card_creator.capabilities.commercial, V2.Core.Account.identity.attestations.terms_of_service.card_creator.commercial, V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial, V2.Core.AccountCreateParams.identity.attestations.terms_of_service.card_creator.commercial, V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial, and V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.card_creator.commercial
      • Add support for global_account_holder on V2.Core.Account.identity.attestations.terms_of_service.card_creator.commercial, V2.Core.AccountCreateParams.identity.attestations.terms_of_service.card_creator.commercial, and V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.card_creator.commercial
      • Add support for new value commercial.lead.prepaid_card on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
      • Add support for new value commercial.lead.prepaid_card on enum EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability

    See the changelog for more details.

  • 19.3.0-alpha.1 - 2025-10-29
    • #2476 Update generated code for private-preview
      • Add support for report_refund method on resource PaymentRecord
      • Add support for representative_declaration on Account.company, AccountCreateParams.company, AccountUpdateParams.company, and TokenCreateParams.account.company
      • Add support for new value verification_data_not_found on enums Account.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, and Person.requirements.errors[].code
      • Add support for tenants on Billing.Analytics.MeterUsageRow
      • Add support for transfer on ApplicationFee.fee_source
      • Add support for new value transfer on enum ApplicationFee.fee_source.type
      • Add support for transit_balances_total on Balance
      • Add support for new value transit on enum BalanceTransaction.balance_type
      • Add support for tenant_group_by_keys on Billing.Analytics.MeterUsageRetrieveParams.meters[]
      • Change Billing.CreditGrantCreateParams.category to be optional
      • Add support for payment_method_configuration on BillingPortal.ConfigurationCreateParams.features.payment_method_update and BillingPortal.ConfigurationUpdateParams.features.payment_method_update
      • Add support for new value solana on enums Charge.payment_method_details.crypto.network, PaymentAttemptRecord.payment_method_details.crypto.network, and PaymentRecord.payment_method_details.crypto.network
      • Add support for payment_portal_url on Charge.payment_method_details.rechnung, PaymentAttemptRecord.payment_method_details.rechnung, and PaymentRecord.payment_method_details.rechnung
      • Add support for twint on Checkout.Session.payment_method_options and Checkout.SessionCreateParams.payment_method_options
      • Add support for new value custom on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
      • Change CreditNote.refunds[].payment_record_refund to be required
      • Change CreditNote.refunds[].type to be required
      • Add support for customer_sheet, mobile_payment_element, and tax_id_element on CustomerSession.components and CustomerSessionCreateParams.components
      • Add support for new value custom on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
      • Add support for provider on Customer.tax
      • Remove support for risk_details on DelegatedCheckout.RequestedSessionCreateParams
      • Add support for risk_details on DelegatedCheckout.RequestedSessionConfirmParams
      • Add support for new value platform_terms_of_service on enums File.purpose and FileListParams.purpose
      • Add support for new value platform_terms_of_service on enum FileCreateParams.purpose
      • Add support for starting_after on PaymentAttemptRecordListParams
      • Add support for reference on PaymentIntentAmountDetailsLineItem.payment_method_options.klarna, PaymentIntentCaptureParams.amount_details.line_items[].payment_method_options.klarna, PaymentIntentConfirmParams.amount_details.line_items[].payment_method_options.klarna, PaymentIntentCreateParams.amount_details.line_items[].payment_method_options.klarna, PaymentIntentIncrementAuthorizationParams.amount_details.line_items[].payment_method_options.klarna, and PaymentIntentUpdateParams.amount_details.line_items[].payment_method_options.klarna
      • Add support for allocated_funds on PaymentIntent
      • Change PaymentIntent.payment_details.customer_reference to be required
      • Change PaymentIntent.payment_details.order_reference to be required
      • Add support for subscription_reference on PaymentIntentAmountDetailsLineItem.payment_method_options.klarna
      • Add support for name_collection on PaymentLinkCreateParams, PaymentLinkUpdateParams, and PaymentLink
      • Add support for crypto on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, and Refund.destination_details
      • Add support for mb_way on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfiguration
      • Add support for custom on PaymentMethodCreateParams and PaymentMethod
      • Add support for excluded_payment_method_types on SetupIntentCreateParams, SetupIntentUpdateParams, and SetupIntent
      • Change SetupIntent.flow_directions to be optional
      • Add support for tw on Tax.Registration.country_options and Tax.RegistrationCreateParams.country_options
      • Add support for gip on Terminal.Configuration.tipping, Terminal.ConfigurationCreateParams.tipping, and Terminal.ConfigurationUpdateParams.tipping
      • Add support for last_seen_at on Terminal.Reader
      • Add support for application_fee_amount on TransferCreateParams and Transfer
      • Add support for application_fee on Transfer
      • Add support for new value 2025-10-29.clover on enum WebhookEndpointCreateParams.api_version
      • Add support for high_risk_activities_description, high_risk_activities, money_services_description, operates_in_prohibited_countries, participates_in_regulated_activity, purpose_of_funds_description, purpose_of_funds, regulated_activity, source_of_funds_description, and source_of_funds on V2.Core.Account.configuration.storer, V2.Core.AccountCreateParams.configuration.storer, and V2.Core.AccountUpdateParams.configuration.storer
      • Add support for crypto_wallets on V2.Core.Account.configuration.storer.capabilities.financial_addresses, V2.Core.Account.configuration.storer.capabilities.outbound_payments, V2.Core.Account.configuration.storer.capabilities.outbound_transfers, V2.Core.AccountCreateParams.configuration.storer.capabilities.financial_addresses, V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_payments, V2.Core.AccountCreateParams.configuration.storer.capabilities.outbound_transfers, V2.Core.AccountUpdateParams.configuration.storer.capabilities.financial_addresses, V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_payments, and V2.Core.AccountUpdateParams.configuration.storer.capabilities.outbound_transfers
      • Add support for usdc on V2.Core.Account.configuration.storer.capabilities.holds_currencies, V2.Core.AccountCreateParams.configuration.storer.capabilities.holds_currencies, and V2.Core.AccountUpdateParams.configuration.storer.capabilities.holds_currencies
      • Add support for crypto_storer on V2.Core.Account.identity.attestations.terms_of_service and V2.Core.AccountCreateParams.identity.attestations.terms_of_service
      • Add support for compliance_screening_description on V2.Core.Account.identity.business_details, V2.Core.AccountCreateParams.identity.business_details, and V2.Core.AccountUpdateParams.identity.business_details
      • Add support for external_amount on V2.MoneyManagement.ReceivedCredit and V2.MoneyManagement.ReceivedDebit
      • Add support for error code payment_intent_rate_limit_exceeded on Invoice.last_finalization_error, PaymentIntent.last_payment_error, QuotePreviewInvoice.last_finalization_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

    See the changelog for more details.

  • 19.2.1 - 2025-11-04
    • #2492 Add support for value payment_record to enum InvoicePayment.payment.type
    • #2485 correctly calculate content-length for JSON bodies that contain unicode

    See the changelog for more details.

from stripe GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Snyk has automatically assigned this pull request, set who gets assigned.

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:

Snyk has created this PR to upgrade stripe from 19.2.1 to 19.3.0.

See this package in npm:
stripe

See this project in Snyk:
https://app.snyk.io/org/bensbayard/project/94f42a2f-376e-4a58-85b4-40d1b6a45fb7?utm_source=github&utm_medium=referral&page=upgrade-pr
@benspak benspak self-assigned this Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants