MyKAD(Malayasian ID)
Introduction
The Qatar ID extraction API allows you to extract relevant information from the Qatar ID card images. The API uses OCR technology to recognize the text on the image and extract the relevant details.
Sample cURL
curl --request POST \
--url https://signzy.tech/api/v2/patrons/....patronid.../foreignidentitiesextractions \
--header 'Accept: */*' \
--header 'Accept-Language: en-US,en;q=0.8' \
--header 'Authorization: <Access-Token>' \
--header 'content-type: application/json' \
--data '{
"task": "myKad",
"essentials": {
"files": ["...url of the image of the id card..."]
}
}'Input Parameters
Parameter Name | Data Type | Description |
|---|---|---|
task | string | The specific task that needs to be performed, i.e., "myKad" in this case. |
essentials.files | array | The array of files to be used for the extraction process. This array should contain the URL of the image files. |
Sample API Response
// Expected response
{
"essentials": {
"files": ["...url of the image of the id card..."]
},
"id": "..id..",
"patronId": "...patron id...",
"task": "myKad",
"result": {
"address": "...address...",
"gender": "...gender...",
"religion": "...religion...",
"name": "...name...",
"idNumber": "...ID Number..."
}
}Response Parameters
PARAMETERS | DESCRIPTION |
|---|---|
essentials | The file URLs for the front and back images of the ID |
id | The ID generated for the verification request |
patronId | The patron ID for whom the verification is being performed |
task | The task that was requested, which is myKad in this case |
result | The verification result, containing the following fields: |
address | Address as on the card |
gender | Gender as on the card |
religion | Religion as on the card |
name | Name of the individual |
idNumber | ID Number as on the card |