Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 8, 2025

This PR contains the following updates:

Package Change Age Confidence
Stripe.net 48.5.0 -> 50.0.0 age confidence

Release Notes

stripe/stripe-dotnet (Stripe.net)

v50.0.0

This release changes the pinned API version to 2025-11-17.clover.

  • #​3256 Update generated code
    • ⚠️ Remove support for Gt, Gte, Lt, and Lte on V2.Core.EventListOptions in favor of Created.
  • #​3254 Check if a datetime is in millis
    • Bug fix for #​3253. UnixDateTimeConverter now handles timestamps in milliseconds.
  • #​3249 Update v2 array parameter serialization to use indexed format
    • Retrieve and List calls for /v2 endpoints now use indexed format (e.g., ?include[0]=foo&include[1]=bar) instead of repeated parameter format (e.g., ?include=foo&include=bar) when communicating with the Stripe API. This may break any unit tests that expect the latter behavior when setting up a mock server. Instead, they should now expect the former.
  • #​3246 Update generated code
    • Add support for new resources Tax.Association and Terminal.OnboardingLink
    • Add support for Find method on resource Tax.Association
    • Add support for Create method on resource Terminal.OnboardingLink
    • Add support for PaymentMethodConfiguration on BillingPortal.Configuration.Features.PaymentMethodUpdate
    • Add support for TransactionId on Charge.PaymentMethodDetails.Ideal, PaymentAttemptRecord.PaymentMethodDetails.Ideal, and PaymentRecord.PaymentMethodDetails.Ideal
    • Add support for Created on CustomerCustomerBalanceTransactionListOptions and InvoicePaymentListOptions
    • Add support for AccountNumbers on FinancialConnections.Account
    • Add support for FraudRisk on IssuingAuthorizationRiskAssessmentOptions
    • Add support for LatestFraudWarning on Issuing.Card
    • Add support for Hooks on PaymentIntentCaptureOptions, PaymentIntentConfirmOptions, PaymentIntentCreateOptions, PaymentIntentIncrementAuthorizationOptions, PaymentIntentUpdateOptions, and PaymentIntent
    • Add support for MbWay and Twint on Refund.DestinationDetails
    • Add support for snapshot events FinancialConnectionsAccountAccountNumbersUpdated and FinancialConnectionsAccountUpcomingAccountNumberExpiry with resource FinancialConnections.Account

v49.2.0

  • #​3244 Update generated code
    • Add support for CaptureMethod on PaymentIntent.PaymentMethodOptions.CardPresent and PaymentIntentPaymentMethodOptionsCardPresentOptions

