Transactional
Endpoint to create a new Transactional process in by Client.
Valid access-token.
Valid APIKEY with the capabilities for Transactional use.
Identifier of the process that was generated during the creation of the biometric transaction, whose photo will be used for comparison.
80371b2a-3ac7-432e-866d-57fe37896ac6Operation's use case.
OnboardingThe ID of the branch where the process will be created. If there is only one branch associated with the service account, there is no need to pass this parameter. If there is a separation of processes by branch, you will receive the branch IDs from the Unico team.
35d734c4-7fbb-4b2f-a1dc-7e1575514819Encrypted file generated by the SDK or base64 (if not using Liveness Detection).
/9j/4AAQSkZJR...Process created successfully.
Bad Request.
Forbidden.
Internal Server Error.
POST /processes/v1 HTTP/1.1
Host: api.id.uat.unico.app
Authorization: text
APIKEY: text
Content-Type: application/json
Accept: */*
Content-Length: 275
{
"subject": {
"code": "12345678909",
"name": "Luke Skywalker",
"email": "[email protected]",
"phone": "551972557070"
},
"referenceProcessId": "80371b2a-3ac7-432e-866d-57fe37896ac6",
"useCase": "Onboarding",
"subsidiaryId": "35d734c4-7fbb-4b2f-a1dc-7e1575514819",
"imageBase64": "/9j/4AAQSkZJR..."
}{
"id": "fda9bdb4-00cd-4ddb-bfea-d8cfe78eaa34",
"status": 3,
"unicoId": {
"result": "yes"
},
"identityFraudsters": {
"result": "yes"
},
"biometryToken": {
"result": "true"
},
"liveness": 1
}Important:
You can only use 1:1 validation. If you use it this way, you will only receive the
biometryTokenin the response.To use the liveness capability, it is essential to use our SDKs:
It is possible to use the Validation (1:1) capability without liveness. In this use case, we will not return the
livenessparameter in the API response. In this scenario, there is no validation of the liveness, not even passive.When using Validation (1:1) with other capabilities, it is always necessary to consider the returns separately.
For this use case, it is not possible to orchestrate with Risk Score;
If you use reference processes from by Unico, the value that should be used as
referenceProcessIdmust refer to theauthenticationInfo.authenticationIdparameter;If an error occurs during processing, the process will return a
status = 5, as shown in the example below:{ "id": "80371b2a-3ac7-432e-866d-57fe37896ac6", "status": 5 }
Errors
20900
O base64 informado não é válido.
The base64 parameter is invalid. Possible causes: It's not an image or it's an injection attempt.
20807
A imagem precisa estar no padrão HD ou possuir uma resolução superior a 640 x 480.
The resolution of the uploaded image is too low.
20507
O parâmetro subject.code é inválido.
Non-standard or non-existent CPF.
20506
O base64 informado é muito grande. O tamanho máximo suportado é até 800kb.
When the e-mail address provided is not vThe image is too large. The image can be compressed to JPEG92 without loss of quality.
20505
O base64 informado não é suportado. Os formatos aceitos são png, jpeg e webp.
When the phone number entered is not validBase64 invalid. Possible causes: not a valid image or invalid prefix.
20009
O parâmetro imagebase64 não foi informado.
The imagebase64 parameter, which contains the person's selfie, is missing.
20006
O parâmetro subject.name não foi informado.
The subject.name parameter, which contains the person's name, is missing.
20005
O parâmetro subject.code não foi informado.
The subject.code parameter, which contains the person's cpf, is missing.
20004
O parâmetro subject não foi informado.
The subject parameter, which contains the person's data (cpf, name), is missing.
20003
The request body is missing or invalid.
Null or invalid payload.
20002
O parâmetro APIKey não foi informado.
The APIKEY parameter is missing from the request header.
20001
O parâmetro authtoken não foi informado
The integration token parameter is missing from the request header.
10508
The JWT with the captured face has already been used.
The jwt can only be used once.
10507
The JWT with the captured face is expired.
JWT expired. The .jwt must be sent within 10 minutes.
10506
The bundle is invalid.
Invalid bundle. APIKEY uses a security method and this request does not meet the security requirements (SDK).
30017
Jwt header is an invalid JSON.
When the access-token used contains wrong characters.
10502
O token informado está expirado.
When the access-token used has expired
10501
O token informado é inválido.
The authentication token is invalid.
10201
O AppKey informado é inválido.
The APIKEY parameter has not been entered or does not exist.
99999
Internal failure! Try again later
When there is an internal error.
Last updated
Was this helpful?