Consultar resultados de uma Transação

Este método é utilizado para buscar informações de uma transação e suas respectivas análises na API da Plataforma Data Trust.

A consulta de resultados (all) só retorna os resultados de todos os componentes consultados na transação.

Modelo de Chamada

Request:

GET https://datatrustapihml.clearsale.com.br/v1/transaction/{id}/all HTTP/1.1
Authorization: Bearer {Token}

Response:

HTTP/1.1 200 Ok  
Content-Type: application/json; charset=utf-8 
{
    "transaction": {
        "id": "63v6789ff91d4bdf8d10df0be1617b03",
        "createdAt": "2020-11-05T17:24:43.727Z",
        "identifierId": "123abc", 
        "channelId": 1234,
        "documentType": "CPF",
        "document": "12345678912",
        "name": "João Santos Silva",
        "birthdate": "1998-12-30",
        "email": "[email protected]",
        "mothersName": "Maria Eduarda",
        "verifiedEmail": false,
        "sessionId": "SessionID123",
        "address": {
            "zipCode": "00000000",
            "street": "Rua teste",
            "number": "12355",
            "complement": "Esquina 3",
            "district": "B13",
            "city": "São Paulo",
            "state": "SP",
            "country": "Brasil"
        },
        "phone": {
            "countryCode": 55,
            "areaCode": 11,
            "number": 985985875,
            "verified": false
        },
        "referenceDate": "2020-11-05T17:24:43.727Z",
        "identifierDate": "2020-11-05T17:24:43.727Z",
        "genericFields":null,
        "type": 1
    },
    "scores": [
        {
            "value": 33.0995528410065,
            "reason": "Initial",
            "createdAt": "2020-11-05T19:36:59.0783706Z"
        }
    ],
    "ratings": [
        {
            "value": 3,
            "reason": "Initial",
            "createdAt": "2020-11-05T19:37:10.4275409Z",
            "relatedTo": [
                "Document",
                "Email"
            ]
        },
        {
            "value": 2,
            "reason": "Initial",
            "createdAt": "2020-11-05T19:37:10.5477269Z",
            "relatedTo": [
                "Email",
                "ZipCode"
            ]
        },
        {
            "value": 3,
            "reason": "Initial",
            "createdAt": "2020-11-05T19:37:10.667731Z",
            "relatedTo": [
                "Document",
                "Phone"
            ]
        },
        {
            "value": 3,
            "reason": "Initial",
            "createdAt": "2020-11-05T19:37:10.7886449Z",
            "relatedTo": [
                "Phone",
                "Email"
            ]
        },
        {
            "value": 3,
            "reason": "Initial",
            "createdAt": "2020-11-05T19:37:10.9074352Z",
            "relatedTo": [
                "Document",
                "ZipCode"
            ]
        },
        {
            "value": 2,
            "reason": "Initial",
            "createdAt": "2020-11-05T19:37:11.0264012Z",
            "relatedTo": [
                "Phone",
                "ZipCode"
            ]
        }
    ],
    "insights": [
        {
            "code": "GER2151",
            "description": "CPF com incidência de transações positivas",
            "type": "CPF",
            "category": "Característica CPF",
            "relevance": "Positivo",
            "relatedTo": [
                "Document"
            ]
        },
        {
            "code": "EML0001",
            "description": "O E-mail informado é um Hot-Email da pessoa",
            "type": "CPF Email",
            "category": "Vínculo Email",
            "relevance": "Positivo",
            "relatedTo": [
                "Document",
                "Email"
            ]
        }
    ],
    "smsToken": {
        "status": "Waiting",
        "createdAt": "2020-11-05T19:38:12.0236286Z"
    },
    "biometrics": {
        "status": "Done",
        "score": 63.54,
        "createdAt": "2021-03-30T19:16:38.8400487Z"
    }
}
Language
Authorization
Bearer
JWT
Click Try It! to start a request and see the response here!