Identity Validation

Create Identity Validation

Create an identity validation request to verify the identity of a user. The response carries the full validation; when the result is not available yet, the status is IN_PROGRESS and the country data is empty until the validation finishes.

post/

Request

  • Base URL
    https://app2test.infiniaweb.com/infinia_api/v1/identity-validation
  • URL
    https://app2test.infiniaweb.com/infinia_api/v1/identity-validation/
  • Auth
    HTTP basic

Headers

x-company-idinteger

ID of a child company for authentication. If not provided, the parent company will be authenticated.

Request body

callbackUrlstring

Specifies the URL to which the callback will be sent when the transaction status changes. The callback is sent as a POST request with a JSON body containing the validation result, using the same schema as the Get Identity Validation endpoint.

freshnessLimitinteger

Specifies the maximum age in seconds of the data to be returned. By default no stale data will be used, and a new validation will be triggered.

Example request

{
  "freshnessLimit": 86000,
  "country": {
    "validation": {
      "dni": "20300000"
    }
  }
}

Response

Successful Response

OR

Example response

{
  "data": {
    "freshnessLimit": 2592000,
    "country": {
      "validation": {
        "dni": "20300000",
        "fullName": "Juan Perez",
        "dateOfBirth": "1990-01-01"
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.