Back ID card configuration

How to customize the back ID card flow.

The back ID card flow starts with the end user taking a picture of the back side of their Thai national ID card. This image will be analyzed by our OCR services and data gets processed to conclude the result. Optionally, the user can make small corrections when they spot a mistake in the data.

These are the back ID card configuration options:

  • isEditable
    boolean - default false
    Choose if the user can add corrections to the OCR result.
  • threshold
    number - default 0.8
    Minimum score to pass the verifying process in decimal format. (0.8 = 80% match)
    If there are multiple scores calculated, all scores must be greater than the threshold.

Example:

{
  "backIdCardConfig": {
    "required": true,
    "attempts": 2,
    "isEditable": true,
    "threshHold": 0.8,
    "endFlowOnFailure": false
  }
}