This function initializes the document capture process.
This function requires you to customize the SDK by completing the value of Register 390 (Input parameters) with a JSON.
Register | Value |
---|---|
110 | 1 |
Register | Description | Mandatory | Value |
---|---|---|---|
390 | JSON for the customization of the SDK | X | The values shown are the default values provided when entering an empty JSON {}. It is also possible not to include every value in the JSON. {
"showTutorial":"NO",
"infoAlertShow":"NO",
"observeFlash":"NO",
"closeButton":"YES",
"showDocument":"YES",
"tickColor":"YES",
"tickCircleColor":"YES",
"fixedTemplate":"YES",
"checkDocumentText":"If the capture is OK, tap CONTINUE",
"repeatButtonBackgroundColor":"#072146",
"repeatButtonTextColor":"#5BBEFF",
"repeatButtonText":"Repeat",
"continueButtonBackgroundColor":"#1973B8",
"continueButtonTextColor":"#ffffff",
"continueButtonText":"Continue",
"secondsWithoutPicture":"40",
"validationBackgroundColor":"#072146",
"validateDocumentButtonsWidthDivisor":"4"
} |
Register | Description | Value | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
112 | Call Result |
| ||||||||||||
290 | Capture of the document's front side | Base64 string | ||||||||||||
291 | Capture of the document's back side | Base64 string |