Skip to content

Releases: stripe/stripe-dotnet

v47.2.0-beta.3

12 Dec 22:56
Compare
Choose a tag to compare
v47.2.0-beta.3 Pre-release
Pre-release
  • #3035 Update generated code for beta
    • Add support for AllowRedisplay on Card and Source
    • Remove support for AmountRefunded on PaymentRecord
    • Add support for Account on TerminalReaderActionCollectPaymentMethod, TerminalReaderActionConfirmPaymentIntent, TerminalReaderActionProcessPaymentIntent, and TerminalReaderActionRefundPayment
  • #3033 System.Text.Json Serialization Support in .NET SDK Objects
    • Add System.Text.Json support for serializing Stripe.net entities and objects for applications running on .NET 6 and above. Now you can pass a Stripe.net object or collection of objects to the System.Text.Json serializer and it will produce the correct JSON string.

See the changelog for more details.

v47.2.0-beta.2

05 Dec 21:21
Compare
Choose a tag to compare
v47.2.0-beta.2 Pre-release
Pre-release
  • #3032 Update generated code for beta
    • Add support for AutomaticIndirectTax on AccountCapabilitiesOptions and AccountCapabilities
    • Add support for ReferencePrefix on CheckoutSessionPaymentMethodOptionsBacsDebitMandateOptionsOptions, CheckoutSessionPaymentMethodOptionsBacsDebitMandateOptions, CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptionsOptions, CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptions, OrderPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptionsOptions, OrderPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptions, PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions, PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions, PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions, PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions, SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsOptions, SetupIntentPaymentMethodOptionsBacsDebitMandateOptions, SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsOptions, and SetupIntentPaymentMethodOptionsSepaDebitMandateOptions
    • Add support for DisabledReason on InvoiceAutomaticTax, SubscriptionAutomaticTax, SubscriptionScheduleDefaultSettingsAutomaticTax, and SubscriptionSchedulePhasesAutomaticTax
    • Add support for TrialPeriodDays on PaymentLinkSubscriptionDataOptions

See the changelog for more details.

v47.2.0-beta.1

21 Nov 21:09
Compare
Choose a tag to compare
v47.2.0-beta.1 Pre-release
Pre-release
  • #3031 Update generated code for beta
    • Add support for NetworkAdviceCode and NetworkDeclineCode on ChargeOutcome, InvoiceLastFinalizationError, PaymentIntentLastPaymentError, SetupAttemptSetupError, SetupIntentLastSetupError, and StripeError
    • Add support for Funding on ChargePaymentMethodDetailsAmazonPay and ChargePaymentMethodDetailsRevolutPay
    • Add support for AmountRequested and PartialAuthorization on ChargePaymentMethodDetailsCard
    • Add support for Metadata on CheckoutSessionLineItemsOptions and LineItem
    • Add support for LineItems on Checkout.SessionUpdateOptions, CheckoutSessionPermissionsUpdateOptions, and CheckoutSessionPermissionsUpdate
    • Add support for AdjustableQuantity and Display on LineItem
    • Add support for RequestPartialAuthorization on PaymentIntentPaymentMethodOptionsCardOptions and PaymentIntentPaymentMethodOptionsCard
    • Add support for PaymentMethodOptions on PaymentIntentIncrementAuthorizationOptions

See the changelog for more details.

v47.1.0

20 Nov 23:33
Compare
Choose a tag to compare
  • #3025 This release changes the pinned API version to 2024-11-20.acacia.
    • Add support for Respond test helper method on resource Issuing.Authorization
    • Add support for Authorizer on AccountRelationshipOptions and TokenPersonRelationshipOptions
    • Add support for AdaptivePricing on Checkout.SessionCreateOptions and CheckoutSession
    • Add support for MandateOptions on CheckoutSessionPaymentMethodOptionsBacsDebitOptions, CheckoutSessionPaymentMethodOptionsBacsDebit, CheckoutSessionPaymentMethodOptionsSepaDebitOptions, and CheckoutSessionPaymentMethodOptionsSepaDebit
    • Add support for RequestExtendedAuthorization, RequestIncrementalAuthorization, RequestMulticapture, and RequestOvercapture on CheckoutSessionPaymentMethodOptionsCardOptions and CheckoutSessionPaymentMethodOptionsCard
    • Add support for CaptureMethod on CheckoutSessionPaymentMethodOptionsKakaoPayOptions, CheckoutSessionPaymentMethodOptionsKrCardOptions, CheckoutSessionPaymentMethodOptionsNaverPayOptions, CheckoutSessionPaymentMethodOptionsPaycoOptions, and CheckoutSessionPaymentMethodOptionsSamsungPayOptions
    • Add support for AccountHolderAddress, AccountHolderName, AccountType, and BankAddress on FundingInstructionsBankTransferFinancialAddressesAba, FundingInstructionsBankTransferFinancialAddressesSwift, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesAba, and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSwift
    • Add support for MerchantAmount and MerchantCurrency on Issuing.TestHelpersAuthorizationCreateOptions
    • Add support for FraudChallenges and VerifiedByFraudChallenge on IssuingAuthorization
    • Add support for SubmitType on PaymentLinkUpdateOptions
    • Add support for TraceId on Payout
    • Add support for NetworkDeclineCode on RefundDestinationDetailsBlik and RefundDestinationDetailsSwish
  • #3021 Fix URL encoding of id strings passed to service methods
  • #3026 Fix V2 list options base class
    • Remove StartingAfter and EndingBefore properties from Stripe.V2.EventListOptions and Stripe.V2.EventDestinationListOptions. These properties are not supported on V2 List APIs and would result in a HTTP 400 error if provided.

