Docupass
6. Docupass
This category supports all rapid user verification based on the ids and the face images provided.
6.1. listDocupass
This function retrieves a list of all available Docupass based on the parameters provided.
Declaration
public JObject listDocupass(int order = -1, int limit = 10, int offset = 0)
Here are the input and output parameters defined against this function.
Type (In/Out) | Name | Description |
---|---|---|
System.integer - [In] | order | Sort results by newest(-1) or oldest(1). If the parameter is left out during execution, the function will use the -1 value. The value cannot be 1 or -1. The function will throw an exception of any one of these is used. |
System.integer - [In] | limit | Number of items to be returned per call. Function will use the -1 value if the parameter is left out during execution. The 'limit' should be a positive integer greater than 0 and less than or equal to 100. |
System.integer - [In] | offset | Start the list from a particular entry index. |
JObject - [Out] | N/A | The list of Docupass object result objects streamed into resp named parameter and returned. |
6.2. createDocupass
This function creates a new Docupass link for rapid identity verification and/or e-signature.
Declaration
public JObject createDocupass(object? profile = null, string contractFormat = "pdf", string contractGenerate = "",
bool reusable = false, string contractPrefill = "", string contractSign = "", string customData = "",
string language = "", int mode = 0, string referenceDocument = "", string referenceDocumentBack = "",
string referenceFace = "", string userPhone = "", string verifyAddress = "", string verifyAge = "",
string verifyDOB = "", string verifyDocumentNumber = "", string verifyName = "", string verifyPostcode = "")
Here are the input and output parameters defined against this function.
Type (In/Out) | Name | Description |
---|---|---|
System.object - [In] | profile | Custom KYC Profile details. Function will use NULL value in case the parameter is left out during execution. Function will throw exception if NULL value is passed in this parameter. |
System.string - [In] | contractFormat | Available contract formats are PDF, DOCX or HTML. Function will use PDF value in case the parameter is left out during execution. |
System.string - [In] | contractGenerate | Generate up to 5 documents using information from uploaded ID, without user reviewing or signing the document. Function will use BLANK value in case the parameter is left out during execution. |
System.bool - [In] | reusable | Whether the generated link can be used to verify multiple person. Function will use false value in case the parameter is left out during execution. |
System.string - [In] | contractPrefill | JSON data in key-value pairs to autofill dynamic fields, data from user ID will be used first in case of a conflict. E.g. passing {"myparameter":"abc"} would fill %{myparameter} in contract template with "abc". Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | contractSign | Generate a document using information from uploaded ID, and have the user review and sign the document after identity verification. Required for mode=3. Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | customData | Custom data to create Docupass. Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | language | Override auto language detection. Function will use BLANK value in case the parameter is left out during execution. |
System.integer - [In] | mode | Docupass modes which can be 0=Document+Face, 1=Document Only, 2=Face Only, 3=e-Signature Only. Function will use 0 value in case the parameter is left out during execution. |
System.string - [In] | referenceDocument | Base64 encoded document image, if supplied, no document front image will be captured. Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | referenceDocumentBack | Base64 encoded document back image, if supplied, no document back image will be captured. Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | referenceFace | Base64 encoded face image, if supplied, no face image will be captured. Required if mode=2. Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | userPhone | Supply user phone number for verification, must enable phoneVerification in profile settings. Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | verifyAddress | Verification address. Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | verifyAge | Verification age. Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | verifyDOB | Verification date of birth. Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | verifyDocumentNumber | Verification document number. Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | verifyName | Verification name. Function will use BLANK value in case the parameter is left out during execution. |
System.string - [In] | verifyPostcode | Verification post code. Function will use BLANK value if the parameter is left out during execution. |
JObject - [Out] | N/A | The saved Docupass object streamed into resp named parameter and returned. |
6.3. deleteDocupass
This function delete Docupass Link by reference code.
Declaration
public JObject deleteDocupass(string reference = "")
Here are the input and output parameters defined against this function.
Type (In/Out) | Name | Description |
---|---|---|
System.string - [In] | reference | Docupass reference id that is to be deleted. The function will use NULL value in case the parameter is left out during execution. The function will throw exception if NULL value is passed in this parameter. |
JObject - [Out] | N/A | The deleted Docupass object streamed into resp named parameter and returned back. |
Updated about 2 years ago