v2
Overview
KTP OCR API v2 extracts demographic identity information from a submitted KTP image. The extracted data can support downstream digital certificate issuance processing, but this API does not independently verify the identity, decide issuance eligibility, or issue a digital certificate.
Endpoint
POST /api/v2/ocr
How it works
- Send a unique
trIdand a Base64-encoded KTP image. - Privy validates the credentials, transaction ID, and image.
- Configured image-quality checks and OCR processing run.
- Privy returns the demographic fields extracted from the KTP.
Some quality checks, including KTP detection, blur, orientation, and NIK checking, depend on the service configuration provisioned for your integration.
Next steps
- Follow the Quickstart.
- Review Authentication.
- Prepare the KTP image according to Request Fields.
Last modified on
