Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency Stripe.net to v47 #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 30, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Stripe.net 21.9.0 -> 47.1.0 age adoption passing confidence

Release Notes

stripe/stripe-dotnet (Stripe.net)

v47.1.0

  • #​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.

v47.0.0

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

v46.2.2

  • #​3010 Update webhook API version validation
    • Update webhook event processing to accept events from any API version within the supported major release

v46.2.1

  • #​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

v46.2.0

  • #​3002 Add ConfigureAwait calls to async calls that are awaited
    • Fixes issue #​2998 that was introduced in v46

v46.1.0

  • #​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

v46.0.0

  • #​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).

v45.14.0

  • #​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

v45.13.0

  • #​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

v45.12.0

  • #​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

v45.11.0

  • #​2952 Update generated code
    • Add support for SubscriptionItem and Subscription on BillingAlertFilterOptions

v45.10.0

  • #​2957 Generate SDK for OpenAPI spec version 1230
    • Add support for StatusDetails on TestHelpersTestClock
    • Added new const IssuingRegulatoryReporting with value issuing_regulatory_reporting to be used as a FilePurpose

v45.9.0

  • #​2955 urlencode ids in url paths
    • id strings passed to service methods (like PaymentMethodService.Get("...")) are now correctly URL Encoded. This is an important update if you pass user inupt into any of those methods

v45.8.0

  • #​2949 Update generated code
    • Add support for AuthorizationCode on ChargePaymentMethodDetailsCard
    • Add support for Wallet on ChargePaymentMethodDetailsCardPresent, ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent, ConfirmationTokenPaymentMethodPreviewCardPresent, PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent, and PaymentMethodCardPresent
    • Add support for MandateOptions on PaymentIntentPaymentMethodOptionsBacsDebitOptions and PaymentIntentPaymentMethodOptionsBacsDebit
    • Add support for BacsDebit on SetupIntentPaymentMethodOptionsOptions and SetupIntentPaymentMethodOptions
    • Add support for Chips on TreasuryOutboundPaymentTrackingDetailsUsDomesticWireOptions, TreasuryOutboundPaymentTrackingDetailsUsDomesticWire, TreasuryOutboundTransferTrackingDetailsUsDomesticWireOptions, and TreasuryOutboundTransferTrackingDetailsUsDomesticWire
  • #​2950 Update beta readme to not use a concrete version

v45.7.0

  • #​2946 Update generated code
    • Add support for Activate, Archive, Create, Deactivate, Get, and List methods on resource Billing.Alert
    • Add support for Get method on resource Tax.Calculation
    • Add support for Type on ChargePaymentMethodDetailsCardPresentOffline, ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresentOffline, PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline, and SetupAttemptPaymentMethodDetailsCardPresentOffline
    • Add support for Offline on ConfirmationTokenPaymentMethodPreviewCardPresent and PaymentMethodCardPresent
    • Add support for RelatedCustomer on Identity.VerificationSessionCreateOptions, Identity.VerificationSessionListOptions, and IdentityVerificationSession

v45.6.0

  • #​2944 Update generated code
    • Add support for new resources Billing.AlertTriggered and Billing.Alert
    • ⚠️ Remove support for AuthorizationCode on ChargePaymentMethodDetailsCard. This was accidentally released last week.

v45.5.0

  • #​2943 Update generated code
    • Add support for TaxRegistrations and TaxSettings on AccountSessionComponentsOptions and AccountSessionComponents
  • #​2942 Update generated code
    • Add support for Update method on resource Checkout.Session
    • Add support for TransactionId on ChargePaymentMethodDetailsAffirm
    • Add support for BuyerId on ChargePaymentMethodDetailsBlik
    • Add support for AuthorizationCode on ChargePaymentMethodDetailsCard
    • Add support for BrandProduct on ChargePaymentMethodDetailsCardPresent, ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent, ConfirmationTokenPaymentMethodPreviewCardPresent, PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent, and PaymentMethodCardPresent
    • Add support for NetworkTransactionId on ChargePaymentMethodDetailsCardPresent, ChargePaymentMethodDetailsInteracPresent, ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent, and PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent
    • Add support for CaseType on DisputePaymentMethodDetailsCard
    • Add support for Twint on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, and PaymentMethodConfiguration

