Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
6.0 kB
2
Indexable
Never
{
        "self": "/v1/accounts/ACCcd530a9f2c67515319134aeff8aefa4c/validations",
        "next": "",
        "history": [
            {
                "validation_id": "VLDce2b88168aa073e980d1f5dfd0a77e00",
                "ip_address": "XX.136.95.XX",
                "account_id": "ACCcd530a9f2c67515319134aeff8aefa4c",
                "type": "face-recognition",
                "validation_status": "success",
                "threshold": 0.65,
                "creation_date": "2022-12-19T13:27:38.444869709Z",
                "details": {
                    "face_recognition_validations": {
                        "similarity_status": "success",
                        "confidence_score": 1
                    }
                }
            },
            {
                "validation_id": "VLDb4589e193b9e01860bdcf527965980b1",
                "ip_address": "XX.136.95.XX",
                "account_id": "ACCcd530a9f2c67515319134aeff8aefa4c",
                "type": "document-validation",
                "validation_status": "failure",
                "failure_status": "declined",
                "declined_reason": "missing_mrz",
                "creation_date": "2022-12-19T13:25:56.414461496Z",
                "details": {
                    "document_details": {
                        "country": "MX",
                        "creation_date": "2022-12-19T13:25:56.336302967Z",
                        "date_of_birth": "1992-02-27T00:00:00Z",
                        "document_number": "DIKM920227HNXXXXXX",
                        "document_type": "national-id",
                        "expiration_date": "2031-01-01T00:00:00Z",
                        "gender": "male",
                        "issue_date": "2021-01-01T00:00:00Z",
                        "last_name": "DIECK XXXXXX",
                        "mexico_document": {
                            "elector_key": "DCKTMR920227XXXXXX",
                            "section": 409
                        },
                        "mime_type": "image/jpeg",
                        "name": "MORIS XXXXXX",
                        "registration_date": "2010-01-01T00:00:00Z",
                        "residence_address": "C VALLE DE 66250 SAN PEDRO GARZA GARCIA, N.L."
                    },
                    "document_validations": {
                        "data_consistency": [
                            {
                                "validation_name": "Validation of curp",
                                "result": "valid",
                                "validation_type": "curp-validation",
                                "message": "The curp generated by the credential information and the credential curp match",
                                "manually_reviewed": False
                            },
                            {
                                "validation_name": "Validation of mrz",
                                "result": "invalid",
                                "validation_type": "mrz-validation",
                                "message": "The OCR could not recognize the MRZ of the document",
                                "decline_reason": "missing_mrz",
                                "manually_reviewed": False
                            }
                        ],
                        "government_database": [
                            {
                                "validation_name": "Validation of Government Database - Renapo",
                                "result": "invalid",
                                "validation_type": "government-database-digital-validation-renapo",
                                "message": "Missing required inputs for database checks",
                                "decline_reason": "missing_inputs_to_create_check",
                                "manually_reviewed": False
                            },
                            {
                                "validation_name": "Validation of Government Database - INE",
                                "result": "invalid",
                                "validation_type": "government-database-digital-validation-ine",
                                "message": "Missing required inputs for database checks",
                                "decline_reason": "missing_inputs_to_create_check",
                                "manually_reviewed": False
                            }
                        ],
                        "photo_of_photo": [
                            {
                                "validation_name": "Validation of photo of photo",
                                "result": "skipped",
                                "validation_type": "photo-of-photo-validation",
                                "message": "Validation is disabled by config",
                                "manually_reviewed": False
                            }
                        ]
                    }
                },
                "attachment_status": "valid",
                "attachment_validations": [
                    {
                        "validation_name": "Validation of face detection",
                        "validation_type": "face-detection-validation",
                        "attachment_type": "document-front",
                        "result": "valid"
                    },
                    {
                        "validation_name": "Validation of document text legibility",
                        "validation_type": "ocr-validation",
                        "attachment_type": "document-front",
                        "result": "valid"
                    },
                    {
                        "validation_name": "Validation of document text legibility",
                        "validation_type": "ocr-validation",
                        "attachment_type": "document-reverse",
                        "result": "valid"
                    }
                ]
            }
        ]
    }