Get Process - IDUnico
This method obtains the result of the biometric transaction in IDUnico.
How to use it?
Make a GET request to the /processes/v1/{id}
endpoint.
With the valid access token, make a request to the endpoint (GET/processes/v1/{id}). The {id} parameter must be the same as the one generated when the transaction was created.
Parameters:
- HEADER PARAMETERS
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
APIKEY | String | Mandatory | API key |
Authorization | String | Mandatory | Access token |
- PATH PARAMETERS
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
processoId | String | Mandatory | Process number |
Successful request
If the request was executed successfully, the return response is a JSON containing the following parameters:
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": 3,
"unicoId": {
"result": "Yes"
}
}
The return parameters are:
Name | Type | Description |
---|---|---|
id | string | Indicates the process ID created by sending the photo. |
status | integer | Indicates the status of the Process, used to indicate whether it is completed or not. The complete list can be seen at Process Status. |
unicoId.result | string | Indicates the authenticity of the CPF. Values can be Yes or Inconclusive. |
Important
- When the GET request goes to a process with status 5 (error), the return status code is 410 (Gone) instead of 200 (Success).
Request error
If an error occurs, the return response is a JSON containing the error code and description:
{
"Error": {
"code": "40004",
"description": "Error description"
}
}
For more information on the errors returned, see the list available in the article Response Errors.
Any concerns?
Missing something or still need help? If you are already a customer or partner, you can contact us through the Help Center.