Skip to content

Releases: stripe/stripe-dotnet

v48.3.0-beta.1

28 May 20:40
Compare
Choose a tag to compare
v48.3.0-beta.1 Pre-release
Pre-release

This release changes the pinned API version to 2025-05-28.preview.

  • #3123 Update generated code for beta

    Breaking changes

    • Remove support for deprecated previews
      • Remove support for resources Billing.MeterErrorReport, GiftCards.Card, GiftCards.Transaction, and Privacy.RedactionJobRootObjects
      • Remove support for Create, Get, List, Update, and Validate methods on resource GiftCards.Card
      • Remove support for Cancel, Confirm, Create, Get, List, and Update methods on resource GiftCards.Transaction
      • Remove support for Provisioning on ProductCreateOptions and Product
    • Change type of CheckoutSessionLineItemOptions.Quantity from emptyable(longInteger) to longInteger
    • Change type of InvoiceSubscriptionDetailsOptions.CancelAt, SubscriptionCreateOptions.CancelAt, and SubscriptionUpdateOptions.CancelAt from DateTime to DateTime | enum('max_period_end'|'min_period_end')
    • Remove support for Credits on OrderCreateOptions, OrderUpdateOptions, and Order
    • Remove support for AmountRemaining on Order
    • Remove support for AmountCredit on Order.TotalDetails
    • Remove support for AsyncWorkflows on PaymentIntentCaptureOptions, PaymentIntentConfirmOptions, PaymentIntentCreateOptions, PaymentIntentDecrementAuthorizationOptions, PaymentIntentIncrementAuthorizationOptions, PaymentIntentUpdateOptions, and PaymentIntent
    • Change type of PaymentRecordReportPaymentAttemptCanceledOptions.Metadata, PaymentRecordReportPaymentAttemptFailedOptions.Metadata, PaymentRecordReportPaymentAttemptGuaranteedOptions.Metadata, PaymentRecordReportPaymentAttemptOptions.Metadata, and PaymentRecordReportPaymentOptions.Metadata from map(string: string) to emptyable(map(string: string))
    • Change type of Privacy.RedactionJob.Objects from $Privacy.RedactionJobRootObjects to RedactionResourceRootObjects
    • Change type of Privacy.RedactionJobValidationError.ErroringObject from map(string: string) to RedactionResourceErroringObject
    • Remove support for StatusDetails and Status on Tax.Association
    • Remove support for snapshot event BillingMeterErrorReportTriggered with resource Billing.MeterErrorReport

    Other changes

    • Add support for Migrate method on resource Subscription
    • Add support for Distance, PickupLocationName, ReturnLocationName, and VehicleIdentificationNumber on ChargePaymentDetailsCarRentalOptions, PaymentIntent.PaymentDetails.CarRental, and PaymentIntentPaymentDetailsCarRentalOptions
    • Add support for DriverIdentificationNumber and DriverTaxNumber on ChargePaymentDetailsCarRentalDriverOptions, PaymentIntent.PaymentDetails.CarRental.Driver, and PaymentIntentPaymentDetailsCarRentalDriverOptions
    • Add support for Institution on FinancialConnections.Account
    • Add support for Countries on FinancialConnections.Institution
    • Add support for Location and Reader on PaymentAttemptRecord.PaymentMethodDetails.Affirm, PaymentAttemptRecord.PaymentMethodDetails.WechatPay, PaymentRecord.PaymentMethodDetails.Affirm, and PaymentRecord.PaymentMethodDetails.WechatPay
    • Add support for Hooks on PaymentIntentCaptureOptions, PaymentIntentConfirmOptions, PaymentIntentCreateOptions, PaymentIntentDecrementAuthorizationOptions, PaymentIntentIncrementAuthorizationOptions, PaymentIntentUpdateOptions, and PaymentIntent
    • Add support for CardPresent on PaymentIntentAmountDetailsLineItem.PaymentMethodOptions
    • Add support for Livemode on Privacy.RedactionJob
    • Add support for BillingThresholds on QuotePreviewSubscriptionSchedule.DefaultSettings, QuotePreviewSubscriptionSchedule.Phase.Item, and QuotePreviewSubscriptionSchedule.Phase
    • Add support for BillingModeDetails on Subscription
    • Add support for TaxTransactionAttempts on Tax.Association
    • Add support for ConfirmConfig on Terminal.Reader.Action.ConfirmPaymentIntent and Terminal.ReaderConfirmPaymentIntentOptions

See the changelog for more details.

v48.2.0

28 May 18:57
Compare
Choose a tag to compare

