post
https://sandbox.boiva.id/b2b/v0/ktp-ocr
This API read user's data based on their KTP photo
Request Parameters
| Key Parameters | Data Type | Description | Status |
|---|---|---|---|
| Authorization | String | Boiva Access Token | Mandatory |
| ktp_photo | String | User's KTP Photo to be read in base64 Format | Mandatory |
Response Parameter
| Key Parameters | Data Type | Description |
|---|---|---|
| ktp | string | User's NIK (ID Number) extracted from KTP photo |
| fullname | string | User's full name extracted from KTP photo |
| birth_place | string | User's birth place extracted from KTP photo |
| birth_date | string | User's birth date extracted from KTP photo |
| gender | string | User's gender extracted from KTP photo |
| address | string | User's address extracted from KTP photo |
| rt_rw | string | User's RT/RW extracted from KTP photo |
| village | string | User's village (Kelurahan) extracted from KTP photo |
| district | string | User's district (Kecamatan) extracted from KTP photo |
| province | string | User's province (Provinsi) extracted from KTP photo |
| city | string | User's city (Kota/ Kabupaten) extracted from KTP photo |
| religion | string | User's religion extracted from KTP photo |
| blood_type | string | User's blood type extracted from KTP photo |
| marital_status | string | User's marital status extracted from KTP photo |
| citizenship | string | User's citizenship extracted from KTP photo |
| job | string | User's job extracted from KTP photo |
| valid_until | string | KTP validity extracted from KTP photo |
