Skip to content

Releases: Adyen/adyen-dotnet-api-library

Adyen .net API Library v32.0.1

24 Jun 12:01
db57a69
Compare
Choose a tag to compare

What's Changed

New Features 💎

  • Terminal API

    • Add new Event Types NetworkConnected and NetworkDisconnected #1153
  • Management API

    • Add FundingSourceEnum new values prepaid, deferred_debit and charged #1161

Fixes ⛑️

Other Changes 🖇️

New Contributors

Full Changelog: v32.0.0...v32.0.1

Adyen .net API Library v32.0.0

14 May 12:49
2b5858a
Compare
Choose a tag to compare

What's Changed

.NET 8.0 Upgrade [!]

The Adyen .NET library has been upgrade to .NET 8.0. #1141

  • Changes to HttpClient

    • Developers can now set Timeout in the HttpClient, or configure the SocketConnection itself by setting the ConnectTimeout, PooledConnectionLifetime, PooledConnectionIdleTimeoutandMaxConnectionsPerServer` respectively.
    • .NET library now uses SocketsHttpHandler in .NET6+ for better performance, but default to HttpClientHandler in older versions of .NET
  • .NET 8.0 upgrade

    • The language LangVersion of C# has been updated to 12
    • Nullable property is set to disabled:
      • The <Nullable> feature has been explicitly disabled, ensuring backward compatibility and getting rid of a bunch of warnings until the adyen-sdk-generator gets upgraded.
    • <ImplicitUsings> property is set to enabled
      • Due to reserved keywords such as System.Environment, some classes that require Adyen.Environment will have namespace conflicts due to global usings. I have addressed this by importing the namespaces manually
    • Tagged the Adyen.Test & Adyen.IntegrationTest as a "TestProject"

Breaking Changes

  • Configuration Webhooks
    • Added Pending status to SweepConfigurationV2 #1139
  • Transfers API:
    • Added ChargebackRemainder enum to TransferEvent, TransferData and Transfer models #1137
    • Added Pending enum to TransferEvent, TransferData #1137
  • TransferWebhooks:
    • Added ChargebackRemainder to the PlatformPayment model #1137
    • Added Pending enum to TransferEvent, TransferData #1137
  • AcsWebhooks:
    • Corrected incorrect enum values in ChallengeInfo. While the API remains unchanged, the enum values were previously incorrect and have been updated accordingly. #1135
      • Before: OTP_SMS
      • After: PWD_OTP_PHONE_FL - OTP flow via SMS
    • Before: OOB
    • After: OOB_TRIGGER_FL - Out-of-band trigger flow
  • Checkout API
    • Dotpay: Removed the DotpayDetails class and all related references in CheckoutPaymentMethod and test files. Direct support for Dotpay is deprecated #1133
    • Giropay: Removed the GiropayDetails class and all related references in CheckoutPaymentMethod and test files. Direct support for Giropay is deprecated #1133
    • Paysafecard (from PaymentDetails TypeEnum): Removed Paysafecard from the TypeEnum in the PaymentDetails model #1133
    • Added Bonus enum member to the PlansEnum in CheckoutSessionInstallmentOption and Installments #1133
  • Payments API
    • Added Bonus enum member to the PlansEnum Installments.PlanEnum #1133

New Changes

Updated Balanceplatform Webhooks, LegalEntity Management API, and Payouts.

Legal Entity Management (LEM) API

  • Added AllowDebugUi boolean field to assist in diagnosing and resolving user onboarding issues #1139
  • Added ValidTo (datetime) field to indicate when the Terms of Service was accepted #1139

Payouts

  • Added FraudRiskLevelEnum to ResponseAdditionalDataCommon in the Payout model #1139

Configuration Webhooks

  • Added ReplaceById and ReplacementOfId fields to ConfigurationWebhooks.PaymentInstrument #1139

Dispute Webhooks

  • Added Duplicate enum value to DisputeEventNotifcation #1139

Transaction Webhooks

  • Added ChargebackRemainder enum to PlatformPayment #1139

Transfers API

  • Added IssuingTransactionData, TransferReview models #1137

TransferWebhooks

  • Added IssuingTransactionData and TransferReview model #1137

AcsWebhooks

  • Added PWD_OTP_EMAIL_FL - OTP flow via Email #1135

Checkout API

  • [New] Rakuten Pay: Added support for Rakuten Pay as a payment method - RakutenPayDetails #1133
  • Added email and phone number fields to AdditionalDataCommon and AdditionalDataSubMerchant #1133
    • Added SubMerchantEmail and SubMerchantPhoneNumber fields to AdditionalDataCommon
    • Added SubMerchantSubSellerSubSellerNrEmail and SubMerchantSubSellerSubSellerNrPhoneNumber fields to AdditionalDataSubMerchant
  • Added RequestedTestAcquirerResponseCode to AdditionalDataCommon to facilitate testing scenarios for specific acquirer responses #1133
  • Added EnhancedSchemeData property to PaymentRequest and PaymentCaptureRequest #1133
  • Added EncryptedCard property to PaymentMethodToStore to allow storing encrypted card details. #1133
  • Added the FraudRiskLevel enum and property to ResponseAdditionalDataCommon to indicate the risk level of a payment (e.g. VeryLow, Low, Medium, High, and VeryHigh) #1133
  • Added Surcharge - This contains the surcharge amount to apply to the transaction, in minor units.

Payments API

  • Added RequestedTestAcquirerResponseCode to AdditionalDataCommon to facilitate testing scenarios for specific acquirer responses #1133
  • Added subMerchantEmail and subMerchantPhoneNumber fields to AdditionalDataCommon for providing more complete sub-merchant contact information when processing transactions. #1133
  • Added subMerchantSubSellerSubSellerNrEmail and subMerchantSubSellerSubSellerNrPhoneNumber to AdditionalDataSubMerchant #1133
  • Added the FraudRiskLevel enum and property to ResponseAdditionalDataCommon to indicate the risk level of a payment (e.g. VeryLow, Low, Medium, High, and VeryHigh) #1133
  • Updated Shopper Statement Localization in Japan - The description for the localizedShopperStatement field in PaymentRequest, PaymentRequest3d, and PaymentRequest3ds2 has been updated to include support for the ja-Hani character set and JCB cards for payments in Japan #1133

Config

  • ConnectTimeout (for establishing the HTTP connection) and Timeout (e.g. the time required to send the request and receive the response) are now separate configurable values in Config

Bug fixes

TerminalAPI Model

  • Change diagnosis response to allow null PrinterStatus, which can be returned from devices which lack a printer.

Checkout API

  • Updated FraudRiskLevelEnum in Adyen/Model/Payment/ResponseAdditionalDataCommon, Adyen/Model/Checkout/ResponseAdditionalDataCommon and Adyen/Model/Payout/ResponseAdditionalDataCommon to use the following enum values: #1142
    • veryLow
    • low
    • medium
    • high
    • veryhigh

Breaking Changes PRs 🛠

  • Update Balanceplatform Webhooks, LegalEntity Management API, and Payouts by @Kwok-he-Chu in #1139
  • Update Transfers API & TransferWebhooks by @Kwok-he-Chu in #1137
  • Updated AcsWebhooks.ChallengeInfo to include PWD_OTP_PHONE_FL, OOB_TRIGGER_FL and PWD_OTP_EMAIL_FL by @Kwok-he-Chu in #1135
  • Update checkout-api models and remove giropay and dotpay by @Kwok-he-Chu in #1133

Fixes ⛑️

Other Changes 🖇️

Read more

Adyen .net API Library v31.0.0

10 Mar 10:42
cd9a92f
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🛠

  • Checkout:
    • In PaymentDetails added pix Enum, changing the subsequent Enum integer value.
  • Management:
    • In AndroidApp removed status string.
    • In MeApiCredential removed associatedMerchantAccounts.
    • In PaymentMethodResponse and PaymentMethodSetupInfo added Ach, AlipayWap, EftDirectdebitCA and Payto Enum` changing the subsequent Enum integer value.
  • ManagementWebhooks:
    • In PaymentMethodRequestRemovedNotificationRequest changed paymentMethod.requestRemoved to paymentMethodRequest.removed.
    • In PaymentMethodScheduledForRemovalNotificationRequest changed paymentMethod.requestScheduledForRemoval to paymentMethodRequest.scheduledForRemoval.
  • TransactionWebhooks:
    • In PlatformPayment added DCCPlatformCommission Enum, Enum, changing the subsequent Enum integer value.
  • TransferWebhooks:
    • In PlatformPayment added DCCPlatformCommission Enum, Enum, changing the subsequent Enum integer value.
  • Transfers:
    • In PlatformPayment added DCCPlatformCommission Enum, Enum, changing the subsequent Enum integer value.

