Parameter Specification
In this section, you will find the specification of all the parameters for the by Client integration REST API
CreateProcess - Request Payload
Name | Type | Mandatory / Optional | Description |
---|---|---|---|
| string | Mandatory | Valid CPF of the user |
| string | Mandatory | User's name. |
| string | Optional | User's email. |
| string | Optional | User's phone number.Ex.: |
| string | Optional | It is the use case for the biometric operation. E.g., "Account opening." |
| string | Mandatory | It is the user's selfie. The image must be in base64 (png, jpg, jpeg). If you use the Liveness Check with Unico's SDK, the file must be sent encrypted. The encrypted file must be sent within 10 minutes to avoid image expiration. This .jwt can only be used once. |
| string | Mandatory | Identificador do processo que foi Identifier of the process that was generated during the creation of the biometric transaction, whose photo will be used for comparison. This parameter is mandatory only when using the Validation (1:1) capability. |
GetProcess (Liveness + Identity verification and more) - Request response
Nome | Tipo | Descrição |
---|---|---|
| The identifier of the process. | |
| string | Indicates the status of the process. It can receive the values:
For the correct development of your business rule, only validate the results of the IDCloud capabilities when the status = 3. |
| string | Indicates the result of the Identity Verification capability. It can receive the values:
|
| integer | Indica o resultado da capacidade Prova de viIndicates the result of the Liveness capability. It can receive the values:
If the solution is used without the Liveness capability, the return will always be 1. |
| integer | Indicates the result of the Risk Score capability. It can receive values between -90 and +95. The score will only return in the API response if the API key is properly configured with the capability and the response of the Identity Verification capability is affirmative. |
| string | Indicates the result of the Fraud Profile Detection capability. It can receive the values:
If used together with the Risk Score, a "yes" response will prevent the registration from being passed to the score. |
| boolean | It is the result of the authentication when using the Validation (1:1) capability. It can be true or false. |
| integer | Indicates the result of the similarity score from Serpro. |
| string | Indicates the transaction ID of the created process. This ID is related to the user's selfie and is not the same as the process ID (first item related in this description). |
| string | Indicates the name of the user of the created process |
| string | Indicates the identification document of the user of the created process. |
| string | Indicates the image of the user of the created process. |
| string | Indicates the date and time of the completion of the created process. |
GetProcess (Document capture) - Request response
Nome | Tipo | Descrição |
---|---|---|
| string | Indicates the ID of the process created with the photo submission. |
| integer | Indicates the status of the process. It can receive the values:
For the correct development of your business rule, only validate the results of the IDCloud capabilities when the status = 3. |
| string | Indicates the ID of the document created. |
| string | Indicates the type of document returned by the classification. |
| string | Returns whether the provided CPF is equal to the one contained in the document. If the submitted CPF is invalid (e.g., 123.456.789-12), this field is automatically returned as false before the comparison. |
| list | List of information contained in the document. It will always be returned when the quality of the document allows for data extraction.
The content returned in |
| integer | Signed URLs of the files that make up the document. To access the document images, simply use these URLs, which have a 10-minute expiration time. |
GetReusableDocuments - Request response
Nome | Tipo | Descrição |
---|---|---|
| string | Type of document found. |
| string | ID of the document found. To reuse, this ID must be used in the Create Process request. |
Still need help?
Didn't find something or still need help? If you're already a client or partner, you can reach out through our Help Center.
Atualizado