Certificate Issuance

The Electronic Certificate Issuance Service is the activity of identity checking that shows legal subjects in order to issue an Electronic Certificate with the purpose of doing verification of citizen

This module only support verification for indonesian identity card (KTP)

Endpoints

Method

URL

POST

$synapses/v1/certificate/issuance

Headers

Header

Value

Content-Type

application/json

Authorization

Request

Field

Type

Description

identityId

(required)

String (len: 16)

Nomor induk kependudukan (NIK) based on the identity card.

fullName

(required)

String

Full name based on the identity card.

birthDate (required)

String (format: yyyy-mm-dd)

Birth Date based on the identity card.

emailAddress (required)

String

Email address (must be unique per NIK).

phoneNumber (required)

String

Valid phone number, use country code but without symbol (+), (must be unique per nik).

faceImage

(required)

Base64

Selfie photo of the identity card holder.

Image binary encoded in base64 without <data:image/png;>. - Supports: JPG, JPEG, PNG, SVG - Min Size: 100KB - Max Size: 4MB - Min Pixel: 480px x 640px

identityImage

(required)

Base64

Identity card photo.

Image binary encoded in base64 without <data:image/png;>. - Supports: JPG, JPEG, PNG, SVG - Min Size: 100KB - Max Size: 2MB - Min Pixel: 480px x 360px

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 any identityId to produce verified status.

Example:

{
    "identityId": "1234567890123456",
    "fullName": "ASEP SUPRIYADI",
    "birthDate": "1990-07-06",
    "emailAddress": "test@email.com",
    "phoneNumber": "621234567890",
    "faceImage": "<base64>",
    "identityImage": "<base64>"
}
{
    "message": "Certificate electronic verification has been done",
    "data": {
        "id": "8c4d6927-b4e1-428b-b95f-c21b6734b73f",
        "status": "verified",
        "rejectFields": [],
        "referenceId": "ref_certel#e87c8bc2-5d10-455b-98a0-187d60f72873"
    }
}

Response

Field

Type

Description

id

String

Kredibel history id (unique for every transactions).

status

String

Identifier of the transaction status:

- verified

- verified_with_reason

- not_verified

rejectFields

Array

Indicator if there’s a false response to a or any parameter, example if nik.

referenceId

String

Reference id.

Errors

Please read this page <Responses & Errors> to know more about response.

Last updated