Stripe.Net v40.0.0 Release Notes
Release Date: 2022-08-02 // over 1 year ago-
🚀 This release includes breaking changes resulting from:
- ⬆️ Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-08-01
- 🔀 Cleaning up the SDK to remove deprecated/unused APIs and rename classes/methods/properties to sync with product APIs. Read more detailed description at https://github.com/stripe/stripe-dotnet/wiki/Migration-guide-for-v40.
"⚠️" symbol highlights breaking changes.
➕ Added
- ➕ Add
RefundAccountHolderName
,RefundAccountHolderType
, andRefundRoutingNumber
properties toSourceAchCreditTransfer
entity. - ➕ Add
DataString
,NativeUrl
, andStatementDescriptor
properties toSourceAlipay
entity. - ➕ Add
Description
,Iin
, andIssuer
properties toSourceCard
andSourceCardPresent
entities. - ➕ Add
Reference
andStatementDescriptor
properties toSourceEps
entity. - ➕ Add
StatementDescriptor
property toSourceBancontact
,SourceGiropay
,SourceIdeal
, andSourceSofort
entities. - ➕ Add
RefundAccountHolderAddressCity
,RefundAccountHolderAddressCountry
,RefundAccountHolderAddressLine1
,RefundAccountHolderAddressLine2
,RefundAccountHolderAddressPostalCode
,RefundAccountHolderAddressState
,RefundAccountHolderName
andRefundIban
properties toSourceMultibanco
andSourceSepaCreditTransfer
entities. - ➕ Add
Name
property toSourceThreeDSecure
entity. - ➕ Add support for
ShippingCost
andShippingDetails
onCheckoutSession
⚠️ Changed
- 📇 Rename
BalanceDetails
toBalanceIssuing
. Rename type ofBalance.Issuing
property. - 🔄 Change
Application
property inBillingPortal.Configuration
entity to be expandable. - 🔄 Change
Delinquent
property inCustomer
entity to be nullable. - 🔄 Change
Amount
property inDispute
andPaymentIntentAmountDetailsTip
entities to be non-nullable. The field is required. - 🔄 Change type of
Start
andEnd
property inInvoiceItemPeriod
andInvoiceLineItemPeriod
entities toDateTime
. - 🔄 Change
AmountSubtotal
andAmountTotal
properties inLineItem
entity to be non-nullable. The fields are required. - 🔄 Change
Director
,Executive
,Owner
, andRepresentative
properties inPersonRelationship
to be nullable. - 🔄 Change
Location
property inReader
andTerminal.Reader
entities to be expandable. - ⚡️ Change type of
ExpMonth
andExpYear
properties inExternalAccountUpdateOptions
andTokenCardOptions
tostring
. - 🔄 Change type of
StartDate
property inSubscriptionSchedulePhaseOptions
to union of date and string. This supports"now"
as a valid value. - 🔄 Change type of
Timestamp
property inUsageRecordCreateOptions
to union of date and string. This supports"now"
as a valid value.
🚚 ⚠️ Removed
- ✂ Remove
CustomerPaymentSettingsOptions
,CustomerPaymentSettingsPaymentMethodOptionsBancontactOptions
,CustomerPaymentSettingsPaymentMethodOptionsCardOptions
, andCustomerPaymentSettingsPaymentMethodOptionsOptions
. - ✂ Remove
IncorporationArticle
,IncorporationDocument
,PaymentProviderTransfer
, andProductFeed
fromFilePurpose
constants. The values are no longer in use. - ✂ Remove
DefaultSourceType
property fromCustomer
entity. The field was undocumented and unsupported. - ✂ Remove
AssociatedObjects
array property fromEphemeralKey
entity. The field was undocumented and unsupported. - ✂ Remove
EphemeralKeyAssociatedObject
entity. - ✂ Remove
Quantity
andTrialEnd
properties inCustomerCreateOptions
. The fields are not supported in the operation. - ✂ Remove
TrialEnd
property inCustomerUpdateOptions
. The property was not supported in the operation. - ✂ Remove
Order
andOrderItem
resources and APIs as those have been deprecated for multiple years.- Remove
OrderPaymentSucceeded
,OrderUpdated
, andOrderReturnCreated
event constants. These events are deprecated. - Remove
Order
andOrderId
properties inCharge
entity. The property was deprecated.
- Remove
- ✂ Remove
QuoteFinalizeQuoteOptions
. The options weren't used anymore. - ✂ Remove
RedirectUrl
fromLoginLinkCreateOptions
. The property was deprecated.