v2
OCR Results
A successfully processed request returns HTTP 200 with status set to ok.
Code
Response envelope
| Field | Type | Description |
|---|---|---|
code | integer | HTTP-compatible response code. |
status | string | ok when OCR processing completes. |
result | object | Demographic fields extracted from the KTP. Fields that cannot be extracted may be omitted. |
balance | integer | Remaining service balance. Postpaid integrations return 100. |
transaction_id | string | Privy's transaction identifier. |
message | string | get data successfully for a successful request. |
Extracted fields
The result object can contain nik, nama, tanggal_lahir, tempat_lahir,
pekerjaan, kewarganegaraan, agama, jenis_kelamin,
status_perkawinan, golongan_darah, provinsi, kota, kecamatan,
kelurahan, alamat, rt_rw, dinas, masa_berlaku, and waktu_terbit.
OCR output is extracted text, not an independent authoritative verification of the individual's identity.
Last modified on
