Introducing VIDA Identity Stack: All of VIDA, in one place 🎉
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Passports

📝 Note: Passport IDV (Identity Verification) results do not include confidence scores. Instead, the response includes:

  • Code 5000 → Indicates the passport was successfully tested for the specified check.

  • A success or failure message → Indicates whether the check passed or failed.

Request

Request
{
    "operations": ["idVerification"],
    "payload": {
        "partnerTrxId": "{{$guid}}",
        "groupId":"{{$guid}}",
        "country": "IND",
        "idType": "PASSPORT",
        "idSubtype": "N/A",
        "idFrontSideImage":"Base64 encoded image of passport front side"
      },
      "userConsent": {
        "userIp": "226.80.211.232",
        "country": "IND",
        "obtained": true,
        "obtainedAt": "1680700959"
    }

Success Response

HTTP Status Code: 200

Success JSON Response
{
    "transactionId": "0d91944d-0f76-49d3-8784-4a294443f64f",
    "partnerTrxId": "a8bcaf55-154f-4d26-ae36-6655e6df47ef",
    "groupId": "26694bb3-71ce-4735-aa6a-ad5d5e532c4e",
    "card": {
        "country": "India",
        "type": "PASSPORT",
        "isoAlpha3CountryCode": "IND",
        "isoAlpha2CountryCode": "IN"
    },
    "idVerificationResult": {
        "spoofingResult": {
            "message": "success",
            "code": 5000
        },
        "landmarkResult": {
            "message": "failed",
            "code": 5000
        },
        "forgeryResult": {
            "message": "failed",
            "code": 5000
        }
    }
}

Last updated