The Legal Entity Management API enables you to manage legal entities that contain information required for verification.
Your Adyen contact will provide your API credential and an API key. To connect to the API, add an X-API-Key
header with the API key as the value. For example:
curl
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
...
Alternatively, you can use the username and password of your API credential to connect to the API using basic authentication. For example:
curl
-U "ws_123456@Scope.Company_YOUR_COMPANY_ACCOUNT":"YourWsPassword" \
-H "Content-Type: application/json" \
...
The Legal Entity Management API supports versioning using a version suffix in the endpoint URL. This suffix has the following format: "vXX", where XX is the version number.
For example:
https://kyc-test.adyen.com/lem/v3/legalEntities
If you are using hosted onboarding, only use v2 for your API requests.
When going live, your Adyen contact will provide your API credential for the live environment. You can then use the API key or the username and password to send requests to https://kyc-live.adyen.com/lem/v3
.