API Methods

Get VX Session Status

GET /api/session/result/:request_id

This endpoint retrieves the current status of a journey associated with a specific request_id. The status provides insight into where the session is in the verification process, such as whether it has been started, is in progress, or has been completed.

Headers

Response

{
    "current_status": "COMPLETED"
}

Get VX Session Result

GET /api/session/result/:request_id

This endpoint retrieves the session result associated with a specific request_id. The session result contains detailed information about the verification process for a user, including personal details, status, and additional metadata.

Headers

Response

{
    "fn": "John",
    "ln": "Doe",
    "addr": "",
    "city": "",
    "state": "",
    "zip": "",
    "dob": "19900101",
    "email": "johndoe@example.com",
    "phone": "123-456-7890",
    "reference": "",
    "status": "PASS",
    "request_id": "19fe3b9e-384e-41d1-bded-8de9ef3abacb",
    "additionalData": [],
    "dcams_plus": {
        "document_data": {},
        "output": {
            "vpin": {}
        },
        "api_processing_error": false,
        "service": "PhoneMatch5.0.Smart2FA.SMS",
        "confirmation": 180603431,
        "action": "PASS",
        "detail": "ALL CHECKS PASSED",
        "issues": [
            "OUT-OF-BAND SUCCESSFUL"
        ]
    },
    "storage": {
        "success": null
    },
    "journey": {
        "stops": [
            {
                "timestamp": "2024-08-19 20:56:25.223174",
                "type": "NEW REGISTRATION",
                "source": "",
                "status": "",
                "action": "",
                "detail": ""
            },
            {
                "timestamp": "2024-08-19 20:56:41.280685",
                "type": "Data Service",
                "source": "PhoneMatch5.0.Smart2FA.SMS",
                "status": "PENDING",
                "action": "PENDING",
                "detail": "MORE INFORMATION IS REQUIRED"
            },
            {
                "timestamp": "2024-08-19 20:56:57.448256",
                "type": "Data Service",
                "source": "PhoneMatch5.0.Smart2FA.SMS",
                "status": "PASS",
                "action": "PASS",
                "detail": "ALL CHECKS PASSED"
            }
        ],
        "duration": "00h 00m 32s"
    },
    "documents": null
}

Last updated