v49.1.0

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

  • #​3236 Update generated code
    • Improve docs for PaymentIntent related endpoints
  • #​3230 Update generated code
    • Add support for new resources PaymentAttemptRecord, PaymentIntentAmountDetailsLineItem, and PaymentRecord
    • Add support for Get and List methods on resource PaymentAttemptRecord
    • Add support for Get, ReportPaymentAttemptCanceled, ReportPaymentAttemptFailed, ReportPaymentAttemptGuaranteed, ReportPaymentAttemptInformational, ReportPaymentAttempt, ReportPayment, and ReportRefund methods on resource PaymentRecord
    • Add support for List method on resource PaymentIntentAmountDetailsLineItem
    • Add support for RepresentativeDeclaration on Account.Company, AccountCompanyOptions, and TokenAccountCompanyOptions
    • Add support for PaymentMethodConfiguration on BillingPortalConfigurationFeaturesPaymentMethodUpdateOptions
    • Add support for Twint on Checkout.Session.PaymentMethodOptions and CheckoutSessionPaymentMethodOptionsOptions
    • Add support for PaymentRecordRefund and Type on CreditNote.Refund and CreditNoteRefundOptions
    • Add support for CustomerSheet and MobilePaymentElement on CustomerSession.Components and CustomerSessionComponentsOptions
    • Add support for Provider on Customer.Tax
    • Add support for PaymentRecord on InvoiceAttachPaymentOptions, InvoicePayment.Payment, and InvoicePaymentPaymentOptions
    • Change type of InvoicePaymentPaymentOptions.Type from literal('payment_intent') to enum('payment_intent'|'payment_record')
    • Add support for AmountDetails on PaymentIntentCaptureOptions, PaymentIntentConfirmOptions, PaymentIntentCreateOptions, PaymentIntentIncrementAuthorizationOptions, and PaymentIntentUpdateOptions
    • Add support for PaymentDetails on PaymentIntentCaptureOptions, PaymentIntentConfirmOptions, PaymentIntentCreateOptions, PaymentIntentIncrementAuthorizationOptions, PaymentIntentUpdateOptions, and PaymentIntent
    • Add support for DiscountAmount, LineItems, Shipping, and Tax on PaymentIntent.AmountDetails
    • Add support for NameCollection on PaymentLinkCreateOptions, PaymentLinkUpdateOptions, and PaymentLink
    • Add support for Crypto on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, PaymentMethodConfiguration, and Refund.DestinationDetails
    • Add support for MbWay on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, and PaymentMethodConfiguration
    • Add support for Custom on PaymentMethodCreateOptions and PaymentMethod
    • Add support for ExcludedPaymentMethodTypes on SetupIntentCreateOptions, SetupIntentUpdateOptions, and SetupIntent
    • Add support for Tw on Tax.Registration.CountryOptions and TaxRegistrationCountryOptionsOptions
    • Add support for Gip on Terminal.Configuration.Tipping and TerminalConfigurationTippingOptions
    • Add support for LastSeenAt on Terminal.Reader
    • Add support for Gt, Gte, Lt, Lte, and Types on V2.Core.EventListOptions
    • Add support for snapshot event BalanceSettingsUpdated with resource BalanceSettings
    • Add support for snapshot event InvoicePaymentAttemptRequired with resource Invoice
  • #​3223 Fixes STJDefaultConverter to safely ignore unknown properties
    • Fixes a bug when using System.Text.Json to deserialize JSON that has properties not present in the target object.

v49.0.0

