Response Scenarios

In this section, you will find all response scenarios for by Unico, regardless of whether the processes are completed or not


Flow id


Scenario: Process created


It occurs when the process has been created but has not yet been completed by the user.

stateresult

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"
        }

Scenario: Process created with an error


It occurs when the process has been created, but there was an error in the service.

stateresult

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"
        }

Scenario: Process completed and approved in IDUnico


It occurs when the process was created, finalized by the user, and received a POSITIVE response from IDUnico.

stateresult

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"
        }

Scenario: Process completed and inconclusive in IDUnico


It occurs when the process was created, finalized by the user, but received an INCONCLUSIVE response from IDUnico.

stateresult

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"
        }

Scenario: Process completed and failed the Liveness


It occurs when the process was created, completed by the user, but received a failure response for the Liveness.

stateresult

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


Scenario: Process created


It occurs when the process has been created but has not yet been completed by the user.

stateresult

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"
        }

Scenario: Process created with an error


It occurs when the process has been created, but there was an error in the service.

stateresult

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"
        }

Scenario: Process completed and approved in IDUnico


It occurs when the process was created, finalized by the user, and received a POSITIVE response from IDUnico.

stateresult

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"
        }

Scenario: Process completed, inconclusive in IDUnico and with score in IDCheck


It occurs when the process was created, completed by the user, received an inconclusive response from IDUnico, but still returned a score from IDCheck.

stateresult

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"
        }

Scenario: Process completed, inconclusive in IDUnico and with discarded due to a divergence in IDCheck


It occurs when the process was created, completed by the user, received an inconclusive response from IDUnico, and generated a divergence in IDCheck, which took longer than 60 seconds to be resolved by the divergence engines.

stateresult

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"
        }

Scenario: Process completed and failed the Liveness


It occurs when the process was created, completed by the user, but received a failure response for the Liveness.

stateresult

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"
        }

For detailed verification of the API parameters, please refer to the Parameters Specification section.


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

Institucional

Sobre nós

Copyright © 2024 unico. All rights reserved