POST
/
v2.01
/
{ClientId}
/
users
/
data-formats
/
validation
{
    "CompanyNumber": {
        "CompanyNumber": "AB123456",
        "CountryCode": "IT"
    }
}  
{
    "CompanyNumber": {
        "CompanyNumber": "AB123456",
        "CountryCode": "IT",
        "IsValid": true,
        "ValidationRules": [
            "^[0-9]{11}$|^[a-z]{2}[0-9]{7}$|^[a-z]{2}[0-9]{6}$"
        ]
    }
}  

This endpoint allows you to check that the format of the CompanyNumber is correct and retrieve the validation rules applied to it.

The CompanyNumber must be in the correct format for Business Legal Users to be KYC/B verified.

Caution – Veracity of data checked during verification

This endpoint only checks that the format of the data corresponds to that which is expected. Whether or not the data is true and correct for the specific User is checked during the user verification process when documents are submitted.

Body parameters

CompanyNumber
object

Information about the registration number of a legal entity. For details, see the Company number article.

Responses

{
    "CompanyNumber": {
        "CompanyNumber": "AB123456",
        "CountryCode": "IT",
        "IsValid": true,
        "ValidationRules": [
            "^[0-9]{11}$|^[a-z]{2}[0-9]{7}$|^[a-z]{2}[0-9]{6}$"
        ]
    }
}  
{
    "CompanyNumber": {
        "CompanyNumber": "AB123456",
        "CountryCode": "IT"
    }
}