v45.4.0

  • #​2940 Update generated code
    • Add support for Customer on ConfirmationTokenPaymentMethodPreview

v45.3.0

  • #​2939 Update generated code
    • Add support for PaymentMethodOptions on ConfirmationToken
    • Add support for PaymentElement on CustomerSessionComponentsOptions and CustomerSessionComponents
    • Add support for AddressValidation on IssuingCardShippingOptions and IssuingCardShipping
    • Add support for Shipping on Issuing.CardUpdateOptions

v45.2.0

  • #​2932 Update generated code
    • Add support for AddLines, RemoveLines, and UpdateLines methods on resource Invoice
    • Add support for PostedAt on Tax.TransactionCreateFromCalculationOptions and TaxTransaction

v45.1.0

  • #​2931 Update generated code
    • Add support for Filters on CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnections, InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions, InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections, PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions, PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections, SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions, SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections, SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsOptions, and SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
    • Add support for EmailType on CreditNoteCreateOptions, CreditNotePreviewLinesOptions, and CreditNotePreviewOptions
    • Add support for AccountSubcategories on FinancialConnectionsSessionFiltersOptions and FinancialConnectionsSessionFilters
    • Add support for RebootWindow on Terminal.ConfigurationCreateOptions, Terminal.ConfigurationUpdateOptions, and TerminalConfiguration

v45.0.0

  • #​2929 Update generated code

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

⚠️ Breaking changes
* Remove the unused resource `PlatformTaxFee`
* Rename `VolumeDecimal` to `QuantityDecimal` on `IssuingAuthorizationPurchaseDetailsFuelOptions`, `IssuingTransactionPurchaseDetailsFuelOptions`, and `IssuingTransactionPurchaseDetailsFuel`
Additions
  • Add support for FinalizeAmount test helper method on resource Issuing.Authorization
  • Add support for new values platform_disabled, paused.inactivity and other on enums CapabilityRequirements.DisabledReason and CapabilityFutureRequirements.DisabledReason
  • Add support for Fleet on Issuing.TestHelpersAuthorizationCreateOptions, IssuingAuthorizationPurchaseDetailsOptions, IssuingAuthorization, IssuingTransactionPurchaseDetailsOptions, and IssuingTransactionPurchaseDetails
  • Add support for Fuel on Issuing.TestHelpersAuthorizationCreateOptions and IssuingAuthorization
  • Add support for IndustryProductCode and QuantityDecimal on IssuingAuthorizationPurchaseDetailsFuelOptions, IssuingTransactionPurchaseDetailsFuelOptions, and IssuingTransactionPurchaseDetailsFuel

v44.13.0

  • #​2927 Update generated code
    • Add support for TaxIdCollection on PaymentLinkUpdateOptions

v44.12.0

  • #​2922 Update generated code
    • Add support for MultibancoPayments and TwintPayments on AccountCapabilitiesOptions and AccountCapabilities
    • Add support for Twint on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethod, and SetupIntentPaymentMethodDataOptions
    • Add support for Multibanco on CheckoutSessionPaymentMethodOptionsOptions, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, PaymentMethodConfiguration, PaymentMethodCreateOptions, PaymentMethod, RefundDestinationDetails, and SetupIntentPaymentMethodDataOptions
    • Add support for MultibancoDisplayDetails on PaymentIntentNextAction
    • Add support for InvoiceSettings on Subscription

v44.11.0

  • #​2921 Update generated code
    • Add support for GbBankTransferPayments, JpBankTransferPayments, MxBankTransferPayments, SepaBankTransferPayments, and UsBankTransferPayments on AccountCapabilitiesOptions and AccountCapabilities