Feature 💎

  • AcsWebhooks:

    • Added AuthenticationDecision, Purchase, RelayedAuthenticationRequest, RelayedAuthenticationResponse and ServiceError class.
  • Checkout:

    • In AchDetails added AccountHolderTypeEnum.
    • In CheckoutPaymentMethod added PixDetails to initialize new instance of CheckoutPaymentMethod with PixDetails class.
    • Added PixDetails and PixRecurring class.
    • In ResponseAdditionalDataCommon added TokenizationStoreOperationTypeEnum, TokenizationShopperReference, TokenizationStoreOperationType and TokenizationStoredPaymentMethodId.
  • Management:

    • Added AffirmInfo and PayToInfo class.
    • In AndroidApp added StatusEnum.
    • In PaymentMethod added Affirm, EftDirectdebitCA and Payto.
    • In Surcharge added ExcludeGratuityFromSurcharge.
    • In UpdatePaymentMethodInfo added EftDirectdebitCA
  • Payment:

    • In ResponseAdditionalDataCommon added TokenizationStoreOperationTypeEnum, TokenizationShopperReference, TokenizationStoreOperationType and TokenizationStoredPaymentMethodId.
  • Payout:

    • In ResponseAdditionalDataCommon added TokenizationStoreOperationTypeEnum, TokenizationShopperReference, TokenizationStoreOperationType and TokenizationStoredPaymentMethodId.
  • Recurring:

    • Deprecated AbstractOpenAPISchema, Address, Amount, BankAccount, Card, CreatePermitResult, CreatePermitRequest, DisablePermitRequest, DisablePermitResult, DisableRequest, DisableResult, Name, NotifyShopperResult, NotifyShopperRequest, Permit, PermitRestriction, PermitResult, Recurring, RecurringDetail, RecurringDetailWrapper, RecurringDetailsRequest, RecurringDetailsResult, ScheduleAccountUpdaterRequest, ScheduleAccountUpdaterResult, ServiceError and TokenDetails.
  • TransferWebhooks:

    • Added Lodging class.
    • In MerchantPurchaseData added Lodging.
  • Transfers:

    • In CapitalGrant added Failed, WrittenOff and revoked Enum.
    • Added Lodging class.
    • In MerchantPurchaseData added Lodging.
  • Service:

    • Deprecated BalanceControlService.
    • Deprecated RecurringService.

