Skip to content
On this page

Create Person Verification Requests.

Accepts requests for performing KYC Verifications on a Person Profile.

Endpoints

EnvironmentAPI Endpoint
Sandboxhttps://onprem-test.streamline.laboremus.ug/routing/v1/person-verifications

Request

Request Type : POST

Authorization

INFO

Always add your Subscription key to the request.

Query Parameters

NameTypeRequiredDescription
vstringnoThe version of the API

Content type

multipart/form-data

Request Body

NameTypeRequiredDescription
profileIdstringyesA unique identifier for the profile.
referenceIdstringyesA reference identifier.
tenantIdstringyesThe tenant identifier.
verificationobjectyesThe verifications to be performed.

verification

NameTypeRequiredDescription
identityDocumentsarray of objectsyesList of identity documents for verification.
phoneNumbersarray of objectsnoList of phone numbers associated with verification.
tinsarray of objectsnoList of Tax Identification Numbers (TINs) for verification.
amlPepScreeningobjectnoAnti-Money Laundering (AML) and Politically Exposed Persons (PEP) screening details.
biometricsobjectnoBiometrics information for verification.
riskProfileobjectnoThe risk profile of the individual being verified.

identityDocuments

NameTypeRequiredDescription
idTypestringyesThe type of identification document (e.g., NationalID).
idNumberstringnoThe identification number.
documentNumberstringnoThe document number.
countrystringnoThe country that issued the document.
dateOfBirthstring (datetime)noDate of birth.
dateOfExpirystring (datetime)noDocument expiration date.
surnamestringyesThe surname of the individual.
givenNamesstringyesThe given names of the individual.
otherNamesstringnoOther names of the individual.
dateOfIssuestring (datetime)noDocument issue date.
requiresValidationbooleanyesWhether the document requires validation.
useFingerprintbooleanyesWhether fingerprints are used for verification.
fingerprintPositionstringnoPosition of the captured fingerprint.
fingerprintCapturedstringnoCaptured fingerprint data.
fingerprintFormatstringnoFormat of the fingerprint.
documentFilesarraynoList of document files associated with the identity.
identificationIdstringyesA unique identifier for the identification document.

documentFiles

NameTypeRequiredDescription
idstringyesUnique identifier for the document file.
namestringyesName of the document.
contentTypestringyesThe content type of the document file.
documentTypestringyesType of the document (e.g., ID, Passport).

phoneNumbers

NameTypeRequiredDescription
valuestringyesThe phone number.
nationalIdNumberstringnoThe national ID number associated with the phone number.
vendorCodestringnoVendor code for the phone number (e.g., STRM_01).
countrystringyesCountry of the phone number.

tins

NameTypeRequiredDescription
numberstringyesThe TIN (Tax Identification Number).
countrystringyesCountry of the TIN.

amlPepScreening

NameTypeRequiredDescription
surnamestringyesThe surname of the individual.
givenNamestringyesThe given name of the individual.
otherNamestringnoAny other name of the individual.
genderstringyesThe gender of the individual.
dateOfBirthstring (datetime)yesDate of birth.

biometrics

NameTypeRequiredDescription
customerPhotoMatchbooleanyesIndicates if the customer photo matches the records.
photoMatchScorestringnoScore for the photo match.
numberOfFramesintegeryesNumber of frames used for the photo match.
livenessDetectionbooleanyesWhether liveness detection was successful.
livenessScorestringnoScore for liveness detection.
fingerprintVerificationbooleanyesWhether fingerprint verification was successful.
customerPhotoMatchSubmittedAtstring (datetime)yesTimestamp of photo match submission.
livenessDetectionSubmittedAtstring (datetime)yesTimestamp of liveness detection submission.
fingerprintVerificationSubmittedAtstring (datetime)yesTimestamp of fingerprint verification submission.

riskProfile

NameTypeRequiredDescription
nationalitystringyesNationality of the individual.
occupationstringyesOccupation of the individual.
districtstringyesDistrict of the individual's residence.
monthlyIncomestringyesMonthly income of the individual.
usePhoneNumberbooleannoIndicates if the phone number is used in the risk profile.
useTinbooleannoIndicates if the TIN is used in the risk profile.
usePepbooleannoIndicates if PEP (Politically Exposed Person) status is used in the risk profile.
useIdentityDocumentbooleannoIndicates if the identity document is used in the risk profile.

Example Request Body

