Skip to content

Adyen Node API Library v32.0.0

Latest

Choose a tag to compare

@AdyenAutomationBot AdyenAutomationBot released this 15 Jul 09:40

What's Changed

✨ This release introduces the support of Checkout API v72 and Cloud device API, a first-class replacement for the legacy TerminalCloudAPI that brings built-in Nexo message encryption, device management, and a cleaner service design.

Breaking Changes 🛠

Checkout API

There are several breaking changes during the Checkout v72 upgrade, check #1727 for the full details

  • inDirectDebitAuDetails class holderName is now required (was optional). Consumers must always provide this field.
  • donationType is now optional and deprecated. Use type instead.
  • in DonationPaymentRequest several fields are removed : additionalData, conversionId deliverAt, threeDSAuthenticationOnly (this was deprecated since Checkout API v69, use authenticationData.authenticationOnly.
  • in PaymentAmountUpdateRequest has been removed enhancedSchemeData. Use the new mpiData field instead.
  • in PaymentRequest conversionId was removed (deprecated since Checkout API v68, use checkoutAttemptId).
  • in StandalonePaymentCancelRequest attribute enhancedSchemeData was removed.

Transfers API

  • Counterparty model removed and replaced by GrantCounterparty (used in CapitalGrant) and GrantInfoCounterparty (used in CapitalGrantInfo), with different field sets for each context. See #1634

New Features 💎

Checkout API

  • In PaymentAmountUpdateRequest add adjustAuthType field (PaymentAmountUpdateRequest.AdjustAuthTypeEnum). Possible values: cardholderInitiatedTransaction, merchantInitiatedTransaction.
  • New adjustAuthorisationData field (string) for synchronous authorization adjustments.
  • New mpiData field (ThreeDSecureData) replacing enhancedSchemeData.

Cloud Device API

Two new services replace the deprecated TerminalCloudAPI:

  • cloudDeviceApi — Send synchronous and asynchronous Terminal API messages, query connected devices and device status.
  • encryptedCloudDeviceApi — Variant of cloudDeviceApi with built-in Nexo message encryption/decryption. Requires EncryptionCredentialDetails information.
    New supporting security classes: nexoSecurityManager, nexoCryptoPrimitives, nexoDerivedKeyGenerator, nexoSecurityException, encryptionCredentialDetails.

It includes documentation:

Transfers API

  • Add CashOutApi for initiating cashouts.
  • Add transfer tracing models and fields for UK FPS and US ACH.
  • Add NetworkReason, InterchangeData, and UltimatePartyIdentification.

Fixes

  • Fix ESM-compatible NexoCrypto exports and safely handle differing HMAC lengths. #1701 (#1701)
  • Correct webhook HMAC validation and discriminator mappings for webhook bank-account models.
  • Update ESLint, Nock, and CI actions for Node.js 24 compatibility.

PRs.

New Contributors

Full Changelog: v31.0.0...v32.0.0