API
Our APIs are matched to your business use cases. Truuth offers both end-to-end APIs such as identity verification and APIs for more simple use cases including individual steps within our identity verification process. This provides enterprises full flexibility to build a full end-to-end solution on a single API or to bring in certain truuth capabilities into their own custom solutions.
API List
Initiates the verification journey. Calling this API will create a verification record and generate the invite URL and QR code which can be used to send to the customer to start the verification process.
Visit this link to try out this API or go to our API references page.
Another method to initiate the verification journey. This API sends an invitation email containing a URL to a customer to start their identity verification process.
Visit this link to try out this API or go to ou
This API will return the pre-signed URL. Please use the pre-signed URL to Download the Verification Report PDF in base64 format. Please note that the Verification Report URL is already provided as part of the callback result.
Visit this link to try out this API or go to our API references page.
If the verification has enabled "Company Enquiry Report", calling this API will return the pre-signed URL, use the pre-signed URL to Download the Company Enquiry Report in base64 format. Please note that the Company Enquiry Report URL is already provided as part of the callback result.
Visit this link to try out this API or go to our API references page.
If the verification has enabled "Pep and Sanctions Report", calling this API will return the pre-signed URL, use the pre-signed URL to Download the Pep and Sanctions Report in base64 format. Please note that the Pep and Sanctions Report URL is already provided as part of the callback result.
Visit this link to try out this API or go to our API references page.
Download the face image in base64 format. Please note that the face image URL is already provided as part of the callback result, please refer callback section below [results.faceImage][results.faceImage]
Visit this link to try out this API or go to our API references page.
Download the document image in base64 format. Please note that the document image URL is already provided as part of the callback result, please refer Callback Section [_results.proofingOutcomes.documents.images][_results.proofingOutcomes.documents.images].
Visit this link to try out this API or go to our API references page.
Callback
When the identity verification is complete an HTTP POST request is sent to your specified callback URL containing an application/JSON formatted string with the verification result in the body.
To use the feature, please setup the webhook as explained in the below link,
Successful integration will receive the below details,
Parameters
The following parameters are posted to your callback URL for Identity verification.
Property | Type | Description |
---|---|---|
| String | unique verification identifier |
| String | Reference identifier for easy identification |
| String | Enum: |
| Object | Please refer to the |
| Array | Please refer to the |
| Array | Please refer to |
| String | Face images URL to retrieve the face image |
| Array | Additional reports like |
| String | The verification created date-time in YYYY-MM-DDThh:mm:ss:msZ format ie. 1998-12-23T11:47:15.140Z |
Identity Owner
Property | Type | Description |
---|---|---|
givenName | string | Given name of the customer from identity documents |
familyName | string | Family name of the customer from identity documents |
middleName | string | Middle name of the customer from identity documents |
dateOfBirth | string | "Date of birth" of the customer from identity documents |
string | Email of the invited user | |
gender | string | Possible values are "M", "F" |
mobileNumber | string | Mobile number of the invited user |
Proofing Outcome
Property | Type | Description |
---|---|---|
status | String | Possible states: PASS FAIL |
proofingType | Object | Reffer Proofing Type table below |
documents | Array | Returns one array for each document scanned. Please refer to theResult Document Details section below for more details |
userBehaviourChecks | Array | Returns an array of different behavioural checks. Please refer User Behaviour Checks section |
Proofing Type
Property | Type | Description |
---|---|---|
code | String | IDENTITY_PROOFING <br/> ADDRESS_PROOFING` |
name | String | display name |
Other Check Outcome
Property | Type | Description |
---|---|---|
type | String | Available checks are repeatUserFraudCheck |
name | String | Repeat User Fraud Check |
status | String | PASS WARNING FAIL |
Other Check Outcome Sub check
Property | Type | Description |
---|---|---|
| String |
|
| String | Display name of each sub-checks,
|
| String |
|
- If all outcome subchecks have a status of
PASS
then overallrepeatUserFraudCheck
outcome will have a status ofPASS
. - If subchecks
SAME_FACE_DIFF_EMAIL
or/andDIFF_FACE_SAME_EMAIL
have a status ofFAIL
and other subchecks have a status ofPASS
then overall check outcome will beWARNING
. - If any of the other subchecks have a status of
FAIL
then overall check outcome will beFAIL
.
User Behaviour Checks
This object contains details of different user behaviour checks
Property | Type | Description |
---|---|---|
| String | security check type |
| String |
|
| String |
|
| number | Liveness score range between 0 to 1 |
Reports
If the result is FAIL then we need to supply the following failure reasons (NB: it is possible to have more than one reason):
Property | Type | Description |
---|---|---|
| String |
|
| String | can be used to download the verification outcome in below format.
|
| String |
|
Result Document Details
This object contains details for an individual document.
Property | Type | Description |
---|---|---|
| String |
|
| String | User-friendly name is given in the proofing framework |
| String | Used to identify the classification of the code. |
| String | Document category can be |
| Object | Identity document extract details. Please refer to the Identity Document Data section below for more information |
| String | "AUS" |
| Array | Document security check status. Please refer |
| Array | Document images Url. Please refer |
| String | Possible states:
|
Identity Document Data - Object definition
Property | Type | Description |
---|---|---|
key | String | document field name |
value | String | Value of the document data field. |
confidence | Number | The data field extracts the confidence score. min: 0, max: 1 |
Security Check Details
This object contains details of different user behaviour checks
Property | Type | Description |
---|---|---|
| String | Reffer Available Security checks in the below table |
| String | Friendly name |
| String |
|
| number | Score is applicable only for |
| Array | Sub checks are applicable only for |
Available Security checks
Property | Description |
---|---|
| Check if the document provided is expired or not |
| Ensures the selfie and provided identity document face matches or not |
| Ensures the name of all documents provided is matching or not |
| Ensures the dob of all documents provided is matching or not |
| Verifies the document with the provider of the document. In Australia, DVS does document verification. This check will happen only if this feature is enabled for your subscription. |
| Verifies the provided individual reference number matches one of the names on the medicare card. This is applicable only for australian medicare |
| Verifies the authenticity of the document |
| Verifies the document extract information |
| This check gives the visibility of whether the user edited the data or not when the review edit feature is turned On |
| To ensure whether the document provided is recent or not |
| To ensure the supplied document is allowed or not |
Authenticity Sub-Check Details
Property | Type | Description |
---|---|---|
| String |
|
| String | Friendly name |
| number | The score is applicable only to the |
Available Authenticity Sub-Check
Property | Description |
---|---|
TEXT_FEATURES | Text feature classification can be used to eliminate fake documents by identifying patterns or features in the document that are inconsistent with authentic documents. |
BLACK_WHITE | Checks the submitted document is black and white copy |
EXPIRY | Expiry check helps to ensure that documents remain valid and can help to avoid potential legal or financial issues that could arise from using outdated or invalid information. |
MRZ | Checks for valid MRZ in passport |
PHOTO_SUBSTITUTION | Checks whether the document is substituted with photo or not |
VISUAL_INTEGRITY | Checks whether the document has been tampered with or not. |
Sample Payload
{
"verificationId": "hdgfhoiu23478y234buw",
"externalRefId": "Sample123",
"status": "DONE",
"identityOwner": {
"familyName": "Smith",
"givenName": "John",
"dateOfBirth": "1990-11-23",
"email": "test@gsjkghskjg.com",
"mobileNumber": "+61 000000000",
"gender": "M"
},
"results": {
"proofingOutcomes": [
{
"proofingStatus": "WARNING",
"documents": [
{
"countryCode": "AUS",
"documentType": "DRIVERS_LICENCE",
"proofingTag": [
"IDENTITY_PROOFING"
],
"documentDisplayName": "Australian Driver's Licence or Photo ID",
"category": "PRIMARY",
"documentClassificationCode": "DRIVERS_LICENCE.AUS.NSW.LEARNER",
"status": "WARNING",
"images": [
"https://api.au.truuth.id/identity-verification/v2/verifications/hdgfhoiu23478y234buw/documents/fb399eb6-e2a4-4de2-9159-50169a458dd0/images?pageId=0",
"https://api.au.truuth.id/identity-verification/v2/verifications/hdgfhoiu23478y234buw/documents/fb399eb6-e2a4-4de2-9159-50169a458dd0/images?pageId=1"
],
"securityChecks": [
{
"type": "dobMatch",
"name": "DOB Match",
"status": "PASS"
},
{
"type": "expiryCheck",
"name": "Expiry",
"status": "PASS"
},
{
"type": "nameMatch",
"name": "Name Match",
"status": "PASS"
},
{
type: 'irnMatch',
name: 'Irn Match',
status: "PASS"
},
{
"type": "sourceCheck",
"name": "Official Source",
"status": "PASS"
},
{
"type": "allowedDocumentCheck",
"name": "Allowed Document",
"status": "PASS"
},
{
"type": "documentOcr",
"name": "Data Extraction",
"status": "PASS",
"score": 0.981
},
{
"type": "documentAuthenticity",
"name": "Authenticity",
"status": "WARNING",
"score": 0.7993188846912511,
"subChecks": [
{
"type": "TEXT_FEATURES",
"name": "Text Features",
"score": 1
},
{
"type": "BLACK_WHITE",
"name": "Black And White",
"score": 0.9965985957813903
},
{
"type": "EXPIRY",
"name": "Expiry",
"score": 1
},
{
"type": "PHOTO_SUBSTITUTION",
"name": "Photo Substitution",
"score": 0.3
},
{
"type": "VISUAL_INTEGRITY",
"name": "Visual Integrity",
"score": 0.9999958276748657
},
{
"type": "MRZ",
"name": "MRZ",
"score": 1
},
]
},
{
"type": "faceMatch",
"name": "Face Match",
"status": "PASS",
"score": 0.9978362274169922
},
{
"type": "dataEditCheck",
"name": "Data Edit",
"status": "PASS",
"score": 1
},
{
"name": "Document Recency",
"type": "documentRecencyCheck",
"status": "PASS"
}
],
"documentData": [
{
"key": "givenName",
"value": "John",
"confidence": 0.995
},
{
"key": "middleName",
"value": "",
"confidence": 0.995
},
{
"key": "familyName",
"value": "Smith",
"confidence": 0.995
},
{
"key": "state",
"value": "NSW",
"confidence": 1
},
{
"key": "dateOfExpiry",
"value": "2033-03-23",
"confidence": 0.994
},
{
"key": "dateOfBirth",
"value": "1990-11-23",
"confidence": 0.997
},
{
"key": "addressLine1",
"value": "13 EMPIRE CCT",
"confidence": 0.996
},
{
"key": "addressLine2",
"value": "PENRITH NSW 2750 ",
"confidence": 0.996
},
{
"key": "cardNumber",
"value": "8393843878",
"confidence": 0.992
},
{
"key": "licenceNumber",
"value": "09383839282",
"confidence": 0.981
},
{
"key": "licenceClass",
"value": "C LRN",
"confidence": 0.996
}
]
}
],
"userBehaviourChecks": [
{
"name": "T&C",
"type": "t&c",
"status": "PASS"
},
{
"type": "docSubmissionCheck",
"name": "Doc Submission",
"status": "PASS"
}
],
"proofingType": {
"code": "IDENTITY_PROOFING",
"name": "Identity Proofing"
}
}
],
"otherCheckOutcomes": [
{
"type": "repeatUserFraudCheck",
"name": "Repeat User Fraud Check",
"status": "WARNING",
"subChecks": [
{
"type": "FACE_MISMATCH",
"name": "Different Face (ID Doc & Selfie)",
"status": "PASS"
},
{
"type": "SAME_FACE_DIFF_PII",
"name": "Same face , different PII",
"status": "PASS"
},
{
"type": "DIFF_FACE_SAME_PII",
"name": "Different face, same PII",
"status": "PASS"
},
{
"type": "DIFF_FACE_DIFF_PII_SAME_DOC",
"name": "Different face, same ID",
"status": "PASS"
},
{
"type": "SAME_FACE_DIFF_EMAIL",
"name": "Same face , different email",
"status": "WARNING"
},
{
"type": "DIFF_FACE_SAME_EMAIL",
"name": "Different face, same email",
"status": "PASS"
}
]
}
],
"faceImage": "https://api.au.truuth.id/identity-verification/v2/verifications/hdgfhoiu23478y234buw/images/faces",
"reports": [
{
"name": "Identity Verification Report",
"type": "IDV_VERIFICATION_REPORT_V2",
"reportUrl": "https://api.au.truuth.id/identity-verification/v2/verifications/hdgfhoiu23478y234buw/report",
"details": {
"status": "IN_PROGRESS"
}
},
{
"type": "FRAUD_CHECK_REPORT",
"name": "Fraud Check",
"reportUrl": "https://api.au.truuth.id/identity-verification/v2/verifications/3RsyulLlCJIaMpT37ixj/fraud-check-report",
"details": {
"status": "IN_PROGRESS"
}
}
]
},
"createdAt": "2025-02-25T07:20:59.946Z"
}
Updated 25 days ago