The Legal Entity Management API enables you to manage legal entities that contain information required for verification. ## Authentication To connect to the Legal Entity Management API, you must use the basic authentication credentials of your web service user. If you don't have one, contact the [Adyen Support Team](https://www.adyen.help/hc/en-us/requests/new). Use the web service user credentials to authenticate your request, for example: ``` curl -U "ws_123456@Scope.BalancePlatform_YourBalancePlatform":"YourWsPassword" \ -H "Content-Type: application/json" \ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning The Legal Entity Management API supports versioning of its endpoints through 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.
https://kyc-test.adyen.com/lem/v327 endpoints available
/themesGet a list of hosted onboarding page themes
/documentsUpload a document for verification checks
/themes/{id}Get an onboarding link theme
/businessLinesCreate a business line
/legalEntitiesCreate a legal entity
/documents/{id}Get a document
/documents/{id}Update a document
/documents/{id}Delete a document
/businessLines/{id}Get a business line
/businessLines/{id}Update a business line
/businessLines/{id}Delete a business line
/legalEntities/{id}Get a legal entity
/legalEntities/{id}Update a legal entity
/transferInstrumentsCreate a transfer instrument
/transferInstruments/{id}Get a transfer instrument
/transferInstruments/{id}Update a transfer instrument
/transferInstruments/{id}Delete a transfer instrument
/legalEntities/{id}/businessLinesGet all business lines under a legal entity
/legalEntities/{id}/termsOfServiceGet Terms of Service document
/legalEntities/{id}/onboardingLinksGet a link to an Adyen-hosted onboarding page
/legalEntities/{id}/pciQuestionnairesGet PCI questionnaire details
/legalEntities/{id}/checkVerificationErrorsCheck a legal entity's verification errors
/legalEntities/{id}/pciQuestionnaires/{pciid}Get PCI questionnaire
/legalEntities/{id}/termsOfServiceAcceptanceInfosGet Terms of Service information for a legal entity
/legalEntities/{id}/pciQuestionnaires/signPciTemplatesSign PCI questionnaire
/legalEntities/{id}/pciQuestionnaires/generatePciTemplatesGenerate PCI questionnaire
/legalEntities/{id}/termsOfService/{termsofservicedocumentid}Accept Terms of Service
The Legal Entity Management API enables you to manage legal entities that contain information required for verification. ## Authentication To connect to the Legal Entity Management API, you must use the basic authentication credentials of your web service user. If you don't have one, contact the [Adyen Support Team](https://www.adyen.help/hc/en-us/requests/new). Use the web service user credentials to authenticate your request, for example: ``` curl -U "ws_123456@Scope.BalancePlatform_YourBalancePlatform":"YourWsPassword" \ -H "Content-Type: application/json" \ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning The Legal Entity Management API supports versioning of its endpoints through 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.
https://kyc-test.adyen.com/lem/v327 endpoints available
/themesGet a list of hosted onboarding page themes
/documentsUpload a document for verification checks
/themes/{id}Get an onboarding link theme
/businessLinesCreate a business line
/legalEntitiesCreate a legal entity
/documents/{id}Get a document
/documents/{id}Update a document
/documents/{id}Delete a document
/businessLines/{id}Get a business line
/businessLines/{id}Update a business line
/businessLines/{id}Delete a business line
/legalEntities/{id}Get a legal entity
/legalEntities/{id}Update a legal entity
/transferInstrumentsCreate a transfer instrument
/transferInstruments/{id}Get a transfer instrument
/transferInstruments/{id}Update a transfer instrument
/transferInstruments/{id}Delete a transfer instrument
/legalEntities/{id}/businessLinesGet all business lines under a legal entity
/legalEntities/{id}/termsOfServiceGet Terms of Service document
/legalEntities/{id}/onboardingLinksGet a link to an Adyen-hosted onboarding page
/legalEntities/{id}/pciQuestionnairesGet PCI questionnaire details
/legalEntities/{id}/checkVerificationErrorsCheck a legal entity's verification errors
/legalEntities/{id}/pciQuestionnaires/{pciid}Get PCI questionnaire
/legalEntities/{id}/termsOfServiceAcceptanceInfosGet Terms of Service information for a legal entity
/legalEntities/{id}/pciQuestionnaires/signPciTemplatesSign PCI questionnaire
/legalEntities/{id}/pciQuestionnaires/generatePciTemplatesGenerate PCI questionnaire
/legalEntities/{id}/termsOfService/{termsofservicedocumentid}Accept Terms of Service