Other Changes 🖇️

Full Changelog: v30.0.0...v31.0.0

Adyen .net API Library v30.0.0

25 Feb 15:58
61a6787
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🛠

  • BalancePlatform:
    • Removed PriorityRestriction class
    • In TransactionRuleRestrictions removed Priority

Feature 💎

  • BalancePlatform:

    • Added AssociationDelegatedAuthenticationData, AssociationFinaliseRequest, AssociationFinaliseResponse, AssociationInitiateRequest, AssociationInitiateResponse class
    • Added TokenRequestorsRestriction class
  • Checkout:

    • Added FastlaneData in CardDetails, CardDonations.
    • Added FastlaneDetails in CheckoutPaymentMethod
    • Added FastlaneDetails class
    • In PaymentRefundResponse added CapturePspReference
  • Services:

    • BalancePlatform:
      • Deprecated GrantAccountsService and GrantOffersService
      • Added ManageSCADevicesService class
  • Code generation: update services and models by @AdyenAutomationBot in #1116

Fixes ⛑️

Other Changes 🖇️

Full Changelog: v29.0.0...v30.0.0

Adyen .net API Library v29.0.0

10 Feb 14:33
065d982
Compare
Choose a tag to compare

What's Changed

Breaking Changes ⚒️

  • AcsWebhooks
    • In ChallengeInfo added 00 and 08 changing the subsequent Enum integer values
  • BinLookup
    • In CostEstimateResponse removed SurchargeType
  • TransferWebhooks
    • In TransferReview removed ScanOnApprovalEnum
  • Transfers
    • In TransferReview removed ScanOnApprovalEnum
  • Payments:
    • In Split added TopUp changing the subsequent Enum integer values

New Features 💎

  • LegalEntityManagement:

    • Added FinancialReport class.
    • In LegalEntityAssociation added nominee
    • In Organization and SoleProprietorship added financialReports
  • NegativeBalanceWarningWebhooks:

    • Added Amount class.
    • Added ModelInterface class.
    • Added NegativeBalanceCompensationWarningNotificationData class.
    • Added NegativeBalanceCompensationWarningNotificationRequest class.
    • Added ObjectSerializer class.
    • Added Resource class.
    • Added ResourceReference class.

  • Service/Transfers

    • In CapitalService added deprecation messages.
  • Code generation: update services and models by @AdyenAutomationBot in #1109

  • Code generation: update services and models by @AdyenAutomationBot in #1111

  • Code generation: update services and models by @AdyenAutomationBot in #1112

