MRZ

Accura Scan’s MRZ scans and extracts the MRZ data from any government Id globally.

The method use to Scan MRZ

AccurascanKyc.startMRZ(passArgs, function (error, success));

Parameter:

config: [MRZType]

  • MRZType: String(e.g. other_mrz, passport_mrz, id_mrz, visa_card)

Response:

Success: JSON Response Error: String

Example Function:

onPressMRZ = () => {
   let passArgs = [this.mrzSelected];  //pass other_mrz or passport_mrz or id_mrz or visa_card as String
   //Method for start MRZ scaning from native OS.
   AccurascanKyc.startMRZ(passArgs, (error, response) => {
     if (error != null) {
       console.log(error);
     } else {
       console.log('Success!', response);
     }
   });
};

Last updated