v44.10.0

  • #​2916 Update generated code
    • Add support for DefaultValue on CheckoutSessionCustomFieldsDropdownOptions, CheckoutSessionCustomFieldsDropdown, CheckoutSessionCustomFieldsNumericOptions, CheckoutSessionCustomFieldsNumeric, CheckoutSessionCustomFieldsTextOptions, and CheckoutSessionCustomFieldsText
    • Add support for GeneratedFrom on ConfirmationTokenPaymentMethodPreviewCard and PaymentMethodCard
  • #​2919 Add missing information for InvoiceTaxAmount
    • Add missing information for TaxableAmount and TaxabilityReason on InvoiceTaxAmount. Fixes #​2918

v44.9.0

  • #​2913 Update generated code
    • Add support for ExternalAccountCollection on AccountSessionComponentsBalancesFeaturesOptions, AccountSessionComponentsBalancesFeatures, AccountSessionComponentsPayoutsFeaturesOptions, and AccountSessionComponentsPayoutsFeatures
    • Add support for PaymentMethodRemove on CheckoutSessionSavedPaymentMethodOptions

v44.8.0

  • #​2909 Update generated code
    • Add support for FeeSource on ApplicationFee
    • Add support for NetAvailable on BalanceInstantAvailable
    • Add support for PreferredLocales on ChargePaymentMethodDetailsCardPresent, ConfirmationTokenPaymentMethodPreviewCardPresent, and PaymentMethodCardPresent
    • Add support for Klarna on DisputePaymentMethodDetails
    • Add support for Archived and LookupKey on Entitlements.FeatureListOptions
    • Add support for NoValidAuthorization on IssuingDisputeEvidenceOptions and IssuingDisputeEvidence
    • Add support for LossReason on IssuingDispute
    • Add support for Routing on PaymentIntentPaymentMethodOptionsCardPresentOptions and PaymentIntentPaymentMethodOptionsCardPresent
    • Add support for ApplicationFeeAmount and ApplicationFee on Payout
    • Add support for StripeS700 on Terminal.ConfigurationCreateOptions, Terminal.ConfigurationUpdateOptions, and TerminalConfiguration

v44.7.0

  • #​2907 Update generated code
    • Remove support for PendingInvoiceItemsBehavior on SubscriptionCreateOptions that was prematurely added in the previous release on the same day

v44.6.0

  • #​2906 Update generated code
    • Add support for Update test helper method on resources Treasury.OutboundPayment and Treasury.OutboundTransfer
    • Add support for AllowRedisplay on ConfirmationTokenPaymentMethodPreview and PaymentMethod
    • Change type of EntitlementsFeatureMetadataOptions from map(string: string) to emptyable(map(string: string))
    • Add support for PreviewMode on InvoiceCreatePreviewOptions, InvoiceUpcomingLinesOptions, and InvoiceUpcomingOptions
    • Add support for TrackingDetails on TreasuryOutboundPayment and TreasuryOutboundTransfer

v44.5.0

  • #​2900 Update generated code
    • Add support for Paypal on DisputePaymentMethodDetails
    • Change type of DisputePaymentMethodDetailsType from literal('card') to enum('card'|'paypal')
    • Add support for PaymentMethodTypes on PaymentIntentConfirmOptions
    • Add support for ShipFromDetails on Tax.CalculationCreateOptions, TaxCalculation, and TaxTransaction
    • Add support for Bh, Eg, Ge, Ke, Kz, Ng, and Om on TaxRegistrationCountryOptionsOptions and TaxRegistrationCountryOptions
  • #​2904 Add config for dotnet8.0
  • #​2903 Fix clientId getter

