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.
Changelog
40.0.0 - 2022-08-01
Major version release for API version 2022-08-01. Default API version changed to "2022-08-01".
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-dotnet/wiki/Migration-guide-for-v40. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
"⚠️ " symbol highlights breaking changes.
Added
RefundAccountHolderName
,RefundAccountHolderType
, andRefundRoutingNumber
properties toSourceAchCreditTransfer
entity.DataString
,NativeUrl
, andStatementDescriptor
properties toSourceAlipay
entity.Description
,Iin
, andIssuer
properties toSourceCard
andSourceCardPresent
entities.Reference
andStatementDescriptor
properties toSourceEps
entity.StatementDescriptor
property toSourceBancontact
,SourceGiropay
,SourceIdeal
, andSourceSofort
entities.RefundAccountHolderAddressCity
,RefundAccountHolderAddressCountry
,RefundAccountHolderAddressLine1
,RefundAccountHolderAddressLine2
,RefundAccountHolderAddressPostalCode
,RefundAccountHolderAddressState
,RefundAccountHolderName
andRefundIban
properties toSourceMultibanco
andSourceSepaCreditTransfer
entities.Name
property toSourceThreeDSecure
entity.BalanceDetails
toBalanceIssuing
. Rename type ofBalance.Issuing
property.Application
property inBillingPortal.Configuration
entity to be expandable.Delinquent
property inCustomer
entity to be nullable.Amount
property inDispute
andPaymentIntentAmountDetailsTip
entities to be non-nullable. The field is required.Start
andEnd
property inInvoiceItemPeriod
andInvoiceLineItemPeriod
entities toDateTime
.AmountSubtotal
andAmountTotal
properties inLineItem
entity to be non-nullable. The fields are required.Director
,Executive
,Owner
, andRepresentative
properties inPersonRelationship
to be nullable.Location
property inReader
andTerminal.Reader
entities to be expandable.ExpMonth
andExpYear
properties inExternalAccountUpdateOptions
andTokenCardOptions
tostring
.StartDate
property inSubscriptionSchedulePhaseOptions
to union of date and string. This supports"now"
as a valid value.Timestamp
property inUsageRecordCreateOptions
to union of date and string. This supports"now"
as a valid value.CustomerPaymentSettingsOptions
,CustomerPaymentSettingsPaymentMethodOptionsBancontactOptions
,CustomerPaymentSettingsPaymentMethodOptionsCardOptions
, andCustomerPaymentSettingsPaymentMethodOptionsOptions
.IncorporationArticle
,IncorporationDocument
,PaymentProviderTransfer
, andProductFeed
fromFilePurpose
constants. The values are no longer in use.DefaultSourceType
property fromCustomer
entity. The field was undocumented and unsupported.AssociatedObjects
array property fromEphemeralKey
entity. The field was undocumented and unsupported.EphemeralKeyAssociatedObject
entity.Quantity
andTrialEnd
properties inCustomerCreateOptions
. The fields are not supported in the operation.TrialEnd
property inCustomerUpdateOptions
. The property was not supported in the operation.Order
andOrderItem
resources and APIs as those have been deprecated for multiple years.OrderPaymentSucceeded
,OrderUpdated
, andOrderReturnCreated
event constants. These events are deprecated.Order
andOrderId
properties inCharge
entity. The property was deprecated.QuoteFinalizeQuoteOptions
. The options weren't used anymore.RedirectUrl
fromLoginLinkCreateOptions
. The property was deprecated.