Other Changes 🖇️

Important

From January 1, 2025 POS Terminal Management API is deprecated and support stops on April 1, 2025. To automate the management of your terminal fleet, use our Management API.

Before: (deprecated) https://postfmapi-test.adyen.com/postfmapi/terminal/v1/getTerminalDetails We've moved the fields TerminalStatus to lastActivityAt and data.AssignmentStatus.
Note that your API-credentials requires the following permission: Management API — Terminal actions read.

Full Changelog: v28.0.0...v29.0.0

Adyen .net API Library v28.0.0

27 Jan 10:30
e0fb60c
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🛠

  • Checkout:
    • In AdditionalDataAirline changed airlinePassengerTelephoneNumber to airlinePassengerPhoneNumber
    • In PaymentDetails removed Affirm enum , altering subsequent enum integer values
    • In Split added TopUp enum, altering subsequent enum integer values
  • Payment:
    • In AdditionalDataAirline changed airlinePassengerTelephoneNumber to airlinePassengerPhoneNumber

💎 Features

  • Checkout:
    • Added AffirmDetails class
    • In CheckoutPaymentMethod added AffirmDetails and PayPayDetails
    • Added PayPayDetails class
  • Code generation: update services and models by @AdyenAutomationBot in #1104

Other Changes 🖇️

Full Changelog: v27.0.0...v28.0.0

Adyen .net API Library v27.0.0

14 Jan 15:21
afcbb47
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🛠

  • BalancePlatform:
    • In VerificationDeadline, VerificationError and VerificationErrorRecursive added IssueChargeCard, IssueChargeCardCommercial, UseChargeCard and UseChargeCardCommercial Enum changing subsequent enum integer values.
  • ConfigurationWebhooks:
    • In VerificationDeadline, VerificationError and VerificationErrorRecursive added added IssueChargeCard, IssueChargeCardCommercial, UseChargeCard and UseChargeCardCommercial Enum changing subsequent enum integer values.
  • LegalEntityManagement:
    • In UncorporatedPartnership removed Type Enum
    • In VerificationDeadline, VerificationError and VerificationErrorRecursive added added IssueChargeCard, IssueChargeCardCommercial, UseChargeCard and UseChargeCardCommercial Enum changing subsequent enum integer values
  • Update all services by @AdyenAutomationBot in #1101

Other Changes 🖇️

  • BalancePlatform:
    • Added PriorityRestriction class.
    • Added Priority in TransactionRuleRestriction.
  • Checkout:
    • In AdditionalDataCommon added AutoRescue and MaxDaysToRescue.
  • LegalEntityManagement:
    • In UncorporatedPartnership added ShouldSerializeType Boolean.
  • Payment:
    • In AdditionalDataCommon added autoRescue and maxDaysToRescue.
  • ReportWebhooks:
    • In ReportNotificationData added id.
  • ⚠️ Important ⚠️ The PosTerminalManagementService class is effectively obsolete as all its methods are deprecated. Users are advised to migrate to the newer Management API for POS terminal management functionality. https://docs.adyen.com/api-explorer/Management/latest/overview
  • Explicitly configure ContractResolver for SaleToPOIMessage serialization by @alexander-olesiyuk-apaleo in #1095
  • SaleToPOIMessageConverter fix: Added key-version and function renames for consistency by @Kwok-he-Chu in #1099
  • Release v27.0.0 by @AdyenAutomationBot in #1102

New Contributors

Full Changelog: v26.1.0...v27.0.0

Adyen .net API Library v26.1.0

30 Dec 09:58
5eed0df
Compare
Choose a tag to compare

What's Changed

New Features 💎

  • BalancePlatform
    • Added CounterpartyTypesRestriction class.
    • Added SourceAccountTypesRestriction class
    • In TransactionRuleRestrictions added CounterpartyTypes and SourceAccountTypes
  • ConfigurationWebhooks
    • In AccountHolderNotificationRequest, BalanceAccountNotificationRequest, CardOrderNotificationRequest, PaymentNotificationRequest and SweepConfigurationNotificationRequest added timestamp
  • ReportWebhooks
    • In ReportNotificationRequest added timestamp
  • Update all services by @AdyenAutomationBot in #1096

