Global Document Verification 2

This endpoint allows users verify their documents using our SDK.

Upon calling the endpoint, users will receive a verification link. Opening this link will direct them to the SDK for verification. After completing verification, they must save the reference number found in the link. Copying and storing this reference is essential.

Test data:

custom_name: Prembly

redirect_url: https://prembly.com

reference:12345678904313456

Request URL

📘

Post: https://api.prembly.com/identitypass/verification/global/document-check-v2

Response URL

📘

Post: https://api.prembly.com/identitypass/verification/global/document-check-v2-get-result

Request Header

keyDescription
x-api-keyyour api-key
app-idyour app-id

Request Body for Request URL

KeyDescription
custom_nameUser can choose a name
redirect_urlPrembly redirect URL
referenceUnique identifier selected by user

Request Body for Response URL

KeyDescription
referenceUnique identifier selected by user

Sample Response for Request

{
    "status": true,
    "detail": "Verification Successful",
    "response_code": "00",
    "data": {
        "verification_link": "https://widget-preview.prembly.com/document/verification/?ref=460738e7-8dec-4370-bf58-a98a61116"
    },
    "verification": {
        "status": "VERIFIED",
        "reference": "421e17f7-d0b2-4ee4-ac25-da41ab07ce"
    },
    "widget_info": {},
    "session": {},
    "endpoint_name": "Document Verification V2"
}

Sample Response for Response

{
    "status": true,
    "detail": "Verification Successful",
    "response_code": "00",
    "data": {
        "created_at": "2024-10-24T06:27:35.920Z",
        "created_by": "API",
        "flow_type": "NORMAL2",
        "name": "Prembly",
        "reference": "9e4cf1f4-f9f1-4d23-b4d7-d1e8e979f4",
        "status": "PENDING",
        "transaction_id": "01JAYKB2VGR5C1T4DJGPM7Y",
        "default_language": "en-AU",
        "doc_only": false,
        "likeness_features": {}
    },
    "service_provider": "prembly"
}