npm @adyen/api-library 30.0.0
Adyen Node API Library v30.0.0

3 days ago

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: capability attribute has been removed
  • SourceOfFunds: acquiringBusinessLineId attribute has been removed
  • SourceOfFunds: adyenProcessedFunds attribute 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 PaymentDetails add enum Iris
  • In UpiIntentDetails add attribute billingSequenceNumber
  • In UpiCollectDetails make attribute billingSequenceNumber optional
  • In PaymentRequest add attribute sdkData
  • Add encryptedPassword attribute in CardDetails
  • Add ResponseAdditionalDataSwish
  • Add bankTransfer enum value in PaymentDetails

Classic Payments

  • In Recurring add enum values External and Oneclickrecurring
  • Add ResponseAdditionalDataSwish

Payout API

  • Add ResponseAdditionalDataSwish

Recurring API

  • In External add enum values External and Oneclickrecurring

Balance Platform API

  • In BulkAddress add attributes line1, line2, line3
  • Add TransferLimitsBalanceAccountLevelApi to manage Transfer limits - balance account level
  • Add TransferLimitsBalancePlatformLevelApi to manage Transfer limits - balance platform level
  • Add enum value dataReview in VerificationError and VerificationErrorRecursive

Transfer API

  • Add enum value Accepted in ConfirmationTrackingData

Management API

  • Add CardRegionEnum enum in SplitConfigurationRule class
  • Add enum value BR_SCHEMES in PaymentMethodResponse and PaymentMethodSetupInfo
  • Add attribute unreferenced in Refunds

Configuration Webhooks

  • In BulkAddress add attributes line1, line2, line3
  • In NetworkTokenNotificationDataV2 add attribute schemeRiskScore
  • Add attribute deviceId in Device
  • Add enum value dataReview in VerificationError and VerificationErrorRecursive

Transfer Webhooks

  • Add enum value Accepted in ConfirmationTrackingData

Management Webhooks

  • In TerminalAssignmentNotificationRequest add attribute assignedToStoreId
  • Add enum values dataReview in VerificationError and VerificationErrorRecursive

Dispute Webhooks

  • Add other enum value in DisputeEventNotification

🖇️ Other Changes

🎉 New Contributors

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

Don't miss a new api-library release

NewReleases is sending notifications on new releases.