Other Changes 🖇️

Full Changelog: v26.0.0...v26.1.0

Adyen .net API Library v26.0.0

16 Dec 10:56
af0f3b7
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🛠

  • LegalEntityManagement
    • In LegalEntityAssociation added SecondaryPartner and UnincorporatedPartnership Enum changing subsequent enum integer values
  • Update all services by @AdyenAutomationBot in #1090

New Features 💎

  • AcsWebhooks
    • AuthenticationNotificationRequest added Timestamp
  • Checkout
    • InCardDetails added Clicktopay enum and EncryptedCard string
    • In CardDonations added Clicktopay enum and EncryptedCard string
  • LegalEntityManagement
    • In PCIQuestionnairesApi added calculatePciStatusOfLegalEntity and calculatePciStatusOfLegalEntityAsync
    • Added CalculatePciStatusRequest, CalculatePciStatusResponse and UnincorporatedPartnership class
    • In LegalEntity added unincorporatedPartnership attribute
    • In LegalEntityAssociation added SettlorExemptionReason attribute
    • In LegalEntityInfo and LegalEntityInfoRequiredType added UnincorporatedPartnership attribute
  • Management
    • In TerminalConnectivityCellular added Iccid2 attribute
    • In UpdatePaymentMethodInfo added StoreId attribute
  • ManagementWebhooks
    • Added TerminalAssignmentNotificationRequest and TerminalAssignmentNotificationResponse class
  • Payout
    • Added ResponseAdditionalDataCard class
  • TransactionWebhooks
    • In TransactionNotificationRequestV4 added Timestamp attribute
  • TransferWebhooks
    • Added Airline, Leg, MerchantPurchaseData and TransferEventEventsDataInner class
    • In TransferData added EventId attribute
    • In TransferEvent added EventsData attribute
    • In TransferNotificationRequest added Timestamp attribute
    • In TransferData added TopUp Enum
  • Transfers
    • Added Airline, Leg, MerchantPurchaseData and TransferEventEventsDataInner class
    • In TransferData added EventId attribute
    • In TransferEvent added EventsData attribute
    • In Transfer, TransferData and TransferInfo added TopUp Enum

Other Changes 🖇️

Full Changelog: v25.0.0...v26.0.0

Adyen .net API Library v25.0.0

02 Dec 12:28
a31b40d
Compare
Choose a tag to compare

What's Changed

Breaking Changes 🛠

  • LegalEntityManagement
    • In Trust added businessTrust, charitableTrust, discretionaryTrust and familyTrust changing subsequent enum integer values
  • LegalEntityManagement
    • In Trust removed taxAbsent
  • Management
    • In PaymentMethod removed GenericPmWithTdInfo
    • In PaymentMethodResponse added affirm changing subsequent enum integer values
    • In PaymentMethodSetupInfo added affirm changing subsequent enum integer values
    • In PaymentMethodSetupInfo removed GenericPmWithTdInfo
  • Update all services by @AdyenAutomationBot in #1088

New Features 💎

  • BalancePlatform:
    • In CreateSweepConfigurationV2 , SweepConfigurationV2 and UpdateSweepConfigurationV2 added ReasonDetail a human readable reason for disabling sweep
  • Checkout
    • In CheckoutPaymentMethod added method to initialize new instance of the class with PseDetails
    • Added PseDetails class
  • ConfigurationWebhooks
    • In SweepConfigurationV2 added ReasonDetail a human readable reason for disabling sweep
  • DisputeWebhooks
    • Added AbstractOpenAPISchema class
    • Added Amount class
    • Added BalancePlatformNotificationResponse class
    • Added DisputeEventNotification class
    • Added DisputeNotificationRequest class
  • LegalEntityManagement
    • In OnboardingLinkSettings added EnforceLegalAge to Indicate if only users above the age of 18 can be onboarded
    • In PhoneNumber added PhoneCountryCode the two-letter country code prefix of the phone number
    • In Trust added description to add description for the charitable trust. Only applicable for New Zealand
  • Management
    • In AmexInfo and JCBinfo added check for valid MidNumber
    • Added DinersInfo class
    • In PaymentMethod added DinersInfo
    • In PaymentMethodSetupInfo added DinersInfo

Other Changes 🖇️

Full Changelog: v24.0.0...v25.0.0