Releases: Adyen/adyen-dotnet-api-library
Adyen .NET API Library v32.2.1
What's Changed
Fixes ⛑️
- Fix Parsing a notification request item breaks starting at v30 #1199 by @Kwok-he-Chu
Other Changes 🖇️
- Release v32.2.1 by @AdyenAutomationBot in #1201
Full Changelog: v32.2.0...v32.2.1
Adyen .NET API Library v32.2.0
Legal Entity Management API v4
LEM v4 enhances the onboarding process and ensures compliance with evolving regulatory data requirements across regions and products.
See the Onboarding v4 documentation for details, and review the API changes from v3 to v4 to understand the impact on your integration.
⚠️ Critical changes:
BusinessLine:capabilityattribute has been removedSourceOfFunds:acquiringBusinessLineIdattribute has been removedSourceOfFunds:adyenProcessedFundsattribute is now required
Other Changes 💎
Individual: addsupportOrganization: addsupport,doingBusinessAsAbsent,registrationNumberAbsentSoleProprietorship: adddoingBusinessAsAbsent,registrationNumberAbsentTrust: adddoingBusinessAsAbsentUnincorporatedPartnership: adddoingBusinessAsAbsentServiceEnum: add new value"issuing"SourceOfFunds: add several new attributes (amount,assetMonthsHeld, etc..)SourceOfFunds: add array ofFinancierSourceOfFunds. TypeEnum: add several new values ("employment","donations", etc..)TaxInformation: addnumberAbsentDocument: addproofOfDirector
Checkout API
- Add support for UPI QR Code
- In
UpiIntentDetailsadd attributebillingSequenceNumber - In
UpiCollectDetailsmake attributebillingSequenceNumberoptional
PRs
- Add support for UPI QR by @gcatanese in #1198
- LEM v4 by @gcatanese in #1197
- Add @Adyen/api-library-maintainers to CODEOWNERS by @gcatanese in #1194
- Release v32.2.0 by @AdyenAutomationBot in #1195
Full Changelog: v32.1.2...v32.2.0
Adyen .NET API Library v32.1.2
What's Changed
BalancePlatform webhooks
Add dataReview enum value to VerificationError and VerificationErrorRecursive #1189
BalancePlatform API
Add dataReview enum value to VerificationError and VerificationErrorRecursive #1189
Other Changes 🖇️
- Set workflow permissions by @gcatanese in #1184
- Release v32.1.2 by @AdyenAutomationBot in #1185
Full Changelog: v32.1.1...v32.1.2
Adyen .net API Library v32.1.1
Fixes ⛑️
-
Checkout API
- Add Card
EncryptedPasswordattribute by @gcatanese in #1181
- Add Card
-
Terminal API
- Add
ScanBarcodeResultevent type by @gcatanese in #1182
- Add
Other Changes 🖇️
- Update README.md by @kristianmzmz in #1179
- Release v32.1.1 by @AdyenAutomationBot in #1183
What's Changed
New Contributors
- @kristianmzmz made their first contribution in #1179
Full Changelog: v32.1.0...v32.1.1
Adyen .NET API Library v32.1.0
What's Changed
Updated new models in .NET library
Checkout API
New changes
- Added
additionalData,payments, andreferencefields toSessionResultResponse - Added
enhancedSchemeDatatoPaymentAmountUpdateRequest,PaymentCancelRequest, andPaymentRefundRequest - Added
promotedfieldPaymentMethod - Added attributes
browserInfo,shopperEmail,shopperIPandtelephoneNumberinPaymentMethodRequest - Added
capturePspReferencetoPaymentRefundRequest - In
SessionResultResponseadd attributes:
*paymentsto provide a list of all authorised payments done for this session
*referenceto provide the unique reference in the original/sessionsrequest
*additionalDatato provide additional information about the payment
* *Pix: AddedbusinessDayOnlytoPixRecurring
Fix
- Riverty Details: Added
subtype-field toRivertyDetails
New Payment Methods:
- Added
paymeandpayme_posto the list ofPaymentDetailsenum values
LegalEntityManagement API
- In
AdditionalBankIdentificationadded new enumsauBsbCodeandcaRoutingNumber - Add new enum value
KycOnInviteinAcceptTermsOfServiceResponse,CalculateTermsOfServiceStatusResponse,GetTermsOfServiceDocumentRequest, GetTermsOfServiceDocumentResponseandTermsOfServiceAcceptanceInfo` - In
FinancialReportmake attributedateOfFinancialDataoptional
Transaction Webhooks
- Added
threeDSecureinIssuedCardclass
ACS Webhooks
- In
RelayedAuthenticationRequestadded new attributesthreeDSRequestorAppURL,environment,timestamp,type
Transfers API
- In
AdditionalBankIdentificationadd new enum valuesauBsbCodeandcaRoutingNumber
Transfers Webhooks
- In
AdditionalBankIdentificationadd new enum valuesauBsbCodeandcaRoutingNumber
Other Updates and Improvements
-
3D Secure 2 Authentication Flows: Clarified documentation for
authenticationOnlyandthreeDSAuthenticationOnlyparameters across multiple API requests, emphasizing their role in triggering the authentication-only flow. -
Shopper Contact Information for 3D Secure 2:
The following fields are now marked as required for Visa and JCB 3D Secure 2shopperEmailmarked is required, iftelephoneNumberis not provided.shopperIPis marked as required, ifshopperEmailis not provided.telephoneNumberis now marked required, ifshopperEmailis not provided.
We've updated the following classes to reflect this:BalanceCheckRequest,CreateCheckoutSessionRequest,CreateCheckoutSessionResponse,DonationPaymentRequest,PaymentLinkRequest,PaymentLinkResponse,PaymentMethodsRequest, andPaymentRequest.
-
The recommended maximum length for
returnUrlinCreateCheckoutSessionRequest,CreateCheckoutSessionResponse,DonationPaymentRequest, andPaymentRequestis now 1024 characters. -
Updated the description of
origininDonationPaymentRequestandPaymentRequestspecifying that it should be the origin URL of the page rendering the Drop-in/Component, without subdirectories or trailing slashes. -
Updated description for
addrMatch(3D Secure) inThreeDS2RequestDataandThreeDS2RequestFields,dataOnlyinThreeDSRequestData(now explicitly for data-only flow), andnativeThreeDSinThreeDSRequestData(clarifying potential fallback to redirect flow).
New Features 💎
- Generate Checkout models by @gcatanese in #1164
- Generate AcsWebhooks models by @gcatanese in #1166
- Generate LEM models by @gcatanese in #1167
- Generate Transaction webhooks by @gcatanese in #1168
- Transfers: Add auBsbCode and caRoutingNumber by @gcatanese in #1169
- Add new Checkout models to .NET library by @Kwok-he-Chu in #1173
Other Changes 🖇️
- Test handling of new response attributes by @gcatanese in #1171
- Release v32.1.0 by @AdyenAutomationBot in #1165
Full Changelog: v32.0.1...v32.1.0
Adyen .net API Library v32.0.1
What's Changed
New Features 💎
-
Terminal API
- Add new Event Types
NetworkConnectedandNetworkDisconnected#1153
- Add new Event Types
-
Management API
- Add
FundingSourceEnumnew valuesprepaid,deferred_debitandcharged#1161
- Add
Fixes ⛑️
- Use --skip-duplicate to ignore uploading the .symbols.nupkg package when publishing to NuGet by @Kwok-he-Chu in #1151
- Populate ApplicationName in UserAgent when not null by @Kwok-he-Chu in #1147
- Fix publish workflow by @Kwok-he-Chu in #1145
Other Changes 🖇️
- Allow workflow_dispatch in publish.yaml by @Kwok-he-Chu in #1148
- Update publish.yml to use .NET 8.0 by @Kwok-he-Chu in #1149
- Release v32.0.1 by @AdyenAutomationBot in #1146
New Contributors
- @gcatanese made their first contribution in #1153
Full Changelog: v32.0.0...v32.0.1
Adyen .net API Library v32.0.0
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
Timeoutin the HttpClient, or configure the SocketConnection itself by setting theConnectTimeout,PooledConnectionLifetime,PooledConnectionIdleTimeoutandMaxConnectionsPerServer` respectively. - .NET library now uses SocketsHttpHandler in .NET6+ for better performance, but default to
HttpClientHandlerin older versions of .NET
- Developers can now set
-
.NET 8.0 upgrade
- The language
LangVersionof C# has been updated to12 Nullableproperty 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.
- The
<ImplicitUsings>property is set to enabled- Due to reserved keywords such as
System.Environment, some classes that requireAdyen.Environmentwill have namespace conflicts due to global usings. I have addressed this by importing the namespaces manually
- Due to reserved keywords such as
- Tagged the
Adyen.Test&Adyen.IntegrationTestas a "TestProject"
- The language
Breaking Changes
- Configuration Webhooks
- Added
Pendingstatus to SweepConfigurationV2 #1139
- Added
- Transfers API:
- TransferWebhooks:
- 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:
- Before:
OOB - After:
OOB_TRIGGER_FL- Out-of-band trigger flow
- Corrected incorrect enum values in
- Checkout API
- Dotpay: Removed the
DotpayDetailsclass and all related references inCheckoutPaymentMethodand test files. Direct support for Dotpay is deprecated #1133 - Giropay: Removed the
GiropayDetailsclass and all related references inCheckoutPaymentMethodand test files. Direct support for Giropay is deprecated #1133 - Paysafecard (from PaymentDetails TypeEnum): Removed
Paysafecardfrom theTypeEnumin thePaymentDetailsmodel #1133 - Added
Bonusenum member to thePlansEnuminCheckoutSessionInstallmentOptionandInstallments#1133
- Dotpay: Removed the
- Payments API
- Added
Bonusenum member to thePlansEnumInstallments.PlanEnum#1133
- Added
New Changes
Updated Balanceplatform Webhooks, LegalEntity Management API, and Payouts.
Legal Entity Management (LEM) API
- Added
AllowDebugUiboolean 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
ReplaceByIdandReplacementOfIdfields toConfigurationWebhooks.PaymentInstrument#1139
Dispute Webhooks
- Added
Duplicateenum value to DisputeEventNotifcation #1139
Transaction Webhooks
- Added
ChargebackRemainderenum toPlatformPayment#1139
Transfers API
- Added
IssuingTransactionData,TransferReviewmodels #1137
TransferWebhooks
- Added
IssuingTransactionDataandTransferReviewmodel #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
AdditionalDataCommonandAdditionalDataSubMerchant#1133- Added
SubMerchantEmailandSubMerchantPhoneNumberfields toAdditionalDataCommon - Added
SubMerchantSubSellerSubSellerNrEmailandSubMerchantSubSellerSubSellerNrPhoneNumberfields toAdditionalDataSubMerchant
- Added
- Added
RequestedTestAcquirerResponseCodetoAdditionalDataCommonto facilitate testing scenarios for specific acquirer responses #1133 - Added
EnhancedSchemeDataproperty toPaymentRequestandPaymentCaptureRequest#1133 - Added
EncryptedCardproperty toPaymentMethodToStoreto allow storing encrypted card details. #1133 - Added the
FraudRiskLevelenum and property toResponseAdditionalDataCommonto indicate the risk level of a payment (e.g.VeryLow,Low,Medium,High, andVeryHigh) #1133 - Added
Surcharge- This contains the surcharge amount to apply to the transaction, in minor units.
Payments API
- Added
RequestedTestAcquirerResponseCodetoAdditionalDataCommonto facilitate testing scenarios for specific acquirer responses #1133 - Added
subMerchantEmailandsubMerchantPhoneNumberfields toAdditionalDataCommonfor providing more complete sub-merchant contact information when processing transactions. #1133 - Added
subMerchantSubSellerSubSellerNrEmailandsubMerchantSubSellerSubSellerNrPhoneNumbertoAdditionalDataSubMerchant#1133 - Added the
FraudRiskLevelenum and property toResponseAdditionalDataCommonto indicate the risk level of a payment (e.g.VeryLow,Low,Medium,High, andVeryHigh) #1133 - Updated Shopper Statement Localization in Japan - The description for the
localizedShopperStatementfield inPaymentRequest,PaymentRequest3d, andPaymentRequest3ds2has been updated to include support for theja-Hanicharacter 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
FraudRiskLevelEnuminAdyen/Model/Payment/ResponseAdditionalDataCommon,Adyen/Model/Checkout/ResponseAdditionalDataCommonandAdyen/Model/Payout/ResponseAdditionalDataCommonto use the following enum values: #1142veryLowlowmediumhighveryhigh
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 ⛑️
- Update setters for timers and upgrade dependencies by @Kwok-he-Chu in #1143
Other Changes 🖇️
- Add close-issue-label flag to correctly label closed issues by @DjoykeAbyah in #1122
- Improve GitHub CI workflow by @ayodejidev in #1126
- Change POIStatus.PrinterStatus to be nullable by @peterwishart in https...
Adyen .net API Library v31.0.0
What's Changed
Breaking Changes 🛠
- Checkout:
- In
PaymentDetailsaddedpixEnum, changing the subsequent Enum integer value.
- In
- Management:
- In
AndroidAppremovedstatusstring. - In
MeApiCredentialremovedassociatedMerchantAccounts. - In
PaymentMethodResponseandPaymentMethodSetupInfoaddedAch,AlipayWap,EftDirectdebitCAandPaytoEnum` changing the subsequent Enum integer value.
- In
- ManagementWebhooks:
- In
PaymentMethodRequestRemovedNotificationRequestchangedpaymentMethod.requestRemovedtopaymentMethodRequest.removed. - In
PaymentMethodScheduledForRemovalNotificationRequestchangedpaymentMethod.requestScheduledForRemovaltopaymentMethodRequest.scheduledForRemoval.
- In
- TransactionWebhooks:
- In
PlatformPaymentaddedDCCPlatformCommissionEnum, Enum, changing the subsequent Enum integer value.
- In
- TransferWebhooks:
- In
PlatformPaymentaddedDCCPlatformCommissionEnum, Enum, changing the subsequent Enum integer value.
- In
- Transfers:
- In
PlatformPaymentaddedDCCPlatformCommissionEnum, Enum, changing the subsequent Enum integer value.
- In
Feature 💎
-
AcsWebhooks:
- Added
AuthenticationDecision,Purchase,RelayedAuthenticationRequest,RelayedAuthenticationResponseandServiceErrorclass.
- Added
-
Checkout:
- In
AchDetailsaddedAccountHolderTypeEnum. - In
CheckoutPaymentMethodaddedPixDetailsto initialize new instance ofCheckoutPaymentMethodwithPixDetailsclass. - Added
PixDetailsandPixRecurringclass. - In
ResponseAdditionalDataCommonaddedTokenizationStoreOperationTypeEnum,TokenizationShopperReference,TokenizationStoreOperationTypeandTokenizationStoredPaymentMethodId.
- In
-
Management:
- Added
AffirmInfoandPayToInfoclass. - In
AndroidAppaddedStatusEnum. - In
PaymentMethodaddedAffirm,EftDirectdebitCAandPayto. - In
SurchargeaddedExcludeGratuityFromSurcharge. - In
UpdatePaymentMethodInfoaddedEftDirectdebitCA
- Added
-
Payment:
- In
ResponseAdditionalDataCommonaddedTokenizationStoreOperationTypeEnum,TokenizationShopperReference,TokenizationStoreOperationTypeandTokenizationStoredPaymentMethodId.
- In
-
Payout:
- In
ResponseAdditionalDataCommonaddedTokenizationStoreOperationTypeEnum,TokenizationShopperReference,TokenizationStoreOperationTypeandTokenizationStoredPaymentMethodId.
- In
-
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,ServiceErrorandTokenDetails.
- Deprecated
-
TransferWebhooks:
- Added
Lodgingclass. - In
MerchantPurchaseDataaddedLodging.
- Added
-
Transfers:
- In
CapitalGrantaddedFailed,WrittenOffandrevokedEnum. - Added
Lodgingclass. - In
MerchantPurchaseDataaddedLodging.
- In
-
Service:
- Deprecated
BalanceControlService. - Deprecated
RecurringService.
- Deprecated
Other Changes 🖇️
- Fix 1106 - Add split object for a Platform Payment Request (IPP) by @Kwok-he-Chu in #1117
- Release v31.0.0 by @AdyenAutomationBot in #1120
Full Changelog: v30.0.0...v31.0.0
Adyen .net API Library v30.0.0
Warning
This release introduces a regression in balancePlatformWebhookHandler: the correct behavior has been restored in v32.2.1
What's Changed
Breaking Changes 🛠
- BalancePlatform:
- Removed
PriorityRestrictionclass - In
TransactionRuleRestrictionsremovedPriority
- Removed
Feature 💎
-
BalancePlatform:
- Added
AssociationDelegatedAuthenticationData,AssociationFinaliseRequest,AssociationFinaliseResponse,AssociationInitiateRequest, AssociationInitiateResponse class - Added
TokenRequestorsRestrictionclass
- Added
-
Checkout:
- Added
FastlaneDatainCardDetails,CardDonations. - Added
FastlaneDetailsinCheckoutPaymentMethod - Added
FastlaneDetailsclass - In
PaymentRefundResponseaddedCapturePspReference
- Added
-
Services:
- BalancePlatform:
- Deprecated
GrantAccountsServiceandGrantOffersService - Added
ManageSCADevicesServiceclass
- Deprecated
- BalancePlatform:
-
Code generation: update services and models by @AdyenAutomationBot in #1116
Fixes ⛑️
- Add NegativeBalanceCompensationWarning webhooks by @Kwok-he-Chu in #1114
Other Changes 🖇️
- Add bug and feature issue form by @ayodejidev in #1118
- Release v30.0.0 by @AdyenAutomationBot in #1115
Full Changelog: v29.0.0...v30.0.0
Adyen .net API Library v29.0.0
What's Changed
Breaking Changes ⚒️
- AcsWebhooks
- In
ChallengeInfoadded00and08changing the subsequent Enum integer values
- In
- BinLookup
- In
CostEstimateResponseremovedSurchargeType
- In
- TransferWebhooks
- In
TransferReviewremovedScanOnApprovalEnum
- In
- Transfers
- In
TransferReviewremovedScanOnApprovalEnum
- In
- Payments:
- In
SplitaddedTopUpchanging the subsequent Enum integer values
- In
New Features 💎
-
Terminal API:
- Add Regions support for
livetransactions: use an endpoint that is geographically closest to the location of your store - by @DjoykeAbyah in #1108
- Add Regions support for
-
LegalEntityManagement:
- Added
FinancialReportclass. - In
LegalEntityAssociationaddednominee - In
OrganizationandSoleProprietorshipaddedfinancialReports
- Added
-
NegativeBalanceWarningWebhooks:
- Added
Amountclass. - Added
ModelInterfaceclass. - Added
NegativeBalanceCompensationWarningNotificationDataclass. - Added
NegativeBalanceCompensationWarningNotificationRequestclass. - Added
ObjectSerializerclass. - Added
Resourceclass. - Added
ResourceReferenceclass.
- Added
-
Service/Transfers
- In
CapitalServiceadded deprecation messages.
- In
-
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 🖇️
- update Readme by @DjoykeAbyah in #1113
- Release v29.0.0 by @AdyenAutomationBot in #1110
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/getTerminalDetailsWe've moved the fieldsTerminalStatustolastActivityAtanddata.AssignmentStatus.
Note that your API-credentials requires the following permission:Management API — Terminal actions read.
Full Changelog: v28.0.0...v29.0.0