v44.4.0

  • #​2897 Update generated code
    • Add support for SetupFutureUsage on CheckoutSessionPaymentMethodOptionsAmazonPay, CheckoutSessionPaymentMethodOptionsRevolutPay, PaymentIntentPaymentMethodOptionsAmazonPay, and PaymentIntentPaymentMethodOptionsRevolutPay
    • Change type of EntitlementsActiveEntitlementFeature from string to expandable($Entitlements.Feature)
    • Remove support for inadvertently released identity verification features Email and Phone on IdentityVerificationSessionOptionsOptions
    • Add support for AmazonPay and RevolutPay on MandatePaymentMethodDetails and SetupAttemptPaymentMethodDetails
    • Add support for EndingBefore, Limit, and StartingAfter on PaymentMethodConfigurationListOptions
    • Add support for Mobilepay on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, and PaymentMethodConfiguration

v44.3.0

  • #​2894 Update generated code
    • Add support for CreatePreview method on resource Invoice
    • Add support for PaymentMethodData on Checkout.SessionCreateOptions
    • Add support for SavedPaymentMethodOptions on Checkout.SessionCreateOptions and CheckoutSession
    • Add support for Mobilepay on CheckoutSessionPaymentMethodOptionsOptions and CheckoutSessionPaymentMethodOptions
    • Add support for AllowRedisplay on ConfirmationTokenPaymentMethodDataOptions, CustomerListPaymentMethodsOptions, PaymentIntentPaymentMethodDataOptions, PaymentMethodCreateOptions, PaymentMethodUpdateOptions, and SetupIntentPaymentMethodDataOptions
    • Add support for ScheduleDetails and SubscriptionDetails on InvoiceUpcomingLinesOptions and InvoiceUpcomingOptions

v44.2.0

  • #​2891 Update generated code
    • Add support for new resource Entitlements.ActiveEntitlementSummary
    • Add support for Balances and PayoutsList on AccountSessionComponentsOptions and AccountSessionComponents
    • Remove support for Config on Forwarding.RequestCreateOptions and ForwardingRequest. This field is no longer used by the Forwarding Request API.
    • Add support for CaptureMethod on PaymentIntentPaymentMethodOptionsRevolutPayOptions and PaymentIntentPaymentMethodOptionsRevolutPay
    • Add support for Swish on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, and PaymentMethodConfiguration
  • #​2892 Add sections to StripeTypeRegistry

v44.1.0

  • #​2889 Update generated code
    • Add support for AccountManagement and NotificationBanner on AccountSessionComponentsOptions and AccountSessionComponents
    • Add support for ExternalAccountCollection on AccountSessionComponentsAccountOnboardingFeaturesOptions and AccountSessionComponentsAccountOnboardingFeatures
    • Change type of BillingMeterEventAdjustmentCancel from BillingMeterResourceBillingMeterEventAdjustmentCancel to nullable(BillingMeterResourceBillingMeterEventAdjustmentCancel)
    • Add support for AmazonPay on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsOptions, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataOptions, ConfirmationTokenPaymentMethodPreview, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, PaymentMethodConfiguration, PaymentMethodCreateOptions, PaymentMethod, RefundDestinationDetails, SetupIntentPaymentMethodDataOptions, SetupIntentPaymentMethodOptionsOptions, and SetupIntentPaymentMethodOptions
    • Add support for NextRefreshAvailableAt on FinancialConnectionsAccountOwnershipRefresh

v44.0.0

  • #​2884

    • This release changes the pinned API version to 2024-04-10. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
⚠️ Breaking changes
  • Change the property Amount on SourceTransaction to not be nullable
  • Remove the below unused classes
    • InvoiceLineItemAutomaticTaxOptions
    • InvoiceLineItemCustomerDetailsOptions
    • InvoiceLineItemCustomerDetailsTaxIdOptions
    • InvoiceLineItemCustomerDetailsTaxOptions
  • Change the type of the below date fields from long to DateTime
    • AccountSettingsCardIssuingTosAcceptance.Date
    • AccountSettingsTreasuryTosAcceptance.Date
    • PaymentIntentNextActionPixDisplayQrCode.ExpiresAt
    • PaymentIntentPaymentMethodOptionsPix.ExpiresAt
    • CalculationCreateOptions.TaxDate
  • Rename Features to MarketingFeatures on ProductCreateOptions, ProductUpdateOptions, and Product.
⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API
  • Remove BillingPortal.ConfigurationFeatures.SubscriptionPause and BillingPortal.ConfigurationFeaturesOptions.SubscriptionPause as the feature to pause subscription on the portal has been deprecated.
  • Remove the below deprecated events from Event.Type, WebhookEndpointCreateOptions.EnabledEvents, WebhookEndpointUpdateOptions.EnabledEvents and the constants in Events
    • invoiceitem.updated
    • order.created
    • recipient.created
    • recipient.deleted
    • recipient.updated
    • sku.created
    • sku.deleted
    • sku.updated
  • Remove the support for the below deprecated values in BalanceTransaction.Type
    • obligation_inbound
    • obligation_payout
    • obligation_payout_failure
    • obligation_reversal_outbound
  • Remove the support for various in Climate.Supplier.RemovalPathway
  • Remove support for id_bank_transfer, multibanco, netbanking, pay_by_bank, and upi on PaymentMethodConfiguration by removing the below classes
    • PaymentMethodConfigurationIdBankTransfer
    • PaymentMethodConfigurationMultibanco
    • PaymentMethodConfigurationNetbanking
    • PaymentMethodConfigurationPayByBank
    • PaymentMethodConfigurationUpi
  • Remove the support for challenge_only in SetupIntentPaymentMethodOptionsCard.RequestThreeDSecure
  • Remove deprecated property CustomerData on SourceTransaction
  • Remove the support for deprecated value service_tax in TaxRate.TaxType, TaxRateCreateParams.TaxType, TaxRateUpdateParams.TaxType
  • Remove the deprecated value include_and_require in InvoiceCreateParams.PendingInvoiceItemsBehavior
  • Remove the deprecated property SubscriptionProrate on UpcomingInvoiceListLineItemsOptions. Use SubscriptionProrationBehavior instead.
  • Remove the property RequestIncrementalAuthorization on PaymentIntentPaymentMethodOptionsCardPresentOptions. This was shipped by mistake.
  • Remove the support for deprecated value obligation on ReportRunParameterOptions.ReportingCategory
  • Remove the legacy field RenderingOptions in Invoice, InvoiceCreateOptions and InvoiceUpdateOptions.
  • Rename the type of field Rendering in InvoiceCreateOptions and InvoiceUpdateOptions from InvoiceRenderingOptionsOptions to InvoiceRenderingOptions

v43.23.0

  • #​2887 Update generated code
    • Add support for new resources Entitlements.ActiveEntitlement and Entitlements.Feature
    • Add support for Get and List methods on resource ActiveEntitlement
    • Add support for Create, Get, List, and Update methods on resource Feature
    • Add support for Controller on AccountCreateOptions
    • Add support for Fees, Losses, RequirementCollection, and StripeDashboard on AccountController
    • Add support for EventName on Billing.MeterEventAdjustmentCreateOptions and BillingMeterEventAdjustment
    • Add support for Cancel and Type on BillingMeterEventAdjustment

