Moroccan Residency Card
This API provides Data Extraction for Moroccan Residency Card documents.
Moroccan Residency Card OCR
POST https://valifystage.com/api/v1/ocr/
Headers
Name
Type
Description
Content-Type
string
application/json
Authentication
string
bearer <access-token>
Request Body
Name
Type
Description
Notes
document_type
string
mar_resident_id
data
object
Object containing the parameters below:
{
}
Please note that both front_img and back_img cannot be empty (i.e., missing or an empty string "").
Status Codes
{
"result": {
"first_name": {
"arabic": <string>,
"latin": <string>
},
"last_name": {
"arabic": <string>,
"latin": <string>
},
"birth_place": {
"arabic": <string>,
"latin": <string>
},
"father_name": {
"arabic": <string>,
"latin": <string>
},
"mother_name": {
"arabic": <string>,
"latin": <string>
},
"address": {
"arabic": <string>,
"latin": <string>
},
"birth_date": <string>,
"expiration_date": <string>,
"gender": <string>,
"civil_status_num": <string>
},
"transaction_id": <string>,
"trials_remaining": <int>
}Last updated