Demography Verification
Demography verification to dukcapil database.
This module only support biometric verification for indonesian identity card (KTP)
Endpoints
Method | URL |
POST |
|
Headers
Header | Value |
|
|
|
|
Request
Field | Type | Description |
identityId
|
| Nomor induk kependudukan (NIK). |
fullName
|
| Full name. |
birthPlace
|
| Birth Place. |
birthDate
|
| Birth Date. |
address
|
| Address. |
threshold
| Float (0-1) | Matched threshold for demography data (fullName, birthPlace, address) - 0=0% match, 0.5=50% match, 1=100% match |
Testing
In the sandbox environment, we only response api call with dummy data. To get valid response data, you can use our production environment instead.
You can use identityId = 1234567890123456
to produce face not match result.
Example:
Response
Field | Type | Description |
id |
| Unique identifier. |
identityId |
| Nomor induk kependudukan (NIK). |
isValid |
| Return true if identityId is exist in the Dukcapil database. |
isActive |
| Return true if identityId is active in the Dukcapil database. |
response:fullName |
| Return true if input fullName match with the fullName in Dukcapil database. |
response:fullNameSimilarity |
| Similarity between the input fullName and the fullName in Dukcapil database. |
response:address |
| Return true if input birth date match with the birth date in Dukcapil database. |
response:addressSimilarity |
| Similarity between the input address and the address in Dukcapil database. |
response:birthPlace |
| Return true if input birth place match with the birth place in Dukcapil database. |
response:birthPlaceSimilarity |
| Similarity between the input birthPlace and the birthPlace in Dukcapil database. |
response:birthDate |
| Return true if input birth date match with the birth date in Dukcapil database. |
Errors
Please read this page <Responses & Errors> to know more about response.
Error 4XX
Error Type | Description | Is charged? |
---|---|---|
request_error | Cannot get response from Dukcapil server. | False |
Error 5XX
For every 5XX http code response, there will be no charge.
Last updated