v43.22.0

  • #​2881 Update generated code
    • Change type of CheckoutSessionPaymentMethodOptionsSwishReferenceOptions from emptyable(string) to string
    • Add support for SubscriptionItem on Discount
    • Add support for Email and Phone on IdentityVerificationReport, IdentityVerificationSessionOptionsOptions, IdentityVerificationSessionOptions, and IdentityVerificationSessionVerifiedOutputs
    • Add support for VerificationFlow on Identity.VerificationSessionCreateOptions, IdentityVerificationReport, and IdentityVerificationSession
    • Add support for ProvidedDetails on Identity.VerificationSessionCreateOptions, Identity.VerificationSessionUpdateOptions, and IdentityVerificationSession
    • Add support for PromotionCode on InvoiceDiscountsOptions, InvoiceItemDiscountsOptions, and QuoteDiscountsOptions
    • Add support for Discounts on InvoiceSubscriptionItemsOptions, QuoteLineItemsOptions, SubscriptionAddInvoiceItemsOptions, SubscriptionCreateOptions, SubscriptionItemCreateOptions, SubscriptionItemUpdateOptions, SubscriptionItem, SubscriptionItemsOptions, SubscriptionSchedulePhasesAddInvoiceItemsOptions, SubscriptionSchedulePhasesAddInvoiceItems, SubscriptionSchedulePhasesItemsOptions, SubscriptionSchedulePhasesItems, SubscriptionSchedulePhasesOptions, SubscriptionSchedulePhases, SubscriptionUpdateOptions, and Subscription
    • Add support for AllowedMerchantCountries and BlockedMerchantCountries on IssuingCardSpendingControlsOptions, IssuingCardSpendingControls, IssuingCardholderSpendingControlsOptions, and IssuingCardholderSpendingControls
    • Add support for Zip on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, and PaymentMethodConfiguration
    • Add support for Offline on SetupAttemptPaymentMethodDetailsCardPresent
    • Add support for CardPresent on SetupIntentPaymentMethodOptionsOptions and SetupIntentPaymentMethodOptions

v43.21.0

  • #​2877 Update generated code
    • Add support for new resources Billing.MeterEventAdjustment, Billing.MeterEvent, and Billing.Meter
    • Add support for Create, Deactivate, Get, List, Reactivate, and Update methods on resource Meter
    • Add support for Create method on resources MeterEventAdjustment and MeterEvent
    • Add support for AmazonPayPayments on AccountCapabilitiesOptions and AccountCapabilities
    • Add support for DestinationOnBehalfOfChargeManagement on AccountSessionComponentsPaymentDetailsFeaturesOptions, AccountSessionComponentsPaymentDetailsFeatures, AccountSessionComponentsPaymentsFeaturesOptions, and AccountSessionComponentsPaymentsFeatures
    • Add support for Mandate on ChargePaymentMethodDetailsUsBankAccount, TreasuryInboundTransferOriginPaymentMethodDetailsUsBankAccount, TreasuryOutboundPaymentDestinationPaymentMethodDetailsUsBankAccount, and TreasuryOutboundTransferDestinationPaymentMethodDetailsUsBankAccount
    • Add support for SecondLine on Issuing.CardCreateOptions
    • Add support for Meter on PlanCreateOptions, Plan, PriceRecurringOptions, and PriceRecurring
  • #​2876 Generate assertions in generated tests

v43.20.0

  • #​2874 Update generated code
    • Add support for new resources ConfirmationToken and Forwarding.Request
    • Add support for Get method on resource ConfirmationToken
    • Add support for Create, Get, and List methods on resource Request
    • Add support for MobilepayPayments on AccountCapabilitiesOptions and AccountCapabilities
    • Add support for Mobilepay on ChargePaymentMethodDetails, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethod, and SetupIntentPaymentMethodDataOptions
    • Add support for PaymentReference on ChargePaymentMethodDetailsUsBankAccount
    • Add support for ConfirmationToken on PaymentIntentConfirmOptions, PaymentIntentCreateOptions, SetupIntentConfirmOptions, and SetupIntentCreateOptions
    • Add support for Name on Terminal.ConfigurationCreateOptions, Terminal.ConfigurationUpdateOptions, and TerminalConfiguration
    • Add support for Payout on TreasuryReceivedDebitLinkedFlows
  • #​2868 Autogenerate more files
  • #​2869 Add obsolete attributes to deprecated APIs and doc comments to methods

v43.19.0

  • #​2865 Update generated code
    • Add support for new resources Issuing.PersonalizationDesign and Issuing.PhysicalBundle
    • Add support for Create, Get, List, and Update methods on resource PersonalizationDesign
    • Add support for Get and List methods on resource PhysicalBundle
    • Add support for PersonalizationDesign on Issuing.CardCreateOptions, Issuing.CardListOptions, Issuing.CardUpdateOptions, and IssuingCard
    • Change type of SubscriptionApplicationFeePercentOptions from number to emptyStringable(number)
    • Add support for SepaDebit on SubscriptionPaymentSettingsPaymentMethodOptionsOptions and SubscriptionPaymentSettingsPaymentMethodOptions

