Skip to content

Releases: stripe/stripe-dotnet

v46.3.0-beta.1

18 Oct 19:02
Compare
Choose a tag to compare
v46.3.0-beta.1 Pre-release
Pre-release
  • #3000 Update generated code for beta
    • Add support for AlmaPayments, GopayPayments, KakaoPayPayments, KrCardPayments, NaverPayPayments, PaycoPayments, QrisPayments, SamsungPayPayments, ShopeepayPayments, TreasuryEvolve, TreasuryFifthThird, and TreasuryGoldmanSachs on AccountCapabilitiesOptions and AccountCapabilities
    • Add support for ScheduleAtPeriodEnd on BillingPortalConfigurationFeaturesSubscriptionUpdateOptions and BillingPortalConfigurationFeaturesSubscriptionUpdate
    • Add support for Alma on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, PaymentMethodConfiguration, PaymentMethodCreateOptions, PaymentMethod, RefundDestinationDetails, and SetupIntentPaymentMethodDataOptions
    • Add support for Gopay, Qris, and Shopeepay on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethod, and SetupIntentPaymentMethodDataOptions
    • Add support for Metadata on Forwarding.RequestCreateOptions
    • Add support for AmazonPay on PaymentMethodDomain
    • Add support for ExternalReference on TaxFormPayeeOptions and TaxFormPayee
    • Change type of TaxFormPayeeTypeOptions and TaxFormPayeeType from literal('account') to enum('account'|'external_reference')
    • Add support for AuSerr, CaMrdp, EuDac7, GbMrdp, and NzMrdp on TaxForm
    • Add support for Pln on TerminalConfigurationTippingOptions and TerminalConfigurationTipping
    • Add support for Bank on TreasuryFinancialAccountFeaturesFinancialAddressesAbaOptions, TreasuryFinancialAccountFeaturesFinancialAddressesAba, and TreasuryFinancialAccountFinancialAddressesAbaOptions
  • #3004 Ramya/merge dotnet beta

See the changelog for more details.

v46.2.1

18 Oct 18:42
Compare
Choose a tag to compare
  • #3008 update object tags for meter-related classes

    • fixes a bug where the object property of the MeterEvent, MeterEventAdjustment, and MeterEventSession didn't match the server.
  • #3007 Fixes ApiRequestorAdapter requests with BaseAddress other than Api

    • fixes bug where OAuthTokenService created without an explicit StripeClient accesses the wrong base url
  • #3003 Cleaned up examples and added documentation

See the changelog for more details.

v46.2.0

09 Oct 21:57
Compare
Choose a tag to compare
  • #3002 Add ConfigureAwait calls to async calls that are awaited
    • Fixes issue #2998 that was introduced in v46

See the changelog for more details.

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.