Create a legal entity

post/legalEntities

Creates a legal entity.

This resource contains information about the user that will be onboarded in your platform. Adyen uses this information to perform verification checks as required by payment industry regulations. Adyen informs you of the verification results through webhooks or API responses.

If you are using hosted onboarding, only use v2 for your API requests.

Endpoint destination URL
https://kyc-test.adyen.com/lem/v3/legalEntities
Click to copy

Header Parameters

x-requested-verification-codestring

Use a suberror code as your requested verification code. You can include one code at a time in your request header. Requested verification codes can only be used in your test environment.

Request Parameters

entityAssociationsarray[object]

List of legal entities associated with the current legal entity. For example, ultimate beneficial owners associated with an organization through ownership or control, or as signatories.

individualobject

Information about the individual. Required if type is individual.

organizationobject

Information about the organization. Required if type is organization.

referencestring
Max length: 150

Your reference for the legal entity, maximum 150 characters.

soleProprietorshipobject

Information about the sole proprietorship. Required if type is soleProprietorship.

trustobject

Information about the trust. Required if type is trust.

typestringRequired

The type of legal entity.

Possible values: individual, organization, soleProprietorship, or trust.

unincorporatedPartnershipobject

Information about the unincorporated partnership. Required if type is unincorporatedPartnership.

Response parameters

After submitting a call, you receive a response message to inform you that your request was received and processed.

Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.

HTTP Responses

  • 200 - OK

    The request has succeeded.

    Show moreShow less
  • 400 - Bad Request

    A problem reading or understanding the request.

    Show moreShow less
  • 401 - Unauthorized

    Authentication required.

    Show moreShow less
  • 403 - Forbidden

    Insufficient permissions to process the request.

    Show moreShow less
  • 422 - Unprocessable Entity

    A request validation error.

    Show moreShow less
  • 500 - Internal Server Error

    The server could not process the request.

    Show moreShow less