Skip to main content

Instructions Parameters

These parameters can be used with Document, Document Two and Address Service.


document-instruction-parameters
{
"document":{
"proof":"",
"supported_types":["id_card","driving_license","passport"],
"verification_instructions" : {
"allow_paper_based" : "1",
"allow_photocopy" : "1",
"allow_laminated" : "1",
"allow_screenshot" : "1",
"allow_cropped" : "1",
"allow_scanned" : "1"
}
}
}

document_two-instruction-parameters
{
"document_two": {
"proof":"",
"supported_types":["id_card","driving_license","passport"],
"verification_instructions" : {
"allow_paper_based" : "1",
"allow_photocopy" : "1",
"allow_laminated" : "1",
"allow_screenshot" : "1",
"allow_cropped" : "1",
"allow_scanned" : "1"
}
}
}

address-instruction-parameters
{
"address":{
"proof":"",
"supported_types":["id_card","driving_license","passport"],
"verification_instructions" : {
"allow_paper_based" : "1",
"allow_photocopy" : "1",
"allow_laminated" : "1",
"allow_screenshot" : "1",
"allow_cropped" : "1",
"allow_scanned" : "1"
}
}
}

ParametersDescription
allow_paper_basedRequired: No
Type: string
Value Accepted: 0, 1
Default Value: 0
If this string is assigned value “1” then Shufti Pro will accept paper-backed documents for verification.
allow_photocopyRequired: No
Type: string
Value Accepted: 0, 1
Default Value: 0
If this string is assigned value “1” then Shufti Pro will accept photocopied documents for verification.
allow_laminatedRequired: No
Type: string
Value Accepted: 0, 1
Default Value: 0
If this string is assigned value “1” then Shufti Pro will accept laminated documents for verification.
allow_screenshotRequired: No
Type: string
Value Accepted: 0, 1
Default Value: 0
If this string is assigned value “1” then Shufti Pro will accept screenshot documents for verification.
allow_croppedRequired: No
Type: string
Value Accepted: 0, 1
Default Value: 0
If this string is assigned value “1” then Shufti Pro will accept cropped documents for verification.
allow_scannedRequired: No
Type: string
Value Accepted: 0, 1
Default Value: 0
If this string is assigned value “1” then Shufti Pro will accept scanned documents for verification.

info

Shufti Pro does not accept such parameters by default.


strict-originality-configuration
{
"verification_mode": "video_only",
"allow_online": "1",
"allow_offline": "0"
}

info

To make the originality checks more strict, the recommended practice would be to enable a live capture option with video mode enabled which would allow you to take a live video in real time. This configuration will help to detect fraudulent documents in real-time.