See the changelog for more details.

v47.1.0-beta.3

15 Nov 00:00
Compare
Choose a tag to compare
v47.1.0-beta.3 Pre-release
Pre-release
  • #3027 Update generated code for beta
    • Add support for AccountHolderAddress and BankAddress on FundingInstructionsBankTransferFinancialAddressesIban, FundingInstructionsBankTransferFinancialAddressesSortCode, FundingInstructionsBankTransferFinancialAddressesSpei, FundingInstructionsBankTransferFinancialAddressesZengin, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesIban, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSortCode, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei, and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesZengin
    • Add support for AccountHolderName on FundingInstructionsBankTransferFinancialAddressesSpei and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei

See the changelog for more details.

v47.1.0-beta.2

07 Nov 22:12
Compare
Choose a tag to compare
v47.1.0-beta.2 Pre-release
Pre-release
  • #3022 Update generated code for beta
    • Add support for new resources Issuing.FraudLiabilityDebit, PaymentAttemptRecord, and PaymentRecord
    • Add support for Get and List methods on resources FraudLiabilityDebit and PaymentAttemptRecord
    • Add support for Get, ReportPaymentAttemptCanceled, ReportPaymentAttemptFailed, ReportPaymentAttemptGuaranteed, ReportPaymentAttempt, and ReportPayment methods on resource PaymentRecord
    • Remove support for MoneyMovement on AccountSessionComponentsFinancialAccountFeaturesOptions
    • Add support for CardManagement, CardSpendDisputeManagement, CardholderManagement, and SpendControlManagement on AccountSessionComponentsIssuingCardFeaturesOptions
    • Add support for DisableStripeUserAuthentication on AccountSessionComponentsIssuingCardsListFeaturesOptions
    • Add support for AdaptivePricing on Checkout.SessionCreateOptions and CheckoutSession
    • Add support for MandateOptions on CheckoutSessionPaymentMethodOptionsBacsDebitOptions, CheckoutSessionPaymentMethodOptionsBacsDebit, CheckoutSessionPaymentMethodOptionsSepaDebitOptions, and CheckoutSessionPaymentMethodOptionsSepaDebit
    • Add support for RequestDecrementalAuthorization, RequestExtendedAuthorization, RequestIncrementalAuthorization, RequestMulticapture, and RequestOvercapture on CheckoutSessionPaymentMethodOptionsCardOptions and CheckoutSessionPaymentMethodOptionsCard
    • Add support for CaptureMethod on CheckoutSessionPaymentMethodOptionsKakaoPayOptions, CheckoutSessionPaymentMethodOptionsKrCardOptions, CheckoutSessionPaymentMethodOptionsNaverPayOptions, CheckoutSessionPaymentMethodOptionsPaycoOptions, and CheckoutSessionPaymentMethodOptionsSamsungPayOptions
    • Add support for AccountHolderAddress, AccountHolderName, AccountType, and BankAddress on FundingInstructionsBankTransferFinancialAddressesAba, FundingInstructionsBankTransferFinancialAddressesSwift, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesAba, and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSwift
    • Add support for PaymentRecordData and PaymentRecord on InvoiceAttachPaymentOptions
    • Remove support for OutOfBandPayment on InvoiceAttachPaymentOptions
    • Add support for AmountOverpaid on Invoice
    • Add support for MerchantAmount and MerchantCurrency on Issuing.TestHelpersAuthorizationCreateOptions
    • Add support for SubmitType on PaymentLinkUpdateOptions

See the changelog for more details.

v47.1.0-beta.1

