Example of responses separated by flows

In this section, you will find all possible response scenarios for completed processes in by Unico


Responses separated by flows


{
    "process": {
        "id": "c0dcbf87-76b2-431c-9d8e-e9ac644be642",
        "flow": "idlive",
        "callbackUri": "/",
        "userRedirectUrl": "https://cadastro.unico.app/process/c0dcbf87-76b2-431c-9d8e-e9ac644be642",
        "state": "PROCESS_STATE_FINISHED",
        "result": "PROCESS_RESULT_OK",
        "createdAt": "2024-12-23T13:23:49.540865Z",
        "finishedAt": "2024-12-23T13:24:35.485202Z",
        "person": {
            "duiType": "DUI_TYPE_BR_CPF",
            "duiValue": "12345678909",
            "friendlyName": "",
            "email": "luke@unico.io",
            "phone": "5511999995555",
            "notifications": [
                {
                    "notificationChannel": "NOTIFICATION_CHANNEL_WHATSAPP"
                }
            ]
        },
        "purpose": "creditprocess",
        "services": [],
        "authenticationInfo": {
            "authenticationResult": "AUTHENTICATION_RESULT_UNSPECIFIED",
            "scoreEngineResult": {
                "scoreEnabled": "SCORE_ENABLED_FALSE",
                "score": 0
            },
            "authenticationId": "02e2bef1-cad8-435d-9aa9-d4bb7295e7b0",
            "livenessResult": "LIVENESS_RESULT_LIVE",
            "bioTokenEngineResult": "BIO_TOKEN_ENGINE_RESULT_UNSPECIFIED",
            "identityFraudstersResult": "TRUST_RESULT_UNSPECIFIED",
            "faceWithOtherIdResult": "TRUST_RESULT_UNSPECIFIE"
        },
        "capacities": [
            "PROCESS_CAPACITY_IDLIVE"
        ],
        "expiresAt": "2024-12-30T13:23:49.540458Z",
        "token": "",
        "companyData": {
            "branchId": "",
            "countryCode": "BRA"
        }
    }
}

The response examples above consider only processes with state = PROCESS_STATE_FINISHED and result = PROCESS_RESULT_OK. To see responses that do not consider only these conditions, refer to the Response Scenarios 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

Isto foi útil?