This release changes the pinned API version to 2025-09-30.clover
and contains breaking changes (prefixed with
-
#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 v2Event
. For example, there's now aV1BillingMeterErrorReportTriggeredEventNotification
to match the existingV1BillingMeterErrorReportTriggeredEvent
. Each notification class defines afetchEvent()
method to retrieve its corresponding event. For events with related objects, there's afetchRelatedObject()
method that performs the API call and casts the response to the correct type. ⚠️ Rename functionStripeClient.parseThinEvent
toStripeClient.parseEventNotification
and remove theStripe.ThinEvent
class.- This function now returns a
Stripe.V2.Core.EventNotification
(which is the shared base class that all of the more specificStripe..Events.*EventNotification
classes share) instead ofStripe.ThinEvent
. When applicable, these event notifications will have therelatedObject
property and afetchRelatedObject()
function. They also have afetchEvent()
method to retrieve their correspondingStripe.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 therelatedObject
property and theFetchRelatedObject()
function (but they may be/returnnull
)
- This function now returns a
- Added matching
-
#3194 Add
StripeContext
object- Add the
StripeContext
class. Previously, one could only pass a string forStripeContext
property of theRequestOptions
class. You can now use the new class as well. ⚠️ ChangeEventNotification
(formerly known asThinEvent
)'scontext
property fromstring
toStripeContext
- Add the
-
#3200 Move
V2.Event
API resources toV2.Core.Events
⚠️ Move all V2 Event-related classes (Event
,EventDestination
,EventReason
etc) fromStripe.V2
toStripe.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
- Read our new language version support policy
-
#3197 Remove unused obsolete classes SourceTransactionsListOptions and SourceTransactionsGetOptions
⚠️ Removed classSourceTransactionsListOptions
in favor ofSourceTransactionListOptions
⚠️ Removed unused classSourceTransactionsGetOptions
-
#3167
⚠️ Build SDK w/ V2 OpenAPI spec⚠️ The delete methods for v2 APIs (the ones in theStripeClient.v2
namespace) now return aV2DeletedObject
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
⚠️ ChangesFileCreateOptions
.File
from aStream
to aMultipartFileContent
type. This type lets you optionally specify aName
andType
to use when creating the file.
-
#3174
just format
formats entire solution -
#3172 Update generated code
⚠️ Changes type ofUseStripeSdk
inPaymentIntentNextAction
andSetupIntentNextAction
to beDictionary<string, object>
⚠️ RemovesPaymentIntentNextActionUseStripeSdk
andSetupIntentNextActionUseStripeSdk
-
#3170 Adds public BaseUrl to RawRequestOptions
- Adds
BaseUrl
toRawRequestOptions
for raw request calls to endpoints at hosts other thanapi.stripe.com
- Adds
-
#3175, #3190, #3205 Update generated code based on incoming API changes in the
2025-09-30.clover
API version.⚠️ Remove support forBalanceReport
andPayoutReconciliationReport
onAccountSession.Components
andAccountSessionComponentsOptions
⚠️ Change type ofInvoiceSubscriptionDetailsOptions.CancelAt
,SubscriptionCreateOptions.CancelAt
andSubscriptionUpdateOptions.CancelAt
fromDateTime
toDateTime | enum('max_period_end'|'min_period_end')
⚠️ Remove support forCoupon
onDiscount
,PromotionCodeCreateOptions
, andPromotionCode
. UseDiscount.Source.Coupon
,PromotionCodeCreateOptions.Promotion.Coupon
, andPromotionCode.Promotion.Coupon
instead.⚠️ Remove support forLink
andPayByBank
onPaymentMethodUpdateOptions
- Add support for new resource
BalanceSettings
- Add support for
Get
andUpdate
methods on resourceBalanceSettings
- Add support for
Source
onDiscount
- Add support for
MbWayPayments
onAccount.Capabilities
andAccountCapabilitiesOptions
- Add support for
TrialUpdateBehavior
onBillingPortal.Configuration.Features.SubscriptionUpdate
andBillingPortalConfigurationFeaturesSubscriptionUpdateOptions
- Add support for
MbWay
onCharge.PaymentMethodDetails
,ConfirmationToken.PaymentMethodPreview
,ConfirmationTokenPaymentMethodDataOptions
,PaymentIntent.PaymentMethodOptions
,PaymentIntentPaymentMethodDataOptions
,PaymentIntentPaymentMethodOptionsOptions
,PaymentMethodCreateOptions
,PaymentMethod
, andSetupIntentPaymentMethodDataOptions
- Add support for
BrandingSettings
andNameCollection
onCheckout.SessionCreateOptions
andCheckout.Session
- Add support for
ExcludedPaymentMethodTypes
onCheckout.SessionCreateOptions
,Checkout.Session
,PaymentIntentConfirmOptions
, andPaymentIntentUpdateOptions
- Add support for
UnitLabel
onCheckoutSessionLineItemPriceDataProductDataOptions
,InvoiceLineItemPriceDataProductDataOptions
,InvoiceLinePriceDataProductDataOptions
, andPaymentLinkLineItemPriceDataProductDataOptions
- Add support for
Alma
,Billie
, andSatispay
onCheckout.Session.PaymentMethodOptions
andCheckoutSessionPaymentMethodOptionsOptions
- Add support for
DemoPay
onCheckoutSessionPaymentMethodOptionsOptions
- Add support for
CaptureMethod
onCheckout.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
, andCheckoutSessionPaymentMethodOptionsRevolutPayOptions
- Add support for
Flexible
onCheckoutSessionSubscriptionDataBillingModeOptions
,InvoiceScheduleDetailsBillingModeOptions
,InvoiceSubscriptionDetailsBillingModeOptions
,Quote.SubscriptionData.BillingMode
,QuoteSubscriptionDataBillingModeOptions
,Subscription.BillingMode
,SubscriptionBillingModeOptions
,SubscriptionSchedule.BillingMode
, andSubscriptionScheduleBillingModeOptions
- Add support for
BusinessName
andIndividualName
onCheckout.Session.CollectedInformation
,Checkout.Session.CustomerDetails
,CustomerCreateOptions
,CustomerUpdateOptions
, andCustomer
- Add support for
ChargebackLossReasonCode
onDispute.PaymentMethodDetails.Klarna
- Add support for
NetAmount
andProrationDetails
onInvoiceItem
- Remove support for
Iterations
onInvoiceScheduleDetailsPhaseOptions
andSubscriptionSchedulePhaseOptions
- Add support for
FraudDisputabilityLikelihood
andRiskAssessment
onIssuing.TestHelpersAuthorizationCreateOptions
- Add support for
SecondLine
onIssuing.Card
- Add support for
FrMealVoucherConecs
onPaymentMethodConfigurationCreateOptions
andPaymentMethodConfigurationUpdateOptions
- Add support for
Promotion
onPromotionCodeCreateOptions
andPromotionCode
- Add support for
Provider
onTax.Settings.Defaults
- Add support for
BbposWisepad3
onTerminal.ConfigurationCreateOptions
,Terminal.ConfigurationUpdateOptions
, andTerminal.Configuration
- Add support for
AddressKana
,AddressKanji
,DisplayNameKana
,DisplayNameKanji
, andPhone
onTerminal.LocationCreateOptions
,Terminal.LocationUpdateOptions
, andTerminal.Location