🆔Saudi National ID

This API provides Data Extraction for the Moroccan National ID document.

Saudi National ID 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

KSA_nid_ocr

data

object

Object containing the parameters below: { "front_img":<base64 str>, "bundle_key": <str> , "lang": <str> }

Please note that front_img cannot be empty (i.e., missing or an empty string "").

Status Codes

{
  "result": {
    "full_name": {
      "arabic": <string>,
      "latin": <string>
  },
  "transaction_id": <string>,
  "trials_remaining": <string>
}

Last updated