Cenários de response
Nesta seção, você encontrará todos os cenários de response do by Unico, independentemente se os processos estão finalizados ou não
Flow id
Cenário: Processo criado
Ocorre quando o processo foi criado, porém ainda não foi finalizado pelo usuário.
PROCESS_STATE_CREATED
PROCESS_RESULT_UNSPECIFIED
CreateProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
"score": 0
},
"authenticationId": "",
"livenessResult": "LIVENESS_RESULT_UNSPECIFIED"
}
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
"score": 0
},
"authenticationId": "",
"livenessResult": "LIVENESS_RESULT_UNSPECIFIED"
}
Cenário: Processo criado com erro
Ocorre quando o processo foi criado, porém houve algum erro no serviço.
PROCESS_STATE_FAILED
PROCESS_RESULT_ERROR
CreateProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
"score": 0
},
"authenticationId": "",
"livenessResult": "LIVENESS_RESULT_UNSPECIFIED"
}
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
"score": 0
},
"authenticationId": "",
"livenessResult": "LIVENESS_RESULT_UNSPECIFIED"
}
Cenário: Processo finalizado e aprovado no IDUnico
Ocorre quando o processo foi criado, finalizado pelo usuário e teve retorno POSITIVO do IDUnico.
PROCESS_STATE_FINISHED
PROCESS_RESULT_OK
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_POSITIVE",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_FALSE",
"score": 0
},
"authenticationId": "652f8864-c364-4cc7-9abb-d38a86d21d66",
"livenessResult": "LIVENESS_RESULT_LIVE"
}
Cenário: Processo finalizado e inconclusivo no IDUnico
Ocorre quando o processo foi criado, finalizado pelo usuário, mas teve retorno INCONCLUSIVO do IDUnico.
PROCESS_STATE_FINISHED
PROCESS_RESULT_OK
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_INCONCLUSIVE",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_FALSE",
"score": 0
},
"authenticationId": "652f8864-c364-4cc7-9abb-d38a86d21d66",
"livenessResult": "LIVENESS_RESULT_LIVE"
}
Cenário: Processo finalizado e recusado no IDUnico
Ocorre quando o processo foi criado, finalizado pelo usuário e teve retorno NEGATIVO do IDUnico.
PROCESS_STATE_FINISHED
PROCESS_RESULT_INVALID_IDENTITY
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_NEGATIVE",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_FALSE",
"score": 0
},
"authenticationId": "652f8864-c364-4cc7-9abb-d38a86d21d66",
"livenessResult": "LIVENESS_RESULT_LIVE"
}
Cenário: Processo finalizado e com falha na Prova de Vida
Ocorre quando o processo foi criado, finalizado pelo usuário, mas teve retorno de falha na prova de vida.
PROCESS_STATE_FINISHED
PROCESS_RESULT_INVALID_IDENTITY
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
"score": 0
},
"authenticationId": "",
"livenessResult": "LIVENESS_RESULT_NOT_LIVE"
}
Flow idcheck
Cenário: Processo criado
Ocorre quando o processo foi criado, porém ainda não foi finalizado pelo usuário.
PROCESS_STATE_CREATED
PROCESS_RESULT_UNSPECIFIED
CreateProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
"score": 0
},
"authenticationId": "",
"livenessResult": "LIVENESS_RESULT_UNSPECIFIED"
}
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
"score": 0
},
"authenticationId": "",
"livenessResult": "LIVENESS_RESULT_UNSPECIFIED"
}
Cenário: Processo criado com erro
Ocorre quando o processo foi criado, porém houve algum erro no serviço.
PROCESS_STATE_FAILED
PROCESS_RESULT_ERROR
CreateProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
"score": 0
},
"authenticationId": "",
"livenessResult": "LIVENESS_RESULT_UNSPECIFIED"
}
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
"score": 0
},
"authenticationId": "",
"livenessResult": "LIVENESS_RESULT_UNSPECIFIED"
}
Cenário: Processo finalizado e aprovado no IDUnico
Ocorre quando o processo foi criado, finalizado pelo usuário e teve retorno POSITIVO do IDUnico.
PROCESS_STATE_FINISHED
PROCESS_RESULT_OK
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_POSITIVE",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_TRUE",
"score": 0
},
"authenticationId": "8b2516fa-0c83-44ef-a365-3269e425166d",
"livenessResult": "LIVENESS_RESULT_LIVE"
}
Cenário: Processo finalizado com sucesso, inconclusivo no IDUnico e com score no IDCheck
Ocorre quando o processo foi criado, finalizado pelo usuário, teve retorno INCONCLUSIVO do IDUnico e teve um Score válido no IDCheck.
PROCESS_STATE_FINISHED
PROCESS_RESULT_OK
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_INCONCLUSIVE",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_TRUE",
"score": 10
},
"authenticationId": "09f14518-e083-44c2-bd32-2d0a56426711",
"livenessResult": "LIVENESS_RESULT_LIVE"
}
Cenário: Processo finalizado com sucesso, inconclusivo no IDUnico e descartado por divergência no IDCheck
Ocorre quando o processo foi criado, finalizado pelo usuário, teve retorno INCONCLUSIVO do IDUnico e gerou uma divergência no IDCheck, que por sua vez demorou mais do que 60s para ser resolvida pelos motores de divergência.
PROCESS_STATE_FINISHED
PROCESS_RESULT_INVALID_IDENTITY
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
"score": 0
},
"authenticationId": "",
"livenessResult": "LIVENESS_RESULT_UNSPECIFIED"
}
Cenário: Processo finalizado e recusado no IDUnico
Ocorre quando o processo foi criado, finalizado pelo usuário e teve retorno NEGATIVO do IDUnico.
PROCESS_STATE_FINISHED
PROCESS_RESULT_INVALID_IDENTITY
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_NEGATIVE",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_FALSE",
"score": 0
},
"authenticationId": "652f8864-c364-4cc7-9abb-d38a86d21d66",
"livenessResult": "LIVENESS_RESULT_LIVE"
}
Cenário: Processo finalizado com sucesso e com falha na Prova de Vida
Ocorre quando o processo foi criado, finalizado pelo usuário, porém não foi possível validar que usuário que capturou a face estava ao vivo no momento da captura.
PROCESS_STATE_FINISHED
PROCESS_RESULT_INVALID_IDENTITY
GetProcess
"authenticationInfo": {
"authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
"scoreEngineResult": {
"scoreEnabled": "SCORE_ENABLED_UNSPECIFIED",
"score": 0
},
"authenticationId": "",
"livenessResult": "LIVENESS_RESULT_NOT_LIVE"
}
Dúvidas?
Não encontrou algo ou ainda precisa de ajuda? Se já é um cliente ou parceiro, pode entrar em contato através da Central de Ajuda.
Atualizado
Isto foi útil?