This release changes the pinned API version to 2025-09-30.clover and contains breaking changes (prefixed with ⚠️ below)

  • #​3168 ⚠️ Add strongly typed EventNotifications
    We've overhauled how V2 Events are handled in the SDK! This approach should provide a lot more information at authoring and compile time, leading to more robust integrations. As part of this process, there are a number of changes to be aware of.

    • Added matching EventNotification classes to every v2 Event. For example, there's now a V1BillingMeterErrorReportTriggeredEventNotification to match the existing V1BillingMeterErrorReportTriggeredEvent. Each notification class defines a fetchEvent() method to retrieve its corresponding event. For events with related objects, there's a fetchRelatedObject() method that performs the API call and casts the response to the correct type.
    • ⚠️ Rename function StripeClient.parseThinEvent to StripeClient.parseEventNotification and remove the Stripe.ThinEvent class.
      • This function now returns a Stripe.V2.Core.EventNotification (which is the shared base class that all of the more specific Stripe..Events.*EventNotification classes share) instead of Stripe.ThinEvent. When applicable, these event notifications will have the relatedObject property and a fetchRelatedObject() function. They also have a fetchEvent() method to retrieve their corresponding Stripe.Event.*Event instance.
      • If you parse an event the SDK doesn't have types for (e.g. it's newer than the SDK you're using), you'll get an instance of Stripe.Events.UnknownEventNotification instead of a more specific type. It has both the relatedObject property and the FetchRelatedObject() function (but they may be/return null)
  • #​3194 Add StripeContext object

    • Add the StripeContext class. Previously, one could only pass a string for StripeContext property of the RequestOptions class. You can now use the new class as well.
    • ⚠️ Change EventNotification (formerly known as ThinEvent)'s context property from string to StripeContext
  • #​3200 Move V2.Event API resources to V2.Core.Events

    • ⚠️ Move all V2 Event-related classes (Event, EventDestination,EventReason etc) from Stripe.V2 to Stripe.V2.Core. They now correctly match their API path and are in line with all other resources. To update your code:
      • Stripe.V2.Event -> Stripe.V2.Core.Event
      • Stripe.V2.EventDestination -> Stripe.V2.Core.EventDestination
      • Stripe.V2.EventReason -> Stripe.V2.Core.EventReason
      • Stripe.V2.EventReasonRequest -> Stripe.V2.Core.EventReasonRequest
      • Stripe.V2.EventRelatedObject -> Stripe.V2.Core.EventRelatedObject
  • #​3206 ⚠️ Drop support for .NET Core 3.1 & clarify policy

    • Read our new language version support policy
      • ⚠️ In this release, we drop support for .NET Core 3.1.
      • Support for .NET Core versions 5 & 7 are deprecated and will be removed in the next major version scheduled for March 2026
  • #​3197 Remove unused obsolete classes SourceTransactionsListOptions and SourceTransactionsGetOptions

    • ⚠️ Removed class SourceTransactionsListOptions in favor of SourceTransactionListOptions
    • ⚠️ Removed unused class SourceTransactionsGetOptions
  • #​3167 ⚠️ Build SDK w/ V2 OpenAPI spec

    • ⚠️ The delete methods for v2 APIs (the ones in the StripeClient.v2 namespace) now return a V2DeletedObject which has the id of the object that has been deleted and a string representing the type of the object that has been deleted.
  • #​3171 Adds ability to specify file name and type when calling FileService.Create

    • ⚠️ Changes FileCreateOptions.File from a Stream to a MultipartFileContent type. This type lets you optionally specify a Name and Type to use when creating the file.
  • #​3174 just format formats entire solution

  • #​3172 Update generated code

    • ⚠️ Changes type of UseStripeSdk in PaymentIntentNextAction and SetupIntentNextAction to be Dictionary<string, object>
    • ⚠️ Removes PaymentIntentNextActionUseStripeSdk and SetupIntentNextActionUseStripeSdk
  • #​3170 Adds public BaseUrl to RawRequestOptions

    • Adds BaseUrl to RawRequestOptions for raw request calls to endpoints at hosts other than api.stripe.com
  • #​3175, #​3190, #​3205 Update generated code based on incoming API changes in the 2025-09-30.clover API version.

    • ⚠️ Remove support for BalanceReport and PayoutReconciliationReport on AccountSession.Components and AccountSessionComponentsOptions
    • ⚠️ Change type of InvoiceSubscriptionDetailsOptions.CancelAt, SubscriptionCreateOptions.CancelAt and SubscriptionUpdateOptions.CancelAt from DateTime to DateTime | enum('max_period_end'|'min_period_end')
    • ⚠️ Remove support for Coupon on Discount, PromotionCodeCreateOptions, and PromotionCode. Use Discount.Source.Coupon, PromotionCodeCreateOptions.Promotion.Coupon, and PromotionCode.Promotion.Coupon instead.
    • ⚠️ Remove support for Link and PayByBank on PaymentMethodUpdateOptions
    • Add support for new resource BalanceSettings
    • Add support for Get and Update methods on resource BalanceSettings
    • Add support for Source on Discount
    • Add support for MbWayPayments on Account.Capabilities and AccountCapabilitiesOptions
    • Add support for TrialUpdateBehavior on BillingPortal.Configuration.Features.SubscriptionUpdate and BillingPortalConfigurationFeaturesSubscriptionUpdateOptions
    • Add support for MbWay on Charge.PaymentMethodDetails, ConfirmationToken.PaymentMethodPreview, ConfirmationTokenPaymentMethodDataOptions, PaymentIntent.PaymentMethodOptions, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentMethodCreateOptions, PaymentMethod, and SetupIntentPaymentMethodDataOptions
    • Add support for BrandingSettings and NameCollection on Checkout.SessionCreateOptions and Checkout.Session
    • Add support for ExcludedPaymentMethodTypes on Checkout.SessionCreateOptions, Checkout.Session, PaymentIntentConfirmOptions, and PaymentIntentUpdateOptions
    • Add support for UnitLabel on CheckoutSessionLineItemPriceDataProductDataOptions, InvoiceLineItemPriceDataProductDataOptions, InvoiceLinePriceDataProductDataOptions, and PaymentLinkLineItemPriceDataProductDataOptions
    • Add support for Alma, Billie, and Satispay on Checkout.Session.PaymentMethodOptions and CheckoutSessionPaymentMethodOptionsOptions
    • Add support for DemoPay on CheckoutSessionPaymentMethodOptionsOptions
    • Add support for CaptureMethod on Checkout.Session.PaymentMethodOptions.Affirm, Checkout.Session.PaymentMethodOptions.AfterpayClearpay, Checkout.Session.PaymentMethodOptions.AmazonPay, Checkout.Session.PaymentMethodOptions.Card, Checkout.Session.PaymentMethodOptions.Cashapp, Checkout.Session.PaymentMethodOptions.Klarna, Checkout.Session.PaymentMethodOptions.Link, Checkout.Session.PaymentMethodOptions.Mobilepay, Checkout.Session.PaymentMethodOptions.RevolutPay, CheckoutSessionPaymentMethodOptionsAffirmOptions, CheckoutSessionPaymentMethodOptionsAfterpayClearpayOptions, CheckoutSessionPaymentMethodOptionsAmazonPayOptions, CheckoutSessionPaymentMethodOptionsCardOptions, CheckoutSessionPaymentMethodOptionsCashappOptions, CheckoutSessionPaymentMethodOptionsKlarnaOptions, CheckoutSessionPaymentMethodOptionsLinkOptions, CheckoutSessionPaymentMethodOptionsMobilepayOptions, and CheckoutSessionPaymentMethodOptionsRevolutPayOptions
    • Add support for Flexible on CheckoutSessionSubscriptionDataBillingModeOptions, InvoiceScheduleDetailsBillingModeOptions, InvoiceSubscriptionDetailsBillingModeOptions, Quote.SubscriptionData.BillingMode, QuoteSubscriptionDataBillingModeOptions, Subscription.BillingMode, SubscriptionBillingModeOptions, SubscriptionSchedule.BillingMode, and SubscriptionScheduleBillingModeOptions
    • Add support for BusinessName and IndividualName on Checkout.Session.CollectedInformation, Checkout.Session.CustomerDetails, CustomerCreateOptions, CustomerUpdateOptions, and Customer
    • Add support for ChargebackLossReasonCode on Dispute.PaymentMethodDetails.Klarna
    • Add support for NetAmount and ProrationDetails on InvoiceItem
    • Remove support for Iterations on InvoiceScheduleDetailsPhaseOptions and SubscriptionSchedulePhaseOptions
    • Add support for FraudDisputabilityLikelihood and RiskAssessment on Issuing.TestHelpersAuthorizationCreateOptions
    • Add support for SecondLine on Issuing.Card
    • Add support for FrMealVoucherConecs on PaymentMethodConfigurationCreateOptions and PaymentMethodConfigurationUpdateOptions
    • Add support for Promotion on PromotionCodeCreateOptions and PromotionCode
    • Add support for Provider on Tax.Settings.Defaults
    • Add support for BbposWisepad3 on Terminal.ConfigurationCreateOptions, Terminal.ConfigurationUpdateOptions, and Terminal.Configuration
    • Add support for AddressKana, AddressKanji, DisplayNameKana, DisplayNameKanji, and Phone on Terminal.LocationCreateOptions, Terminal.LocationUpdateOptions, and Terminal.Location

Configuration

📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the major-update label Dec 8, 2025
@renovate renovate bot requested review from a team and kdenney and removed request for a team December 8, 2025 02:39
@bitwarden-bot bitwarden-bot changed the title [deps] Billing: Update Stripe.net to v50 [PM-29339] [deps] Billing: Update Stripe.net to v50 Dec 8, 2025
@bitwarden-bot
Copy link

Internal tracking:

@renovate renovate bot changed the title [PM-29339] [deps] Billing: Update Stripe.net to v50 [deps] Billing: Update Stripe.net to v50 Dec 8, 2025
@renovate renovate bot force-pushed the renovate/stripe.net-50.x branch from cfd95b1 to c5eea2a Compare December 8, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants