Requests
Request
Common Parameters
Parameters | Description |
---|---|
reference | Required: Yes Type: string Minimum: 6 characters Maximum: 250 characters Each request is issued a unique reference ID which is sent back to Shufti Pro’s client with each response. This reference ID helps to verify the request. The client can use this ID to check the status of already performed verifications. |
country | Required: No Type: string Length: 2 characters You may omit this parameter if you don't want to enforce country verification. If a valid country code is provided, then the proofs (images/videos) for document verification or address verification must be from the same country. Country code must be a valid ISO 3166-1 alpha-2 country code. Please consult Supported Countries for country codes. |
language | Required: No Type: string Length: 2 characters If the Shufti Pro client wants their preferred language to appear on the verification screens they may provide the 2-character long language code of their preferred language. The list of Supported Languages can be consulted for the language codes. If this key is missing in the request the system will select the default language as English. |
Required: Yes Type: string Minimum: 6 characters Maximum: 128 characters This field represents email of the end-user. | |
callback_url | Required: No Type: string Minimum: 6 characters Maximum: 250 characters A number of server-to-server calls are made to Shufti Pro’s client to keep them updated about the verification status. This allows the clients to keep the request updated on their end, even if the end-user is lost midway through the process. |
redirect_url | Required: No Type: string Minimum: 6 characters Maximum: 250 characters Once an on-site verification is complete, User is redirected to this link after showing the results. |
verification_mode | Required: No Type: string Accepted Values: any, image_only, video_only This key specifies the types of proof that can be used for verification. In a “video_only” mode, Shufti Pro’s client can only send “Base64” of videos wherein formats of proofs should be MP4 or MOV. “any” mode can be used to send a combination of images and videos as proofs for verification. |
allow_na_ocr_inputs | Required: No Type: string Accepted Values: 0, 1 Default Value: 0 In onsite with ocr verification request, it allows the end-user to select N/A on the OCR form and the verification step will be accepted. |
allow_offline | Required: No Type: string Accepted Values: 0, 1 Default Value: 1 This parameter allows users to upload images or videos in case of non-availability of a functional webcam.If value: 0, users can capture photos/videos with the camera only. |
allow_online | Required: No Type: string Accepted Values: 0, 1 Default Value: 1 This parameter allows users to capture image or videos in real-time when internet is available. If value: 0 users can upload already captured images or videos. Note: if allow_offline: 0 priority will be given to allow_offline |
ttl | Required: No Type: int Default: 60 Maximum: 43200 Give a numeric value for minutes that you want the verification url to remain active. Note: The minimum request timeout duration has been set to 30 minutes, regardless of the TTL value provided in the request |
Onsite Verification
On-site verification means that Shufti Pro will be interacting directly with end-user and will be responsible for data collection in order to perform Identity verification. Shufti Pro customer will only be notified about the verification status via Shufti Pro Back Office.
In onsite verification, Shufti Pro customers will make an API call, and will receive a verification URL in the response. The end-users will be redirected to the URL and Shufti Pro’s AI technology will perform verification, interacting directly with the end-users.
{
"questionnaire": {
"questionnaire_type": "pre_kyc",
"uuid": [
"TZJAEG","XYZABC"
]
}
}
Shufti Pro offers its clients a enhance due diligence service that helps them collect additional information from their customers. The service allows you to create a questionnaire that includes multiple questions with different answer types to choose from, including drop-downs, radio buttons, CSV files, text, integers, float values, etc. Shufti Pro’s clients have the option to use questionnaires with or without KYC service.
The enhance due diligence service includes two parts:
- Creation of a Questionnaire
- Calling a Questionnaire via API
Creation of a Questionnaire
For creating a questionnaire, the client needs to follow these steps in the back office under the Products Section.
- Under the Product Demos section click the Start button for Enhanced Due Diligence (EDD) service.
- On the top right side, click the Create New button.
- A new page will open, where you can set the title & description of the questionnaire.
- Moving forward, you can create multiple questions inside a single questionnaire.

Calling a Questionnaire via API
To use the enhance due diligence service and ask the end-users to fill in the questionnaire, clients need to send an API Request to the server with the following parameters.
Before passing the questionnaire object in the API, please make sure that you have copied the correct UUID from the Questionnaire Section listed in Products Section and the questionnaire must be active as well.
Enhance Due Diligence Service is not available in Offsite Verification