json
{
  "profileId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "referenceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "tenantId": "string",
  "verification": {
    "identityDocuments": [
      {
        "idType": "NationalID",
        "idNumber": "string",
        "documentNumber": "string",
        "country": "string",
        "dateOfBirth": "2024-10-01T07:56:15.124Z",
        "dateOfExpiry": "2024-10-01T07:56:15.124Z",
        "surname": "string",
        "givenNames": "string",
        "otherNames": "string",
        "dateOfIssue": "2024-10-01T07:56:15.124Z",
        "requiresValidation": true,
        "useFingerprint": true,
        "fingerprintPosition": "string",
        "fingerprintCaptured": "string",
        "fingerprintFormat": "string",
        "documentFiles": [
          {
            "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "name": "string",
            "contentType": "string",
            "documentType": "string"
          }
        ],
        "identificationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      }
    ],
    "phoneNumbers": [
      {
        "value": "string",
        "nationalIdNumber": "string",
        "vendorCode": "STRM_01",
        "country": "string"
      }
    ],
    "tins": [
      {
        "number": "string",
        "country": "string"
      }
    ],
    "amlPepScreening": {
      "surname": "string",
      "givenName": "string",
      "otherName": "string",
      "gender": "string",
      "dateOfBirth": "2024-10-01T07:56:15.124Z"
    },
    "biometrics": {
      "customerPhotoMatch": true,
      "photoMatchScore": "string",
      "numberOfFrames": 0,
      "livenessDetection": true,
      "livenessScore": "string",
      "fingerprintVerification": true,
      "customerPhotoMatchSubmittedAt": "2024-10-01T07:56:15.124Z",
      "livenessDetectionSubmittedAt": "2024-10-01T07:56:15.124Z",
      "fingerprintVerificationSubmittedAt": "2024-10-01T07:56:15.124Z"
    },
    "riskProfile": {
      "nationality": "string",
      "occupation": "string",
      "district": "string",
      "monthlyIncome": "string",
      "usePhoneNumber": true,
      "useTin": true,
      "usePep": true,
      "useIdentityDocument": true
    }
  }
}
{
  "profileId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "referenceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "tenantId": "string",
  "verification": {
    "identityDocuments": [
      {
        "idType": "NationalID",
        "idNumber": "string",
        "documentNumber": "string",
        "country": "string",
        "dateOfBirth": "2024-10-01T07:56:15.124Z",
        "dateOfExpiry": "2024-10-01T07:56:15.124Z",
        "surname": "string",
        "givenNames": "string",
        "otherNames": "string",
        "dateOfIssue": "2024-10-01T07:56:15.124Z",
        "requiresValidation": true,
        "useFingerprint": true,
        "fingerprintPosition": "string",
        "fingerprintCaptured": "string",
        "fingerprintFormat": "string",
        "documentFiles": [
          {
            "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "name": "string",
            "contentType": "string",
            "documentType": "string"
          }
        ],
        "identificationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      }
    ],
    "phoneNumbers": [
      {
        "value": "string",
        "nationalIdNumber": "string",
        "vendorCode": "STRM_01",
        "country": "string"
      }
    ],
    "tins": [
      {
        "number": "string",
        "country": "string"
      }
    ],
    "amlPepScreening": {
      "surname": "string",
      "givenName": "string",
      "otherName": "string",
      "gender": "string",
      "dateOfBirth": "2024-10-01T07:56:15.124Z"
    },
    "biometrics": {
      "customerPhotoMatch": true,
      "photoMatchScore": "string",
      "numberOfFrames": 0,
      "livenessDetection": true,
      "livenessScore": "string",
      "fingerprintVerification": true,
      "customerPhotoMatchSubmittedAt": "2024-10-01T07:56:15.124Z",
      "livenessDetectionSubmittedAt": "2024-10-01T07:56:15.124Z",
      "fingerprintVerificationSubmittedAt": "2024-10-01T07:56:15.124Z"
    },
    "riskProfile": {
      "nationality": "string",
      "occupation": "string",
      "district": "string",
      "monthlyIncome": "string",
      "usePhoneNumber": true,
      "useTin": true,
      "usePep": true,
      "useIdentityDocument": true
    }
  }
}

Response

Content type

application/json

Response Body

NameTypeDescription
profileIdstringA unique identifier for the profile.
referenceIdstringA reference identifier.
messagestringA message associated with the request.

Example Response Body

json
{
  "profileId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "referenceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "message": "string"
}
{
  "profileId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "referenceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "message": "string"
}

Error Response

400 Bad Request

application/json

NameTypeDescription
typestring or nullType of error response
titlestring or nullThe title of the error response
statusinteger(int32)The status of the error response
traceIdstring or nullThe traceId of the error request producing the error
errorsobjectObject defining the errors

errors

NameTypeDescription
propertyArray of stringsThe definition of the errors

401 Unauthorized

application/json

NameTypeDescription
errorobject(Error)Type of error response

Error

NameTypeDescription
codestring or nullThe Error code
messagestring or nullThe Error message

403 Forbidden

application/json

NameTypeDescription
errorobject(Error)Type of error response

Error

NameTypeDescription
codestring or nullThe Error code
messagestring or nullThe Error message

404 Not Found

application/json

NameTypeDescription
errorobject(Error)Type of error response

Error

NameTypeDescription
codestring or nullThe Error code
messagestring or nullThe Error message

500 Server Error

application/json

NameTypeDescription
errorobject(Error)Type of error response

Error

NameTypeDescription
codestring or nullThe Error code
messagestring or nullThe Error message

Tech served right