Start government issued ID checks

Use this endpoint to check the authenticity of the government issued IDs. The required documents needs to be uploaded and key obtained before using this endpoint .

Sample request body

{
  "inputs": [
    {
      "docType":"passport",
      "country":"NG",
      "key":"3dd2e8709318275a5250c8b691ca6fce7da8cacbb353c1386486bd11135fba12"
    }
  ],
  "verificationId":"c61060e9-635a-5392-b39d-b1c27479d67c"
}

Response

The result of this endpoint is sent to the integrator's webhook URL. Sample responses for passport are shown below

    {
      "event": "COMPLIANCE_DOC_DATA_EVENT",
      "message": "Ok",
      "data": {
        "id": "b9665b0e-a621-450b-b444-871fdddc3205",
        "docType": "passport",
        "fullName": "CIROMA CHUKWUMA ADEKUNLE",
        "dateOfBirth": "1998-04-25",
        "frontUrl": "https://sandbox-api.oneliquidity.technology/compliance/v1/image/request/1a313ffc-75c3-53cf-9695-6ac441758483",
        "resourseId": "65a7f840920212001d382257",
        "documentNumber": "A24394286",
        "expirationDate": "2029-06-25"
      }
    }
  {
    "event": "COMPLIANCE_DOC_AML_WATCHLIST",
    "message": "Ok",
    "data": {
      "id": "b9665b0e-a621-450b-b444-871fdddc3205",
      "list": [
        {
          "fullName": "CIROMA CHUKWUMA ADEKUNLE",
          "dateOfBirth": "25-04-1998",
          "list": "US Bureau of Industry and Security",
          "found": false
        },
        {
          "fullName": "CIROMA CHUKWUMA ADEKUNLE",
          "dateOfBirth": "25-04-1998",
          "list": "Swiss SECO Sanctions",
          "found": false
        },
       ...
      ]
    }
  }
  {
    "event": "COMPLIANCE_DOC_TEMPLATE_EVENT",
    "message": "Ok",
    "data": {
      "id": "b9665b0e-a621-450b-b444-871fdddc3205",
      "docType": "passport",
      "templateMatch": true
    }
  }
Language
Authorization
Bearer
Click Try It! to start a request and see the response here!