This release changes the pinned API version to 2025-05-28.basil.

  • #3128 Update generated code.
    • Add support for AttachPayment method on resource Invoice
    • Add support for CollectInputs method on resource Terminal.Reader
    • Add support for SucceedInputCollection and TimeoutInputCollection test helper methods on resource Terminal.Reader
    • Add support for PixPayments on Account.Capabilities and AccountCapabilitiesOptions
    • Add support for DisputesList and PaymentDisputes on AccountSession.Components and AccountSessionComponentsOptions
    • Add support for RefundAndDisputePrefunding on Balance
    • Add support for BalanceType on BalanceTransaction
    • Add support for Location and Reader on Charge.PaymentMethodDetails.Affirm and Charge.PaymentMethodDetails.WechatPay
    • Add support for PaymentMethodRemove on CheckoutSessionSavedPaymentMethodOptionsOptions
    • Add support for SetupFutureUsage on Checkout.Session.PaymentMethodOptions.NaverPay
    • Add support for PostPaymentAmount and PrePaymentAmount on CreditNote
    • Add support for Sex, UnparsedPlaceOfBirth, and UnparsedSex on Identity.VerificationReport.Document and Identity.VerificationSession.VerifiedOutputs
    • Add support for BillingThresholds on InvoiceScheduleDetailsPhaseItemOptions, InvoiceScheduleDetailsPhaseOptions, InvoiceSubscriptionDetailsItemOptions, SubscriptionCreateOptions, SubscriptionItemCreateOptions, SubscriptionItemOptions, SubscriptionItemUpdateOptions, SubscriptionItem, SubscriptionSchedule.DefaultSettings, SubscriptionSchedule.Phase.Item, SubscriptionSchedule.Phase, SubscriptionScheduleDefaultSettingsOptions, SubscriptionSchedulePhaseItemOptions, SubscriptionSchedulePhaseOptions, SubscriptionUpdateOptions, and Subscription
    • Add support for Satispay on PaymentIntent.PaymentMethodOptions and PaymentIntentPaymentMethodOptionsOptions
    • Add support for CaptureMethod on PaymentIntent.PaymentMethodOptions.Billie
    • Add support for KakaoPay, KrCard, NaverPay, Payco, and SamsungPay on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, and PaymentMethodConfiguration
    • Add support for NetworkDeclineCode on Refund.DestinationDetails.Paypal
    • Add support for Metadata on Tax.CalculationLineItem and TaxCalculationLineItemOptions
    • Add support for ReturnUrl on Terminal.Reader.Action.ProcessPaymentIntent.ProcessConfig and TerminalReaderProcessConfigOptions
    • Add support for CollectInputs on Terminal.Reader.Action
    • Add support for snapshot event InvoicePaymentPaid with resource InvoicePayment
  • #3124 Adds CONTRIBUTING.md

See the changelog for more details.

v48.2.0-beta.2

30 Apr 21:08
Compare
Choose a tag to compare
v48.2.0-beta.2 Pre-release
Pre-release
  • #3122 Update generated code for beta
    Release specs are identical.

See the changelog for more details.

v48.2.0-beta.1

30 Apr 20:48
Compare
Choose a tag to compare
v48.2.0-beta.1 Pre-release
Pre-release
  • #3107 Update generated code for beta
    This release changes the pinned API version to 2025-04-30.preview.

    • Add support for BillingMode on CheckoutSessionSubscriptionDataOptions, InvoiceScheduleDetailsOptions, InvoiceSubscriptionDetailsOptions, Quote.SubscriptionData, QuotePreviewSubscriptionSchedule, QuoteSubscriptionDataOptions, SubscriptionCreateOptions, SubscriptionScheduleCreateOptions, SubscriptionSchedule, and Subscription
    • Add support for AccountNumber on ConfirmationToken.PaymentMethodPreview.AcssDebit and PaymentMethod.AcssDebit

See the changelog for more details.

v48.1.0

30 Apr 19:14
Compare
Choose a tag to compare

This release changes the pinned API version to 2025-04-30.basil.

  • #3102 Update generated code
    • Add support for MinorityOwnedBusinessDesignation on Account.BusinessProfile and AccountBusinessProfileOptions
    • Add support for RegistrationDate on Account.Company, AccountCompanyOptions, and TokenAccountCompanyOptions
    • Add support for UsCfpbData on AccountCreateOptions, AccountUpdateOptions, Person, and TokenPersonOptions
    • Add support for TaxId on Charge.BillingDetails, ConfirmationToken.PaymentMethodPreview.BillingDetails, ConfirmationTokenPaymentMethodDataBillingDetailsOptions, PaymentIntentPaymentMethodDataBillingDetailsOptions, PaymentMethod.BillingDetails, PaymentMethodBillingDetailsOptions, and SetupIntentPaymentMethodDataBillingDetailsOptions
    • Add support for WalletOptions on Checkout.SessionCreateOptions and Checkout.Session
    • Add support for Provider on Checkout.Session.AutomaticTax, Invoice.AutomaticTax, and Quote.AutomaticTax
    • Add support for PaymentMethodOptions on TestHelpersConfirmationTokenCreateOptions
    • Add support for Installments on ConfirmationToken.PaymentMethodOptions.Card
    • Add support for Context on Event
    • Add support for Billie on PaymentIntent.PaymentMethodOptions and PaymentIntentPaymentMethodOptionsOptions
    • Add support for Pix on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, and PaymentMethodConfiguration
    • Add support for Klarna on PaymentMethodDomain
    • Add support for PendingReason on Refund
    • Add support for Aw, Az, Bd, Bf, Bj, Cm, Cv, Et, In, Kg, La, and Ph on Tax.Registration.CountryOptions and TaxRegistrationCountryOptionsOptions