v43.18.0

  • #​2863 Update generated code
    • Add support for Documents on AccountSessionComponentsOptions and AccountSessionComponents
    • Add support for RequestThreeDSecure on CheckoutSessionPaymentMethodOptionsCardOptions and CheckoutSessionPaymentMethodOptionsCard
    • Add support for Created on CreditNoteListOptions
    • Add support for SepaDebit on InvoicePaymentSettingsPaymentMethodOptionsOptions and InvoicePaymentSettingsPaymentMethodOptions
  • #​2864 Update development section of readme
  • #​2862 Explicitly define paths in manually maintained services

v43.17.0

  • #​2854 Update generated code
    • Add support for Number on InvoiceCreateOptions and InvoiceUpdateOptions
    • Add support for EnableCustomerCancellation on TerminalReaderActionProcessPaymentIntentProcessConfig, TerminalReaderActionProcessSetupIntentProcessConfig, and TerminalReaderProcessConfigOptions
    • Add support for RefundPaymentConfig on Terminal.ReaderRefundPaymentOptions and TerminalReaderActionRefundPayment
    • Add support for PaymentMethod on TokenBankAccountOptions
  • #​2858 Update README to use AddBetaVersion
  • #​2859 Use make CI test
  • #​2856 Obsolete BasePath, InstanceUrl, and ClassUrl

v43.16.0

  • #​2850 Update generated code
    • Add support for ClientReferenceId on Identity.VerificationReportListOptions, Identity.VerificationSessionCreateOptions, Identity.VerificationSessionListOptions, IdentityVerificationReport, and IdentityVerificationSession
    • Add support for Created on Treasury.OutboundPaymentListOptions

v43.15.0

  • #​2847 Update generated code
    • Add support for Networks on Card, PaymentMethodCardOptions, and TokenCardOptions
    • Add support for DisplayBrand on PaymentMethodCard
  • #​2849 Add README to NuGet package

v43.14.0

  • #​2843 Update generated code
    • Add support for Invoices on AccountSettingsOptions and AccountSettings
    • Add support for SetupFutureUsage on PaymentIntentPaymentMethodOptionsBlikOptions and PaymentIntentPaymentMethodOptionsBlik
    • Add support for RequireCvcRecollection on PaymentIntentPaymentMethodOptionsCardOptions and PaymentIntentPaymentMethodOptionsCard
    • Add support for AccountTaxIds on SubscriptionInvoiceSettingsOptions, SubscriptionScheduleDefaultSettingsInvoiceSettingsOptions, SubscriptionScheduleDefaultSettingsInvoiceSettings, SubscriptionSchedulePhasesInvoiceSettingsOptions, and SubscriptionSchedulePhasesInvoiceSettings

v43.13.0

  • #​2840 Update generated code
    • Add support for SwishPayments on AccountCapabilitiesOptions and AccountCapabilities
    • Add support for Relationship on AccountIndividualOptions and TokenAccountIndividualOptions
    • Add support for Swish on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsOptions, CheckoutSessionPaymentMethodOptions, PaymentIntentPaymentMethodDataOptions, PaymentIntentPaymentMethodOptionsOptions, PaymentIntentPaymentMethodOptions, PaymentMethodCreateOptions, PaymentMethod, RefundDestinationDetails, and SetupIntentPaymentMethodDataOptions
    • Add support for SwishHandleRedirectOrDisplayQrCode on PaymentIntentNextAction
    • Add support for JurisdictionLevel on TaxRate

