Full Verification
Demography and Biometric verification to dukcapil database.
This module only support verification for indonesian identity card (KTP)
Endpoints
Headers
Request
{
"identityId": "1234567890123456",
"fullName": "ASEP SUPRIYADI",
"address": "JL SESAMA NO 123",
"birthPlace": "JAKARTA",
"birthDate": "1990-07-06",
"faceImage": "<base64>"
}
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 all-match result.
Example:
{
"identityId": "1234567890123456",
"fullName": "ASEP SUPRIYADI",
"address": "JL SESAMA NO 123",
"birthPlace": "JAKARTA",
"birthDate": "1990-07-06",
"faceImage": "<base64>"
}
{
"message": "Identity full verification succeeded.",
"data": {
"id": "57746ec6-8b36-404c-890f-8a683f2372ef",
"identityId": "1234567890123456",
"isValid": true,
"isActive": true,
"response": {
"fullName": true,
"fullNameSimilarity": 1.0,
"address": true,
"addressSimilarity": 1.0,
"birthPlace": true,
"birthPlaceSimilarity": 1.0,
"birthDate": true,
"face": true,
"face_similarity": 1.0
}
}
}
You can use any identityId except 1234567890123456
to produce identity not valid result.
Example:
{
"identityId": "1234567890123450",
"fullName": "ASEP SUPRIYADI",
"address": "JL SESAMA NO 123",
"birthPlace": "JAKARTA",
"birthDate": "1990-07-06",
"faceImage": "<base64>"
}
{
"message": "Identity full verification succeeded.",
"data": {
"id": "f9f66616-12f0-402f-93bf-5b7f165ab23d",
"identityId": "1234567890123450",
"isValid": false,
"isActive": false,
"response": {}
}
}
You can use identityId =1234567890123451
to produce full name is not valid.
Example:
{
"identityId": "1234567890123451",
"fullName": "ASEP SUPRIYADI",
"address": "JL SESAMA NO 123",
"birthPlace": "JAKARTA",
"birthDate": "1990-07-06",
"faceImage": "<base64>"
}
{
"message": "Identity full verification succeeded.",
"data": {
"id": "df25614d-dce8-436e-9318-b3ac9bbda179",
"identityId": "1234567890123451",
"isValid": true,
"isActive": true,
"response": {
"fullName": false,
"fullNameSimilarity": 0.43,
"address": true,
"addressSimilarity": 1.0,
"birthPlace": true,
"birthPlaceSimilarity": 1.0,
"birthDate": true,
"face": false,
"face_similarity": 0.12
}
}
}
You can use identityId=234567890123452
to produce address is not valid.
Example:
{
"identityId": "1234567890123452",
"fullName": "ASEP SUPRIYADI",
"address": "JL SESAMA NO 123",
"birthPlace": "JAKARTA",
"birthDate": "1990-07-06",
"faceImage": "<base64>"
}
{
"message": "Identity full verification succeeded.",
"data": {
"id": "b26ebc48-20fa-4f53-8bb4-652058def9b0",
"identityId": "1234567890123452",
"isValid": true,
"isActive": true,
"response": {
"fullName": true,
"fullNameSimilarity": 1.0,
"address": true,
"addressSimilarity": 0.58,
"birthPlace": true,
"birthPlaceSimilarity": 1.0,
"birthDate": true,
"face": false,
"face_similarity": 0.73
}
}
}
You can use identityId=234567890123453
to produce birth place is not valid.
Example:
{
"identityId": "1234567890123453",
"fullName": "ASEP SUPRIYADI",
"address": "JL SESAMA NO 123",
"birthPlace": "JAKARTA",
"birthDate": "1990-07-06",
"faceImage": "<base64>"
}
{
"message": "Identity full verification succeeded.",
"data": {
"id": "6fbf106c-ad7e-4371-8571-3e9615a9590d",
"identityId": "1234567890123453",
"isValid": true,
"isActive": true,
"response": {
"fullName": true,
"fullNameSimilarity": 1.0,
"address": true,
"addressSimilarity": 1.0,
"birthPlace": false,
"birthPlaceSimilarity": 0.23,
"birthDate": true,
"face": false,
"face_similarity": 0.65
}
}
}
You can use identityId=234567890123454
to produce birth date is not valid.
Example:
{
"identityId": "1234567890123454",
"fullName": "ASEP SUPRIYADI",
"address": "JL SESAMA NO 123",
"birthPlace": "JAKARTA",
"birthDate": "1990-07-06",
"faceImage": "<base64>"
}
{
"message": "Identity full verification succeeded.",
"data": {
"id": "84ede311-7eb7-462b-80ae-0795fafcf368",
"identityId": "1234567890123454",
"isValid": true,
"isActive": true,
"response": {
"fullName": true,
"fullNameSimilarity": 1.0,
"address": true,
"addressSimilarity": 1.0,
"birthPlace": true,
"birthPlaceSimilarity": 1.0,
"birthDate": true,
"face": false,
"face_similarity": 0.46
}
}
}
Response
{
"message": "Identity full verification succeeded.",
"data": {
"id": "68224a77-60f4-40f6-85ff-35801f4d6541",
"identityId": "1234567890123451",
"isValid": true,
"isActive": true,
"response": {
"fullName": false,
"fullNameSimilarity": 0.43,
"address": true,
"addressSimilarity": 1.0,
"birthPlace": true,
"birthPlaceSimilarity": 1.0,
"birthDate": true,
"face": true,
"faceSimilarity": 0.81
}
}
}
Errors
Please read this page <Responses & Errors> to know more about response.
Error 4XX
{
"errors":{
"errorId": <log_id:uuid>,
"errorType": <error_type:str>
},
"message": <message:str>
}
Error 5XX
For every 5XX http code response, there will be no charge.
Last updated