29 Oct 23:06
Compare
Choose a tag to compare
v47.1.0-beta.1 Pre-release
Pre-release
  • #3018 Update generated code for beta
    • Add support for TriggerAction method on resource PaymentIntent
    • Add support for IdBankTransferPaymentsBca and IdBankTransferPayments on AccountCapabilitiesOptions and AccountCapabilities
    • Add support for BankBcaOnboarding on AccountSettingsOptions and AccountSettings
    • Add support for SendMoney on AccountSessionComponentsRecipientsFeaturesOptions
    • Add support for IdBankTransfer on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, InvoicePaymentSettingsPaymentMethodOptionsOptions, InvoicePaymentSettingsPaymentMethodOptions, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, PaymentMethodConfiguration, PaymentMethodCreateOptions, PaymentMethod, RefundDestinationDetails, SetupAttemptPaymentMethodDetails, SetupIntentPaymentMethodDataOptions, SubscriptionPaymentSettingsPaymentMethodOptionsOptions, and SubscriptionPaymentSettingsPaymentMethodOptions
    • Add support for Gopay, Qris, and Shopeepay on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, and PaymentMethodConfiguration
  • #3011 Do not allow setting API Version directly on StripeConfiguration
    • StripeConfiguration.ApiVersion is no longer settable. If you were using this to set the beta headers, use the helper method StripeConfiguration.AddBetaVersion() instead.

See the changelog for more details.

v47.0.0

29 Oct 21:27
Compare
Choose a tag to compare

Historically, when upgrading webhooks to a new API version, you also had to upgrade your SDK version. Your webhook's API version needed to match the API version pinned by the SDK you were using to ensure successful deserialization of events. With the 2024-09-30.acacia release, Stripe follows a new API release process. As a result, you can safely upgrade your webhook endpoints to any API version within a biannual release (like acacia) without upgrading the SDK.

However, a bug in the 46.x.y SDK releases meant that webhook version upgrades from the SDK's pinned 2024-09-30.acacia version to the new 2024-10-28.acacia version would fail. Therefore, we are shipping SDK support for 2024-10-28.acacia as a major version to enforce the idea that an SDK upgrade is also required. Future API versions in the acacia line will be released as minor versions.

  • #2997 This release changes the pinned API version to 2024-10-28.acacia."
    • Add support for new resource V2.EventDestinations
    • Add support for Create, Get, Update, List, Delete, Disable, Enable and Ping methods on resource V2.EventDestinations
    • Add support for SubmitCard test helper method on resource Issuing.Card
    • Add support for Groups on AccountCreateOptions, AccountUpdateOptions, and Account
    • Add support for AlmaPayments, KakaoPayPayments, KrCardPayments, NaverPayPayments, PaycoPayments, and SamsungPayPayments on AccountCapabilitiesOptions and AccountCapabilities
    • Add support for DisableStripeUserAuthentication on AccountSessionComponentsAccountManagementFeaturesOptions, AccountSessionComponentsAccountManagementFeatures, AccountSessionComponentsAccountOnboardingFeaturesOptions, AccountSessionComponentsAccountOnboardingFeatures, AccountSessionComponentsBalancesFeaturesOptions, AccountSessionComponentsBalancesFeatures, AccountSessionComponentsNotificationBannerFeaturesOptions, AccountSessionComponentsNotificationBannerFeatures, AccountSessionComponentsPayoutsFeaturesOptions, and AccountSessionComponentsPayoutsFeatures
    • 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 KakaoPay and KrCard on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsOptions, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, MandatePaymentMethodDetails, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethod, SetupAttemptPaymentMethodDetails, and SetupIntentPaymentMethodDataOptions
    • Add support for NaverPay on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsOptions, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethodUpdateOptions, PaymentMethod, and SetupIntentPaymentMethodDataOptions
    • Add support for Payco and SamsungPay on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsOptions, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethod, and SetupIntentPaymentMethodDataOptions
    • Add support for EnhancedEvidence on DisputeEvidenceOptions and DisputeEvidence
    • Add support for EnhancedEligibilityTypes on Dispute
    • Add support for EnhancedEligibility on DisputeEvidenceDetails
    • Add support for Metadata on Forwarding.RequestCreateOptions and ForwardingRequest
    • Add support for AutomaticallyFinalizesAt on InvoiceCreateOptions and InvoiceUpdateOptions
    • Add support for AmazonPay on PaymentMethodDomain
    • 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
    • Add support for Pln on TerminalConfigurationTippingOptions and TerminalConfigurationTipping

See the changelog for more details.

v46.2.2

29 Oct 16:39
Compare
Choose a tag to compare
  • #3010 Update webhook API version validation
    • Update webhook event processing to accept events from any API version within the supported major release

See the changelog for more details.

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.