Releases: Adyen/adyen-node-api-library
Release list
Adyen Node API Library v32.1.0
What's Changed
This release adds Checkout session updates and richer payment, travel, lodging, and enhanced-scheme models; introduces the Document Collector API with multipart file uploads; and exposes Session Authentication types. It also removes obsolete Checkout error models and two deprecated payment-method enum values.
New Features 💎
Checkout API
- Add
PaymentsApi.updateSession(sessionId, checkoutSessionPatchSessionRequest, requestOptions?)withCheckoutSessionPatchSessionRequest,CheckoutSessionPatchSessionResponse, andSessionAmountUpdateto update a session's amount and payable state. (#1735) - Add
AuPayDetails,DBaraiDetails, andSepaDirectDebitDonations, including theirTypeEnumvalues, and update discriminator mappings for payment methods and response actions. (#1735) - Add enhanced-scheme models
CarRental,PickupInfo,RentalSurcharges,ReturnInfo,Healthcare,Lodging,Folio,Room, andTemporaryServices; expose them throughEnhancedSchemeData.carRental,healthcare,lodging, andtemporaryServices. (#1735) - Add
ThirdPartyTokenRedundancyInfowithrequestParametersandrequestTemplateCode; expose it onCreateCheckoutSessionRequest,CreateCheckoutSessionResponse, andPaymentRequest, and addCreateCheckoutSessionRequest.shopperConversionId. (#1735) - Add
LineItem.returnShippingCompany,returnTrackingNumber,returnTrackingUri,shippingCompany,shippingMethod,trackingNumber, andtrackingUri; addPaypalUpdateOrderRequest.deliveryAddress,discountAmount, andshippingAmount. (#1735) - Add
AffirmDetails.financingProgram,CardBrandDetails.healthcare,DonationCampaignsRequest.label,KlarnaDetails.merchantData,RivertyDetails.merchantData, andStoredPaymentMethod.externalToken. (#1735) - Make
SepaDirectDebitDetails.ibanandSepaDirectDebitDetails.ownerNameoptional. (#1380) (#1735)
Document Collector API
- Add support for DocumentCollectorAPI for multipart cross-border invoice uploads.
Payment API
- Add
transactionLinkIdtoAdditionalDataCommonandResponseAdditionalDataCommon. (#1738)
Fixes ⛑️
- Export the
Types.sessionAuthenticationnamespace so request and response models used bySessionAuthenticationAPIare available from the public package entry point. (#1751) (#1760) - Update the Banking webhook HMAC README example to use
validateHMACSignature(hmacKey, hmacSignature, data)instead of the deprecated, misleading call. (#1744)
Notes
Few unused attributes have been removed:
- Remove
Types.checkout.DefaultErrorResponseEntity, itsconstructor(), and its serialized propertiesdetail,errorCode,instance,invalidFields,requestId,status,title, andtype. (#1735) - Remove
Types.checkout.InvalidField, itsconstructor(), and its serialized propertiesmessage,name, andvalue. (#1735) - Remove
Types.checkout.PaymentDetails.TypeEnum.Paybrightand move thegopay_walletvalue fromTypes.checkout.PaymentDetails.TypeEnum.GopayWallettoTypes.checkout.StoredPaymentMethodDetails.TypeEnum.GopayWallet. (#1735)
Contributor Notes 🔧
- Add
form-data4.0.6 as a runtime dependency and reusable multipart and URL-encoded request helpers; update the generated API template for file uploads. (#1761) - Patch transitive security-sensitive dependencies:
fast-uri3.1.5,brace-expansion1.1.18,ajv6.15.0,js-yaml3.15.1/4.3.1, and an override formicromatch4.0.8. (#1753) (#1754) (#1755) (#1756) (#1757) - Update contributor tooling:
eslint-plugin-unused-imports4.x,ts-loader9.6.2, andacorn8.17.0. (#1402) (#1646) (#1724) - Update release, stale, and Node setup actions, and improve the SonarCloud scanner configuration. (#1719) (#1722) (#1723) (#1752)
- Remove redundant generated
voidstatements so SDK Automation can continue removing unused imports. (#1779)
Other Changes 🖇️
- Add a
SaleToAcquirerData.additionalDatausage example, fix the classic Platforms API documentation link, and list Document Collector API v1 in the supported APIs table. (#1741) (#1743) (#1782)
PRs 📋️
- Update dependency eslint-plugin-unused-imports to v4 by @renovate[bot] in #1402
- Update dependency ts-loader to v9.6.2 by @renovate[bot] in #1646
- Update actions/setup-node action to v4.4.0 by @renovate[bot] in #1719
- Update actions/stale action to v9.1.0 by @renovate[bot] in #1722
- Update Adyen/release-automation-action action to v1.4.0 by @renovate[bot] in #1723
- Update dependency acorn to v8.17.0 by @renovate[bot] in #1724
- [storedvalue] Code generation: update services and models by @AdyenAutomationBot in #1733
- [checkout] Code generation: update services and models by @AdyenAutomationBot in #1735
- [payment] Code generation: update services and models by @AdyenAutomationBot in #1738
- SaleToAcquirerData.additionalData: Add examples in test and code by @gcatanese in #1741
- Fix Platforms APIs documentation link by @gcatanese in #1743
- docs: fix Banking webhook HMAC example in README by @mrSamDev in #1744
- Improve SonarCloud workflow configuration by @gcatanese in #1752
- Update fast-uri to 3.1.5 by @gcatanese in #1753
- Update brace-expansion to 1.1.18 by @gcatanese in #1754
- Update ajv to 6.15.0 by @gcatanese in #1755
- Update js-yaml patched versions by @gcatanese in #1756
- Override micromatch to 4.0.8 by @gcatanese in #1757
- [documentcollector] Code generation: update services and models by @AdyenAutomationBot in #1758
- Export Session Authentication types by @shin4141 in #1760
- Add multipart request support by @gcatanese in #1761
- [balancecontrol] Code generation: update services and models by @AdyenAutomationBot in #1763
- [storedvalue] Code generation: update services and models by [@AdyenAutomationBot...
Adyen Node API Library v32.0.0
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
- in
DirectDebitAuDetailsclassholderNameis now required (was optional). Consumers must always provide this field. donationTypeis now optional and deprecated. Usetypeinstead.- in
DonationPaymentRequestseveral fields are removed :additionalData,conversionIddeliverAt,threeDSAuthenticationOnly(this was deprecated since Checkout API v69, useauthenticationData.authenticationOnly. - in
PaymentAmountUpdateRequesthas been removedenhancedSchemeData. Use the newmpiDatafield instead. - in
PaymentRequestconversionIdwas removed (deprecated since Checkout API v68, usecheckoutAttemptId). - in
StandalonePaymentCancelRequestattributeenhancedSchemeDatawas removed.
Transfers API
Counterpartymodel removed and replaced byGrantCounterparty(used inCapitalGrant) andGrantInfoCounterparty(used inCapitalGrantInfo), with different field sets for each context. See #1634
New Features 💎
Checkout API
- In
PaymentAmountUpdateRequestaddadjustAuthTypefield (PaymentAmountUpdateRequest.AdjustAuthTypeEnum). Possible values:cardholderInitiatedTransaction,merchantInitiatedTransaction. - New
adjustAuthorisationDatafield (string) for synchronous authorization adjustments. - New
mpiDatafield (ThreeDSecureData) replacingenhancedSchemeData.
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 ofcloudDeviceApiwith built-in Nexo message encryption/decryption. RequiresEncryptionCredentialDetailsinformation.
New supporting security classes:nexoSecurityManager,nexoCryptoPrimitives,nexoDerivedKeyGenerator,nexoSecurityException,encryptionCredentialDetails.
It includes documentation:
Transfers API
- Add
CashOutApifor initiating cashouts. - Add transfer tracing models and fields for UK FPS and US ACH.
- Add
NetworkReason,InterchangeData, andUltimatePartyIdentification.
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.
- [checkout] Code generation: update services and models by @AdyenAutomationBot in #1727
- [transfers] Code generation: update services and models by @AdyenAutomationBot in #1634
- [tapi] Code generation: update services and models by @AdyenAutomationBot in #1708
- Add CloudDevice service class by @gcatanese in #1709
- Add cloud device live URL support with region-based routing by @gcatanese in #1713
- CloudDevice API Integration Testing by @gcatanese in #1714
- [transferwebhooks] Code generation: update services and models by @AdyenAutomationBot in #1716
- [tapi] Code generation: update services and models by @AdyenAutomationBot in #1717
- Add support of encrypted payload for Cloud Device API by @gcatanese in #1715
- Cloud device API documentation by @gcatanese in #1721
- Add PredefinedContentHelper for Cloud device API (tapi) by @gcatanese in #1726
- README: Update API/Webhook versions by @gcatanese in #1728
- fix: remove environment from publish-npm job to fix OIDC trusted publishing by @gcatanese in #1705
- revert: restore environment: release in publish-npm job by @gcatanese in #1707
- fix: guard against mismatched HMAC length in NexoCrypto.validateHmac (#1703) by @CedricConday in #1712
- chore(ci): upgrade GitHub Actions to Node.js 24 compatible versions by @gcatanese in #1704
- fix: guard HMAC comparison on decoded length in HmacValidator by @CedricConday in #1725
- Move tapi PredefinedContentHelper to src/utils/tapi by @gcatanese in #1731
- Add SaleToAcquirerData parser and SaleDataHelper for Cloud device API (tapi) by @gcatanese in #1732
- Release v32.0.0 by @AdyenAutomationBot in #1706
New Contributors
- @CedricConday made their first contribution in #1712
Full Changelog: v31.0.0...v32.0.0
Adyen Node API Library v31.0.0
Breaking Changes 🛠
Balance Platform API
- Move sweep-related methods from
BalanceAccountApitoCustomPayoutSchedulesSweepsApi(#1637)
Capital API
- Make
accountHolderIdparameter required ingrantOffersApi.getAllGrantOffers(#1641) - Change
AdditionalBankIdentification.typeattribute type fromAdditionalBankIdentificationTypestoAdditionalBankIdentification.TypeEnum(#1641)
Checkout API
- Remove
almaenum value fromPaymentDetails.TypeEnumin favour of the newAlmaDetailsmodel (#1644)
Management API
- Change
getApplePayDomainsreturn type fromApplePayInfotoApplePayResponseInfo(#1629) - Introduce dedicated read-only
*ResponseInfoand update-only*UpdateInfotypes for 40+ payment methods; operations usingUpdatePaymentMethodInfonow require different types (#1629)
New Features 💎
Configuration Webhooks
- Add support for Payout Schedule webhook events (
balancePlatform.balanceAccountPayoutSchedule.created,balancePlatform.balanceAccountPayoutScheduleExecution.succeeded, etc.) (#1643)- Add
AccountPayoutAutoApplicationNotificationRequestandAccountPayoutAutoApplicationWebhookDatamodels - Add
PayoutStateWebhookData,AccountPayoutConfigWebhookData, andPlatformPayoutConfigWebhookDatamodels - Add
UKLocalMandateAccountIdentificationmodel
- Add
Legal Entity Management API
- Add optional
industryCodeDescriptionproperty toBusinessLine,BusinessLineInfo, andBusinessLineInfoUpdatemodels (#1650) - Add optional
bicproperty toIbanAccountIdentificationfor BIC/SWIFT code support (#1650) - Update
LegalEntityAssociationto supportimmediateParentCompanyrelation for organizations (#1650)
Payment API
- Add enum values
RefusedandErrortoModificationResult(#1636) - Add
cardAltIDattribute toResponseAdditionalDataCard(#1636) - Change
cardProductIdtype tostringinResponseAdditionalDataCard(#1636) - Add
networkProcessingModeattribute toResponseAdditionalDataCommon(#1636) - Add enum values
AMBERandREDtoResponseAdditionalDataCommon.FraudResultType(#1636)
Payout API
- Add
cardAltIDattribute toResponseAdditionalDataCard(#1639) - Change
cardProductIdtype tostringinResponseAdditionalDataCard(#1639) - Add
networkProcessingModeattribute toResponseAdditionalDataCommon(#1639) - Add enum values
AMBERandREDtoResponseAdditionalDataCommon.FraudResultType(#1639)
Recurring API
- Add
transactionLinkIdattribute toRecurringDetail(#1628)
Transaction Webhooks
- Add oneOf discriminator mapping to
TransferViewCategoryDataClassfor correct deserialization ofcategoryDatainTransferView(#1655) - Update
processingTypefield description inIssuedCardto enumerate all possible values (#1655)
Transfer Webhooks
- Add enum values
AdviceAuthorised,AdviceRefused, andInterchangeAdjustedtoStatusEnumacrossTransferData,TransferEvent, andModification(#1630) - Add
ultimatePartyfield toTransferDatareferencing the newUltimatePartyIdentificationmodel (#1630) - Add discriminator mappings to
BankAccountV3AccountIdentificationClassfor polymorphic deserialization (#1630) - Add
InterchangeDatamodel andinterchangeDatafield toIssuedCard(#1630)
Fixes ⛑️
- Fix serialization and deserialization of
Set<T>types inObjectSerializer;Set<Resource>andSet<string>fields previously fell through to an unmatchedtypeMaplookup and returned rawSetobjects (#1660) - Fix standalone enum registration in
ObjectSerializer.enumsMapto use type name strings (e.g."Result") instead of runtime values (e.g.'VALID'), ensuring correct serialization of top-levelexport enumtypes (#1664) - Export NexoCrypto from package index #1701
PRs
- [management] Code generation: update services and models by @AdyenAutomationBot in #1629
- [capital] Code generation: update services and models by @AdyenAutomationBot in #1641
- [checkout] Code generation: update services and models by @AdyenAutomationBot in #1644
- [balanceplatform] Code generation: update services and models by @AdyenAutomationBot in #1637
- [payment] Code generation: update services and models by @AdyenAutomationBot in #1636
- [legalentitymanagement] Code generation: update services and models by @AdyenAutomationBot in #1650
- [payout] Code generation: update services and models by @AdyenAutomationBot in #1639
- [recurring] Code generation: update services and models by @AdyenAutomationBot in #1628
- [transactionwebhooks] Code generation: update services and models by @AdyenAutomationBot in #1655
- [configurationwebhooks] Code generation: update services and models by @AdyenAutomationBot in #1643
- [transferwebhooks] Code generation: update services and models by @AdyenAutomationBot in #1630
- Fix incorrect serialisation of Set types in ObjectSerializer by @gcatanese in #1660
- Fix standalone enum registration in ObjectSerializer enumsMap by @gcatanese in #1664
- feat: export NexoCrypto from package index by @gourabsingha1 in #1701
- Add merge_group trigger for CI checks by @gcatanese with @Copilot in #1632
- [balancewebhooks] Code generation: update services and models by @AdyenAutomationBot in #1631
- [balancecontrol] Code generation: update services and models - jsdoc changes only by @AdyenAutomationBot in #1638
- security: override lodash to ^4.18.0 (VAST-1721) by @thomasc-adyen in #1652
- [relayedauthorizationwebhooks] Code generation: update services and models by @AdyenAutomationBot in #1653
- [disputewebhooks] Code generation: update services and models by @AdyenAutomationBot in #1642
- [posmobile] Code generation: update services and models by @AdyenAutomationBot in #1654
- [managementwebhooks] Code generation: update services and models by @AdyenAutomationBot in #1657
- [sessionauthentication] Code generation: update services and models by @AdyenAutomationBot in #1656
- Remove @Adyen/developer-relations from CODEOWNERS by @gcatanese in #1645
- Fix lodash-es prototype pollution vulnerability by @gcatanese in #1661
- Fix picomatch vulnerability by @gcatanese in #1662
- Upgrade Jest to v29 to fix @tootallnate/once vulnerability by @gcatanese in #1663
- [disputes] Code generation: update services and models by @AdyenAutomationBot in #1690
- [posmobile] Code generation: update services and models by @AdyenAutomationBot in #1688
- [storedvalue] Code generation: update services and models by @AdyenAutomationBot in #1685
- [management] Code generation: u...
Adyen Node API Library v30.1.0
New Features 💎
This release adds support for:
Checkout API
Added the sdkData property to all payment methods (i.e. AchDetails, AffirmDetails, etc..)
- Add support for Forward stored payment details
applePayDetails.ts
- New enum value
Prepaidwas added toFundingSourceEnum.
applePayDonations.ts
- New enum value
Prepaidwas added toFundingSourceEnum.
cardDetails.ts
- New property
billingSequenceNumber?: string;was added. - New enum value
Prepaidwas added toFundingSourceEnum.
cardDonations.ts
- New property
billingSequenceNumber?: string;was added. - New enum value
Prepaidwas added toFundingSourceEnum.
checkoutBankTransferAction.ts
- New property
bankCode?: string;was added. - New property
branchCode?: string;was added.
donationPaymentRequest.ts
- Property
paymentMethodwas made optional.
enhancedSchemeData.ts
- New property
levelTwoThree?: LevelTwoThree | null;was added.
externalTokenDetails.ts
externalTokenDetails.tsis a new file.
genericIssuerPaymentMethodDetails.ts
- New enum value
OnlinebankingInwas added toTypeEnum.
googlePayDetails.ts
- New enum value
Prepaidwas added toFundingSourceEnum.
googlePayDonations.ts
- New enum value
Prepaidwas added toFundingSourceEnum.
itemDetailLine.ts
itemDetailLine.tsis a new file.
masterpassDetails.ts
- New enum value
Prepaidwas added toFundingSourceEnum.
payWithGoogleDetails.ts
- New enum value
Prepaidwas added toFundingSourceEnum.
payWithGoogleDonations.ts
- New enum value
Prepaidwas added toFundingSourceEnum.
payment.ts
- New enum values
ReceivedandPendingwere added toResultCodeEnum.
paymentDetails.ts
- Enum values
Neteller,OnlinebankingIn,Moneybookerswere removed fromTypeEnum.
paymentDetailsResponse.ts
- Add property
paymentValidations
paymentMethod.ts
- New enum value
Prepaidwas added toFundingSourceEnum.
paymentRequest.ts
- New property
paymentValidations?: PaymentValidations | null;was added. - New property
shopperTaxInfo?: ShopperTaxInfo | null;was added.
paymentRequestPaymentMethod.ts
ExternalTokenDetailswas added to the type union.
paymentResponse.ts
- New property
paymentValidations?: PaymentValidationsResponse | null;was added.
responseAdditionalDataCommon.ts
- New enum values
AmberandRedwere added toFraudResultTypeEnumandFraudwas removed.
responseAdditionalDataSepa.ts
- New property
sepadirectdebit_sepadirectdebit_dueDate?: string;was added.
samsungPayDetails.ts
- New enum value
Prepaidwas added toFundingSourceEnum.
sepaDirectDebitDetails.ts
- New property
dueDate?: string;was added.
shopperTaxInfo.ts
shopperTaxInfo.tsis a new file.
storedPaymentMethodDetails.ts
- New enum values
AlipayPlus,AlipayPlusAlipayCn,AlipayPlusAlipayHk,AlipayPlusDana,AlipayPlusGcash,AlipayPlusKakaopay,AlipayPlusKplus,AlipayPlusNaverpay,AlipayPlusRabbitlinepay,AlipayPlusTosspay,AlipayPlusTouchngo,AlipayPlusTruemoneywere added toTypeEnum.
storedPaymentMethodResource.ts
- New property
cardBin?: string;was added. - New property
mandate?: TokenMandate | null;was added.
tokenMandate.ts
tokenMandate.tsis a new file.
visaCheckoutDetails.ts
- New enum value
Prepaidwas added toFundingSourceEnum.
weChatPayMiniProgramDetails.ts
- New property
recurringDetailReference?: string;was added. - New property
storedPaymentMethodId?: string;was added.
Legal Entity Management
- Add support for Request periodic data review
- Make optional attribute
dateOfFinancialDatainFinancialReport
Balance Platform API
- Add support for SCA Associations Management
- Add support for SCA Device Management
- Add attribute
nameinBulkAddress - Make optional attribute
numberinCard - Add attribute
phoneinDeviceInfo
Note
In SweepConfigurationV2, CreateSweepConfigurationV2 and UpdateSweepConfigurationV2 several enum values have been deleted (ApprovalExpired, BalanceAccountTemporarilyBlockedByTransactionRule, Declined, etc..), however those values were never delivered or used.
Several attributes (cardCaptureTechnology, deviceName, imei, isoDeviceType, msisdn, osVersion, paymentTypes, serialNumber, storageTechnology) have been removed DeviceInfo: this is NOT considered a breaking change since those attributes were never included in the API response
Transfers API
- Add attribute
storedPaymentMethodIdinBankAccountV3 - Add enum value
DccMarkupinplatformPayment - Add attribute
fundingInstrumentinUltimatePartyIdentification - Add several enum values in
TransferData,TransferDataCategoryData,TransferEvent
Payout API
- In
ResponseAdditionalDataSepaadd attributesepadirectdebit_sepadirectdebit_dueDate
Management API
- Add support for
GivexInfo,Moto,ValuelinkInfo,SvsInfo - Add new property
pricePlaninAffirmInfo - Add new enum
AffirmInfo.PricePlanEnumwith valuesBronze,Silver,Gold. - Add
forceRebootDetailsinscheduleTerminalActionsRequestActionDetails - Add enums
BlikPos,Givex,KlarnaB2b,Svs,ValuelinkinPaymentMethodResponse,PaymentMethodSetupInfo - Add property
localizedInformationinStore - Add property
localizedInformationinStore,StoreCreationRequest,StoreCreationWithMerchantCodeRequest
terminal.ts
- New property
installedAPKs?: Array<InstalledAPKs>;was added.
Classic Payments API
- Add enum value
PrepaidinPaymentRequest.FundingSourceEnum - Add property
sepadirectdebit_sepadirectdebit_dueDateinresponseAdditionalDataSepa
Configuration Webhooks
- Add attribute
nameinBulkAddress - Make optional attribute
numberinCard
Note
In SweepConfigurationV2 several enum values have been deleted (ApprovalExpired, Declined, etc..), however those values were never delivered or used.
Transfer Webhooks
- Add attribute
storedPaymentMethodIdinBankAccountV3 - Add enum
DccMarkupinPlatformPayment - Add several enum values in
TransferData,TransferDataCategoryData,TransferEvent
Transaction Webhooks
- Add enum
DccMarkupinPlatformPayment
Fixes ⛑️
- Pin GitHub Actions to immutable commit SHAs by @Copilot in #1585
- fix: secure workflows with pinned actions and npm ci by @Copilot in #1590
- Fix: correct handling on LIVE prefix by @gcatanese in #1617
- Secure NPM publishing workflow against supply chain attacks by @Copilot in #1588
PRs 🖇️
- [capital] Code generation: update services and models by @AdyenAutomationBot in #1613
- [legalentitymanagement] Code generation: update services and models by @AdyenAutomationBot in #1602
- [checkout] Code generation: update services and models by @AdyenAutomationBot in #1609
- [relayedauthorizationwebhooks] Code generation: update services and models by @AdyenAutomationBot in #1614
- [balanceplatform] Code generation: update services and models by @AdyenAutomationBot in #1606
- AGENTS.md for contributors by @galesky-a in #1593
- refactor(ci): move formatting to a reusable action by @galesky-a in #1596
- [binlookup] Code generation: update services and models by @AdyenAutomationBot in #1597
- docs(agents): mention how to expose new models by @galesky-a in #1594
- [payout] Code generation: update services and models by @AdyenAutomationBot in #1611
- [storedvalue] Code generation: update services and models by @AdyenAutomationBot in #1604
- [negativebalancewarningwebhooks] Code generation: update services and models by @AdyenAutomationBot in #1598
- [acswebhooks] Code generation: update services and models by @AdyenAutomationBot in #1601
- [payment] Code generation: update services and models by @AdyenAutomationBot in #1603
- [transfers] Code generation: update services and models by @AdyenAutomationBot in #1607
- test(capital): add test coverage for Capital API services by @jeande...
Adyen Node API Library v30.0.2
Release Notes: v30.0.2
Fixes ⛑️
- Corrected
liveEndpointUrlPrefixvalidation logic. The prefix is now strictly required only for Live environment calls topal-andcheckout-services, preventing unnecessary errors for other service types.
Other Changes 🖇️
- Significantly increased unit testing within
service.spec.ts.
Full Changelog: v30.0.1...v30.0.2
Adyen Node API Library v30.0.1
What's Changed
Fixes ⛑️
Session Authentication API
- Fix SessionAuthentication LIVE url by @gcatanese in #1579
- Fix export SessionAuthentication service by @benjamin-deutsch-swap in #1577
Other Changes 🖇️
- Release v30.0.1 by @AdyenAutomationBot in #1581
New Contributors 🎉
- @benjamin-deutsch-swap made their first contribution in #1577
Full Changelog: v30.0.0...v30.0.1
Adyen Node API Library v30.0.0
This release introduces major improvements, including support for LEM v4, OpenAPI Banking and many other changes across all APIs.
Make sure to review the highlights below and check the breaking changes that may require updates in your integration.
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
See new fields and other details in #1544
🛠 Breaking Changes
Checkout API
New ShopperName class has been introduced, to be used when defining the name of the shopper. This affects several classes: CreateCheckoutSessionRequest, CreateCheckoutSessionResponse, DonationPaymentRequest, PaymentRequest.
The attribute shopperName has changed from
"shopperName"?: Name | null;
to
"shopperName"?: ShopperName | null;
BalancePlatform API
In TransferLimitsBalanceAccountLevelApi the signatures of the methods deletePendingTransferLimit and getSpecificTransferLimit have been modified by inverting the order of the parameters (to align with the order defined in the OpenAPI specification).
From
deletePendingTransferLimit(transferLimitId: string, id: string, requestOptions?: IRequest.Options): Promise<void>
getSpecificTransferLimit(transferLimitId: string, id: string, requestOptions?: IRequest.Options): Promise<TransferLimit>
to
public async deletePendingTransferLimit(id: string, transferLimitId: string, requestOptions?: IRequest.Options): Promise<void>
public async getSpecificTransferLimit(id: string, transferLimitId: string, requestOptions?: IRequest.Options): Promise<TransferLimit>
💎 New Features
Add support for Open Banking API v1:
- Create a list of available account verification routes
- Verify bank account ownership
Checkout API
- Add support for UPI QR Code
- In
PaymentDetailsadd enumIris - In
UpiIntentDetailsadd attributebillingSequenceNumber - In
UpiCollectDetailsmake attributebillingSequenceNumberoptional - In
PaymentRequestadd attributesdkData - Add
encryptedPasswordattribute inCardDetails - Add
ResponseAdditionalDataSwish - Add
bankTransferenum value inPaymentDetails
Classic Payments
- In
Recurringadd enum valuesExternalandOneclickrecurring - Add
ResponseAdditionalDataSwish
Payout API
- Add
ResponseAdditionalDataSwish
Recurring API
- In External add enum values
ExternalandOneclickrecurring
Balance Platform API
- In
BulkAddressadd attributesline1,line2,line3 - Add
TransferLimitsBalanceAccountLevelApito manageTransfer limits - balance account level - Add
TransferLimitsBalancePlatformLevelApito manageTransfer limits - balance platform level - Add enum value
dataReviewinVerificationErrorandVerificationErrorRecursive
Transfer API
- Add enum value
AcceptedinConfirmationTrackingData
Management API
- Add
CardRegionEnumenum inSplitConfigurationRuleclass - Add enum value
BR_SCHEMESinPaymentMethodResponseandPaymentMethodSetupInfo - Add attribute
unreferencedinRefunds
Configuration Webhooks
- In
BulkAddressadd attributesline1,line2,line3 - In
NetworkTokenNotificationDataV2add attributeschemeRiskScore - Add attribute
deviceIdinDevice - Add enum value
dataReviewinVerificationErrorandVerificationErrorRecursive
Transfer Webhooks
- Add enum value
AcceptedinConfirmationTrackingData
Management Webhooks
- In
TerminalAssignmentNotificationRequestadd attributeassignedToStoreId - Add enum values
dataReviewinVerificationErrorandVerificationErrorRecursive
Dispute Webhooks
- Add
otherenum value inDisputeEventNotification
🖇️ Other Changes
- Terminal API: option to disable 308 redirect logic by @gcatanese in #1558
- Export EnvironmentEnum and RegionEnum by @gcatanese in #1567
- Move NPM badge in README by @gcatanese in #1563
- Remove unused Mustache templates by @gcatanese in #1566
- Create SonarCloud workflow by @gcatanese in #1570
- Sonarcloud Workflow: Change npm ci to npm install in workflow by @gcatanese in https://github.com/Adyen/adyen-node-api-
- Add api-library-maintainers to CODEOWNERS by @gcatanese in #1572
- chore: enable syntax highlighting for step 5 in readme by @0xflotus in #1530
- LEM v4 by @gcatanese in #1544
- Release v30.0.0 by @AdyenAutomationBot in #1553
🎉 New Contributors
Full Changelog: v29.1.0...v30.0.0
Adyen Node API Library v29.1.0
Critical Fix ⛑️
- fix(TAPI): Correct live endpoints for Terminal API by @naseemkullah #1552
New Features 💎
Terminal API
- Handle 308 response status by @gcatanese #1540
- Add ScanBarcodeResult event type by @gcatanese #1551
Other Changes 🖇️
- Set workflow permissions by @gcatanese #1543
- Release v29.1.0 by @AdyenAutomationBot #1547
New Contributors
- @naseemkullah made their first contribution in #1552
Full Changelog: v29.0.0...v29.1.0
Adyen Node API Library v29.0.0
What's Changed
Important
For Terminal API users please make sure to upgrade directly to v29.1.0, which contains a critical fix for the Terminal API live endpoints.
Breaking Changes 🛠
Client setup has been streamlined
The Client is instantiated directly with a Config object, simplifying setup and enforcing best practices by centralizing configuration management (supporting EnvironmentEnum and RegionEnum). #1534
const config = new Config({
apiKey: "myApiKey",
environment: EnvironmentEnum.LIVE,
liveEndpointUrlPrefix: "myPrefix",
region: RegionEnum.US
});
client = new Client(config);
Terminal Cloud API async
The async return type has been updated from Promise<string> to Promise<string | SaleToPOIRequest>. Consumers must now check the type of the response before using it. #1538
If you were assuming a string response, you now need to handle both string and SaleToPOIRequest:
const response = await terminalCloudAPI.async(paymentRequest);
// handle both `string` and `TerminalApiResponse`
if (typeof response === "string") {
// Your previous logic
...
} else {
// request failed: see details in the EventNotification object
console.log("EventToNotify:", requestResponse.SaleToPOIRequest?.EventNotification?.EventToNotify);
console.log("EventDetails:", requestResponse.SaleToPOIRequest?.EventNotification?.EventDetails);
}Management API
- Remove several attributes (
countryCode,merchantCity,merchantLegalName, etc..) fromPayByBankPlaidInfo
- Code generation: update services and models by @AdyenAutomationBot in #1536
New Features 💎
Terminal API
Checkout API
- Added support for validateShopperId utility to validate the Shopper Id
- Added support for
PayToPaymentMethodandUPIPaymentMethod - Add
actionattribute (PaymentDetailsResponseAction) inPaymentDetailsResponse - Added enum
RIVERTY_INSTALLMENTSinRivertyDetails
Balance Platform API
- Added support for
uSInternationalAchPriorityRequirement
Configuration Webhooks
- Add support for
ScoreNotificationwebhook
Management API
- Added support for
SepaDirectDebitInfo
Session Authentication API
- Add
Bankenum value toProductType
Webhooks
- Update the definition of
NotificationRequestItem.additionalDatato expectundefinedvalues in the map #1541
Full Changelog: v28.1.0...v29.0.0
Adyen Node API Library v28.1.0
What's Changed
Breaking Changes 🛠
Balance Platform API:
- Rename method
createNetworkTokenActivationDatatocreateNetworkTokenProvisioningDatainPaymentInstrumentsApi
New Features 💎
Checkout API:
- Add attribute
enhancedSchemeDatatoPaymentAmountUpdateRequest,PaymentCancelRequest,PaymentRefundRequest,PaymentReversalRequest, StandalonePaymentCancelRequest` - Add enum
PaymeandPaymePosinPaymentDetails - add attribute
promotedinPaymentMethod - add attribute
subtypeinRivertyDetails
Balance Platform API:
- Added support for
additionalbankIdentificationRequirement(auBsbCode,caRoutingNumber,gbSortCodeorusRoutingNumber) - Added
usagefield inCardandCardInfo - Added
approvalExpiredReasonEnum toCreateSweepConfigurationV2,UpdateSweepConfigurationV2andSweepConfigurationV2
Configuration Webhooks
- Added
usagefield inCard - Added attribute
transactionRulesResultinNetworkTokenNotificationDataV2 - Added
networkTokenRiskRuleData,networkTokenRiskRuleSource,networkTokenTransactionRulesResultandnetworkTokenTriggeredRiskRule - Added enum
approvalExpiredtoSweepConfigurationV2
Tokenization Webhooks
- Added
TokenizationAlreadyExistingDetailsNotificationRequest, TokenizationCreatedDetailsNotificationRequest,TokenizationDisabledDetailsNotificationRequest, TokenizationUpdatedDetailsNotificationRequest
Transfers API
- Added
approvalExpiredtotransfer,transferDataandtransferEvent - Added
emailandurltopartyIdentificationandultimatePartyIdentification.
Transfers Webhooks
- Added
emailandurlfields toPartyIdentification - Added
approvalExpiredtotransferDataandtransferEvent.
OpenAPI spec files or templates have been modified on 30-07-2025 by commit.
- Code generation: update services and models by @AdyenAutomationBot in #1535
Other Changes 🖇️
- Code generation: update services and models by @AdyenAutomationBot in #1531
- Release v28.1.0 by @AdyenAutomationBot in #1533
Full Changelog: v28.0.0...v28.1.0