Skip to content

Releases: stripe/stripe-dotnet

v46.2.0-beta.3

08 Oct 21:06
Compare
Choose a tag to compare
v46.2.0-beta.3 Pre-release
Pre-release
  • #2975 Update generated code for beta
    • Add support for SubmitCard test helper method on resource Issuing.Card
    • Add support for Groups on AccountCreateOptions, AccountUpdateOptions, and Account
    • Add support for DisableStripeUserAuthentication on AccountSessionComponentsAccountManagementFeaturesOptions, AccountSessionComponentsAccountManagementFeatures, AccountSessionComponentsAccountOnboardingFeaturesOptions, AccountSessionComponentsAccountOnboardingFeatures, AccountSessionComponentsBalancesFeaturesOptions, AccountSessionComponentsBalancesFeatures, AccountSessionComponentsFinancialAccountFeaturesOptions, AccountSessionComponentsNotificationBannerFeaturesOptions, AccountSessionComponentsNotificationBannerFeatures, AccountSessionComponentsPayoutsFeaturesOptions, and AccountSessionComponentsPayoutsFeatures
    • Add support for CardSpendDisputeManagement and SpendControlManagement on AccountSessionComponentsIssuingCardsListFeaturesOptions
    • Add support for KakaoPay and KrCard on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, MandatePaymentMethodDetails, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethod, SetupAttemptPaymentMethodDetails, and SetupIntentPaymentMethodDataOptions
    • Add support for NaverPay on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethodUpdateOptions, PaymentMethod, and SetupIntentPaymentMethodDataOptions
    • Add support for Payco and SamsungPay on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethod, and SetupIntentPaymentMethodDataOptions
    • Add support for Metadata on ForwardingRequest
    • Add support for LineItems on OrderPaymentSettingsPaymentMethodOptionsPaypalOptions, OrderPaymentSettingsPaymentMethodOptionsPaypal, PaymentIntentPaymentMethodOptionsPaypalOptions, and PaymentIntentPaymentMethodOptionsPaypal
    • Add support for FlatAmount and RateType on TaxCalculationTaxBreakdownTaxRateDetails and TaxRate
    • Add support for By, Cr, Ec, Ma, Md, Rs, Ru, Tz, and Uz on TaxRegistrationCountryOptionsOptions and TaxRegistrationCountryOptions

See the changelog for more details.

v46.2.0-beta.2

08 Oct 19:23
Compare
Choose a tag to compare
v46.2.0-beta.2 Pre-release
Pre-release
  • #2975 Update generated code for beta
    • Add support for SubmitCard test helper method on resource Issuing.Card
    • Add support for Groups on AccountCreateOptions, AccountUpdateOptions, and Account
    • Add support for DisableStripeUserAuthentication on AccountSessionComponentsAccountManagementFeaturesOptions, AccountSessionComponentsAccountManagementFeatures, AccountSessionComponentsAccountOnboardingFeaturesOptions, AccountSessionComponentsAccountOnboardingFeatures, AccountSessionComponentsBalancesFeaturesOptions, AccountSessionComponentsBalancesFeatures, AccountSessionComponentsFinancialAccountFeaturesOptions, AccountSessionComponentsNotificationBannerFeaturesOptions, AccountSessionComponentsNotificationBannerFeatures, AccountSessionComponentsPayoutsFeaturesOptions, and AccountSessionComponentsPayoutsFeatures
    • Add support for CardSpendDisputeManagement and SpendControlManagement on AccountSessionComponentsIssuingCardsListFeaturesOptions
    • Add support for KakaoPay and KrCard on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, MandatePaymentMethodDetails, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethod, SetupAttemptPaymentMethodDetails, and SetupIntentPaymentMethodDataOptions
    • Add support for NaverPay on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethodUpdateOptions, PaymentMethod, and SetupIntentPaymentMethodDataOptions
    • Add support for Payco and SamsungPay on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethod, and SetupIntentPaymentMethodDataOptions
    • Add support for Metadata on ForwardingRequest
    • Add support for LineItems on OrderPaymentSettingsPaymentMethodOptionsPaypalOptions, OrderPaymentSettingsPaymentMethodOptionsPaypal, PaymentIntentPaymentMethodOptionsPaypalOptions, and PaymentIntentPaymentMethodOptionsPaypal
    • Add support for FlatAmount and RateType on TaxCalculationTaxBreakdownTaxRateDetails and TaxRate
    • Add support for By, Cr, Ec, Ma, Md, Rs, Ru, Tz, and Uz on TaxRegistrationCountryOptionsOptions and TaxRegistrationCountryOptions

See the changelog for more details.

v46.2.0-beta.1

03 Oct 23:51
Compare
Choose a tag to compare
v46.2.0-beta.1 Pre-release
Pre-release
  • #2991 Updates beta branch with changes in master and update generated code
    • Add support for ReportingChart on AccountSessionComponentsOptions
    • Remove support for FromSchedule on QuoteSubscriptionData
    • Add support for AllowRedisplay on TerminalReaderCollectConfigOptions

