Sandbox - ID Verification

Sandbox - ID Verification

The sandbox for ID Verification Service that enables you to map 1:1 request and response to Live mode.

Scenario Description

ScenarioRequest Payload (nik, name, birth_date)Description
All data true8522011808880001 <br> JOHN DOE <br> 18-08-1988Data inputted based on rules & registered in Dukcapil based on NIK
NIK not inputted{empty nik value} <br> JOHN DOE <br> 18-08-1988User left nik value empty
NIK not numeric85220118ABCD0001 <br> JOHN DOE <br> 18-08-1988User input non-numeric value to nik field
NIK not 16 digit852201180888000 <br> JOHN DOE <br> 18-08-1988User input just 15 digits number
NIK not found in Dukcapil (NIK false){input random 16 digits} <br> JOHN DOE <br> 18-08-1988NIK inputted not found in Dukcapil database
Name empty8522011808880001 <br> JOHN DOE <br> 18-08-1988User left name value empty
Name false8522011808880001 <br> {input random name} <br> 18-08-1988Name inputted is not an exact match compared to the one registered in Dukcapil database
Birth date empty8522011808880001 <br> JOHN DOE <br> {empty birth date value}User left birth date value empty
Birth date not DD-MM-YYYY8522011808880001 <br> JOHN DOE <br> 1988-08-18User use YYYY-MM-DD format
Birth date false8522011808880001 <br> JOHN DOE <br> {random birth date with DD-MM-YYYY format}Birth date inputted is not an exact match compared to the one registered in Dukcapil database
post/v1/data-verification/id-verification/sandbox

Request

  • Base URL
    https://api.verihubs.com
  • URL
    https://api.verihubs.com/v1/data-verification/id-verification/sandbox
  • Auth
    none declared. Required headers: App-ID, API-Key

Headers

App-IDstring required
API-Keystring required

Request body

nikstring required

16 digit Nomor Induk Kependudukan (NIK) from Kartu Tanda Penduduk (KTP).

namestring required

Full name from KTP

birth_datestring required

Date of birth from KTP in DD-MM-YYYY format.

reference_idstring

Use to indicate your company's transaction (must be unique).

Response

Successful Response

messagestring required

Shows message of the response

Example response

{
  "message": "ID check verification has been done.",
  "data": {
    "id": "8e31a91c-7437-4ed1-b086-06cbe247d6e7",
    "nik": true,
    "name": true,
    "birth_date": true,
    "reference_id": "ref_idv#e87c8bc2-5d10-455b-98a0-187d60f72873"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.