v43.12.0

  • #​2837 Update generated code
    • Add support for AnnualRevenue and EstimatedWorkerCount on AccountBusinessProfileOptions and AccountBusinessProfile
    • Add support for CollectionOptions on AccountLinkCreateOptions
    • Add support for Liability on CheckoutSessionAutomaticTaxOptions, CheckoutSessionAutomaticTax, PaymentLinkAutomaticTaxOptions, PaymentLinkAutomaticTax, QuoteAutomaticTaxOptions, QuoteAutomaticTax, SubscriptionScheduleDefaultSettingsAutomaticTaxOptions, SubscriptionScheduleDefaultSettingsAutomaticTax, SubscriptionSchedulePhasesAutomaticTaxOptions, and SubscriptionSchedulePhasesAutomaticTax
    • Add support for Issuer on CheckoutSessionInvoiceCreationInvoiceDataOptions, CheckoutSessionInvoiceCreationInvoiceData, PaymentLinkInvoiceCreationInvoiceDataOptions, PaymentLinkInvoiceCreationInvoiceData, QuoteInvoiceSettingsOptions, QuoteInvoiceSettings, SubscriptionScheduleDefaultSettingsInvoiceSettingsOptions, SubscriptionScheduleDefaultSettingsInvoiceSettings, SubscriptionSchedulePhasesInvoiceSettingsOptions, and SubscriptionSchedulePhasesInvoiceSettings
    • Add support for InvoiceSettings on CheckoutSessionSubscriptionDataOptions, PaymentLinkSubscriptionDataOptions, and PaymentLinkSubscriptionData
    • Add support for PromotionCode on InvoiceDiscountsOptions and InvoiceInvoiceItemsDiscountsOptions
    • Add support for AccountType on PaymentMethodUsBankAccountOptions
  • #​2831 Update generated code
    • Add support for Issuer on InvoiceCreateOptions, InvoiceUpcomingLinesOptions, InvoiceUpcomingOptions, InvoiceUpdateOptions, and Invoice
    • Add support for Liability on InvoiceAutomaticTaxOptions, InvoiceAutomaticTax, SubscriptionAutomaticTaxOptions, and SubscriptionAutomaticTax
    • Add support for Pin on Issuing.CardCreateOptions
    • Add support for RevocationReason on MandatePaymentMethodDetailsBacsDebit
    • Add support for CustomerBalance on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, and PaymentMethodConfiguration
    • Add support for InvoiceSettings on SubscriptionCreateOptions and SubscriptionUpdateOptions

v43.11.0

  • #​2831 Update generated code
    • Add support for Issuer on InvoiceCreateOptions, InvoiceUpcomingLinesOptions, InvoiceUpcomingOptions, InvoiceUpdateOptions, and Invoice
    • Add support for Liability on InvoiceAutomaticTaxOptions, InvoiceAutomaticTax, SubscriptionAutomaticTaxOptions, and SubscriptionAutomaticTax
    • Add support for Pin on Issuing.CardCreateOptions
    • Add support for RevocationReason on MandatePaymentMethodDetailsBacsDebit
    • Add support for CustomerBalance on PaymentMethodConfigurationCreateOptions, PaymentMethodConfigurationUpdateOptions, and PaymentMethodConfiguration
    • Add support for InvoiceSettings on SubscriptionCreateOptions and SubscriptionUpdateOptions

v43.10.0

  • #​2827 Update generated code
    • Add support for new resource CustomerSession
    • Add support for Create method on resource CustomerSession
    • Remove support for Expand on BankAccountDeleteOptions and CardDeleteOptions
    • Add support for AccountType, DefaultForCurrency, and Documents on BankAccountUpdateOptions and CardUpdateOptions
    • Remove support for Owner on BankAccountUpdateOptions and CardUpdateOptions
    • Change type of BankAccountAccountHolderTypeOptions and CardAccountHolderTypeOptions from enum('company'|'individual') to emptyStringable(enum('company'|'individual'))
    • Add support for BillingCycleAnchorConfig on SubscriptionCreateOptions and Subscription
  • #​2807 Add 'Usage' to RequestTelemetry

v43.9.0

  • #​2822 Update generated code
    • Add support for Get metho

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants