Centralized OkayID
OkayID is used to perform OCR extraction and identify the document type.
Last updated
OkayID is used to perform OCR extraction and identify the document type.
Last updated
The user will need to provide the input (input 2 in the flow chart) to be able to test the API. The main purpose of this API is to perform OCR and extract the data from the ID card. It will output the extracted data for the user to check on the extracted information.
The API will also return cropped ID cards from the submitted image and cropped portraits from the ID card. Users will also need to follow a set of rules that can be found here to make sure the result is accurate.
User will need to use the JourneyId gotten from the previous API (Create JourneyId)
Place the JourneyId and the content for the respective data in the API Method by following the Example.
The parameter descriptions can be found in the API Method after expansion.
The average processing time is about 5 to 10 seconds.
Please take note that ^ will be part of the response from OkayID API.
^ indicates a NEW LINE.
e.g. Name from Malaysia - MyKad
Basic Validation Rule
Country | Document Type | Region | Field Type | Validation Rule |
---|---|---|---|---|
Malaysia | MyKad, MyKas,MyTentera, MyPR, MyKid | ID Number | 2 | Must be 12 digits |
Malaysia | MyKad, MyKas,MyTentera, MyPR, MyKid | Name | 25 | 1) Numeric is not allow 2) Special Character ONLY allow /.@'^() |
Malaysia | MyKad, MyKas,MyTentera, MyPR, MyKid | DOB | 5 | 1) Day from 0 - 31 2) Month from 0 - 12 3) Between Year from 1900 - 2100 |
Please refer to the "Image Requirement" section to get the best result for each API return
POST
https://ekycportaldemo.innov8tif.com/api/ekyc/okayid
Name | Type | Description |
---|---|---|
docTypeEnabled | boolean | Set to True - document type will be returned |
backImage | string | Back id card image in base64 |
cambodia | boolean | Set to True if it is Cambodia ID Card |
faceImageEnabled | boolean | Set to True - Cropped face image will be returned |
imageEnabled | boolean | Set to True - Cropped document image will be returned |
imageFormat | string | Set to JPG, JPEG, PNG, BMP, GIF, TIFF, TIF depending of the image format OR leave it blank if not sure |
base64ImageString* | string | Front id card/passport image in base64 |
journeyId* | string | Retrieve from 'Create JourneyID' API |
Please refer to this Page for input example
This input example is based on the default use case
Get the Postman Collection https://api2-ekycportal.innov8tif.com/emas-ekyc-portal/postman-collection