Documentation

Backend Configuration

The following configuration ability is provided . Please contract us if configuration is needed.

Configuration Dimensions and Priority

  • Configurations can be set across multiple dimensions.
  • When multiple configurations apply to the same transaction, higher priority configurations will override lower priority ones.
Configuration DimensionPriority (Lower number = Higher priority)Description
Specific accessKey + Specific productLevel1Configuration applies to a specific accessKey and a specific productLevel
Specific accessKey + All productLevels2Configuration applies to a specific accessKey and all productLevels
All accessKeys + Specific productLevel3Configuration applies to all accessKeys and a specific productLevel
All accessKeys + All productLevels4Configuration applies to all accessKeys and all productLevels

Configuration Items

Category

Field

Type

Explain

Value Range & Rules

Default Value

Retry Strategy

document.maxRetryTimes

integer

The max times that user can retry scanning document.

[3,5]

3

face.frontMaxRetryTimes

integer

The max times that user can retry liveness check.

[3,5]

3

Document Configuration

document.validation.complianceCheck

bool

Verification of issue date, expiry date, birthday, and name.

For example, returns errorCode OCR_NO_RESULT if enabled:

  • Issue date is earlier than birthday
  • Current date is past expiry date
  • Name is empty

true, false

true

document.validation.ageCheck

bool

return errorCode AGE_VERIFICATION_FAILED the user's age >= 18 , when enabled.

will

true, false

false

document.forgery.enabled

bool

Enable/Disable forgery for document.

true, false

true