This release introduces major improvements, including support for LEM v4 and an updated Client setup.
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 removedSourceOfFunds
:acquiringBusinessLineId
attribute has been removedSourceOfFunds
: theadyenProcessedFunds
attribute is now required
See new fields and other details in #1542
🛠 Breaking Changes
Client Setup
The Client class has been updated to enforce best practices and remove deprecated methods.
You can now configure the client using the Config object for a cleaner and more consistent setup:
// setup using Config object
Config config = new Config()
.environment(Environment.LIVE)
.liveEndpointUrlPrefix("myCompany")
.apiKey(apiKey);
Client client = new Client(config);
Several several legacy methods, deprecated already for 4-5 years, have been removed. See more details here #1525
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;
💎 New Features
Checkout API
- In
PaymentRequest
add attributesdkData
Recurring API
- In
Recurring
add enum valuesEXTERNAL
andONECLICK_RECURRING
Management API
- Add
CardRegionEnum
enums inSplitConfigurationRule
class
Other Changes 🖇️
- Add api-library-maintainers to CODEOWNERS by @gcatanese in #1572
- Improve POSSDK live endpoint construction by @gcatanese in #1570
- Terminal API test by @gcatanese in #1573
- Release v40.0.0 by @AdyenAutomationBot in #1569
Full Changelog: v39.5.0...v40.0.0