See the changelog for more details.

v48.1.0-beta.4

17 Apr 21:36
Compare
Choose a tag to compare
v48.1.0-beta.4 Pre-release
Pre-release
  • #3099 Update generated code for beta
    • Add support for new resources FxQuote and PaymentIntentAmountDetailsLineItem
    • Add support for Create, Get, and List methods on resource FxQuote
    • Remove support for AttachPaymentIntent method on resource Invoice
    • Add support for RegistrationDate on AccountCompanyOptions, AccountCompany, and TokenAccountCompanyOptions
    • Add support for CustomerReference and OrderReference on ChargePaymentDetailsOptions, PaymentIntentPaymentDetailsOptions, and PaymentIntentPaymentDetails
    • Add support for TaxId on ChargeBillingDetails, ConfirmationTokenPaymentMethodDataBillingDetailsOptions, ConfirmationTokenPaymentMethodPreviewBillingDetails, PaymentIntentPaymentMethodDataBillingDetailsOptions, PaymentMethodBillingDetailsOptions, PaymentMethodBillingDetails, SetupIntentPaymentMethodDataBillingDetailsOptions, and TreasuryOutboundPaymentDestinationPaymentMethodDataBillingDetailsOptions
    • Add support for PriceData on CheckoutSessionLineItemsOptions
    • Change type of CheckoutSessionLineItemsOptions.Quantity from longInteger to emptyable(longInteger)
    • Add support for Script on CouponCreateOptions and Coupon
    • Add support for Type on Coupon
    • Add support for FxQuote on PaymentIntentConfirmOptions, PaymentIntentCreateOptions, PaymentIntentUpdateOptions, PaymentIntent, TransferCreateOptions, and Transfer
    • Add support for DiscountAmount, LineItems, Shipping, and Tax on PaymentIntentAmountDetails
    • Add support for Pix on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, and PaymentMethodConfiguration
    • Add support for UsCfpbData on Person and TokenPersonOptions
    • Add support for PendingReason on Refund
    • Add support for Aw, Az, Bd, Bj, Et, Kg, La, and Ph on TaxRegistrationCountryOptionsOptions and TaxRegistrationCountryOptions
    • Add support for snapshot event FxQuoteExpired with resource FxQuote

See the changelog for more details.

v48.0.2

15 Apr 18:00
Compare
Choose a tag to compare
  • #3101 Replace Dictionary with ConcurrentDictionary in SerializablePropertyCache to fix a concurrency related error reported in #3100

See the changelog for more details.

v48.0.1

14 Apr 23:37
Compare
Choose a tag to compare
  • #3090 Disable Json.NET metadata special handling. Fixes issue #3068

See the changelog for more details.

v48.1.0-beta.3

10 Apr 19:27
Compare
Choose a tag to compare
v48.1.0-beta.3 Pre-release
Pre-release
  • #3094 Update generated code for beta
    • Add support for new resources Privacy.RedactionJobRootObjects, Privacy.RedactionJobValidationError, and Privacy.RedactionJob
    • Add support for Cancel, Create, Get, List, Run, Update, and Validate methods on resource RedactionJob
    • Add support for Get and List methods on resource RedactionJobValidationError
    • Add support for MinorityOwnedBusinessDesignation on AccountBusinessProfileOptions and AccountBusinessProfile
    • Add support for ExportTaxTransactions and PaymentDisputes on AccountSessionComponentsOptions
    • Add support for WalletOptions on Checkout.SessionCreateOptions and CheckoutSession
    • Add support for Klarna on PaymentMethodDomain
    • Add support for In on TaxRegistrationCountryOptionsOptions and TaxRegistrationCountryOptions
  • #3092 Handle ExternalAccount field in ExternalAccountCreateOptions
    • Changes ExternalAccount property in ExternalAccountCreateOptions from a string to a union type.

See the changelog for more details.

v48.1.0-beta.2

02 Apr 23:27
Compare
Choose a tag to compare
v48.1.0-beta.2 Pre-release
Pre-release
  • Re-releasing 48.1.0-beta.1 as it had publishing issues

See the changelog for more details.