See the changelog for more details.

v46.1.0

03 Oct 22:52
Compare
Choose a tag to compare
  • #2995 Update the class for ThinEvent to include Livemode and Reason
  • #2992 Remove special case Newtonsoft v12 for .net8.0
  • #2993 Update generated code
    • Remove the support for resource Margin that was accidentally made public in the last release

See the changelog for more details.

v46.0.0

01 Oct 18:33
Compare
Choose a tag to compare
  • #2980 Support for APIs in the new API version 2024-09-30.acacia

    This release changes the pinned API version to 2024-09-30.acacia. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    ⚠️ Breaking changes due to changes in the API

    • Rename UsageThresholdConfig to UsageThreshold on Billing.Alert and Billing.AlertCreateOptions
    • Remove support for Filter on Billing.Alert and BillingAlert.AlertCreateOptions . Use the filters on the UsageThreshold instead
    • Remove support for CustomerConsentCollected on Terminal.ReaderProcessSetupIntentOptions

    ⚠️ Other Breaking changes in the SDK

    Refer to our migration guide for v46 for a list of backwards incompatible changes in this release. Here is a summary of things to watch out for:

    Additions

    • Add support for UsageThreshold on Billing.AlertCreateOptions and BillingAlert
    • Add support for CustomUnitAmount on ProductDefaultPriceDataOptions
    • Add support for AllowRedisplay on Terminal.ReaderProcessSetupIntentOptions and TerminalReaderProcessConfigOptions
    • Add support for new Usage Billing APIs Billing.MeterEvent, Billing.MeterEventAdjustments, Billing.MeterEventSession, Billing.MeterEventStream and the new Events API Core.Events under the v2 namespace
    • Add method ParseThinEvent() on the StripeClient class to parse thin events.
    • Add methods RawRequestAsync() on the StripeClient class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.
    • Add access to services to StripeClient under V1 and V2 property accessors, so that instead of
      StripeConfiguration.ApiKey = apiKey;
      var svc = new CustomerService();
      svc.Get(customerId);

    you can write:

    var client = new StripeClient(apiKey);
    client.V1.Customers.Get(customerId)

    This supports a move towards a services-based client pattern where a StripeClient instance consolidates configuration and service access. This enables you simultaneously use multiple clients with different configuration options (such as API keys), and makes it much easier to discover what services are available by inspecting the V1 and V2 properties (either manually or via your code editors auto-completion).

See the changelog for more details.

v45.15.0-beta.1

18 Sep 21:51
Compare
Choose a tag to compare
v45.15.0-beta.1 Pre-release
Pre-release
  • #2973 Update generated code for beta
    • Remove support for resource QuotePhase
    • Remove support for Get and ListLineItems methods on resource QuotePhase
    • Add support for SendMoney and TransferBalance on AccountSessionComponentsFinancialAccountFeaturesOptions

See the changelog for more details.

v45.14.0

18 Sep 18:40
Compare
Choose a tag to compare
  • #2969 Update generated code
    • Add support for PayerDetails on ChargePaymentMethodDetailsKlarna
    • Add support for AmazonPay on DisputePaymentMethodDetails
    • Add support for AutomaticallyFinalizesAt on Invoice
    • Add support for StateSalesTax on TaxRegistrationCountryOptionsUsOptions and TaxRegistrationCountryOptionsUs

See the changelog for more details.

v45.13.0

13 Sep 19:01
Compare
Choose a tag to compare
  • #2962 Update generated code
    • Add support for new resource InvoiceRenderingTemplate
    • Add support for Archive, Get, List, and Unarchive methods on resource InvoiceRenderingTemplate
    • Add support for Required on CheckoutSessionTaxIdCollectionOptions, CheckoutSessionTaxIdCollection, PaymentLinkTaxIdCollectionOptions, and PaymentLinkTaxIdCollection
    • Add support for Template on CustomerInvoiceSettingsRenderingOptionsOptions, CustomerInvoiceSettingsRenderingOptions, InvoiceRenderingOptions, and InvoiceRendering
    • Add support for TemplateVersion on InvoiceRenderingOptions and InvoiceRendering

See the changelog for more details.

v45.13.0-beta.1

13 Sep 17:55
Compare
Choose a tag to compare
v45.13.0-beta.1 Pre-release
Pre-release
  • #2961 Update generated code for beta
    • Add support for new resources Issuing.DisputeSettlementDetail and Issuing.Settlement
    • Add support for Get and List methods on resource DisputeSettlementDetail
    • Remove support for List method on resource QuotePhase
    • Add support for Settlement on Issuing.TransactionListOptions and IssuingTransaction

See the changelog for more details.

v45.12.0

13 Sep 17:54
Compare
Choose a tag to compare
  • #2965 Stop using deprecated versions of actions
  • #2968 Update upload artifact version in GH actions
  • #2963 Add .editorconfig file with minimal change to align with StypeCopAnalyzer

See the changelog for more details.