Skip to main content
POST

Authorizations

Authorization
string
header
required

Access token from POST /api/v1/kyc/auth/get-auth-token. Valid for one hour.

Body

Send exactly one of image_url or image_base64. Sending both, or neither, is CLIENT_ERROR.

request_id
string
required

Your unique reference for this check. Use a new UUID for each new attempt. Reusing a request_id that already completed returns DUPLICATE_REFERENCE.

Example:

"TXN-20260917-001"

image_url
string<uri>

Public HTTPS URL of the ID-card photo. JPEG or PNG. Mutually exclusive with image_base64. The image is fetched by the OCR engine; we do not store it.

Example:

"https://cdn.example.com/ktp.jpg"

image_base64
string

ID-card photo as raw base64 (JPEG or PNG). No line breaks and no data:image/… prefix. Maximum 8 MB after decoding. Mutually exclusive with image_url.

Example:

"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg=="

Response

Assessment complete. code is SUCCESS. data holds is_forged and reason. pricing is PAID.

code
enum<string>
required

Always SUCCESS on this response.

Available options:
SUCCESS
Example:

"SUCCESS"

message
enum<string>
required

Always OK. Use code and data, not this field, to branch.

Available options:
OK
Example:

"OK"

data
object
required

Merchant-facing assessment. Vendor warning codes are not returned; they are mapped to is_forged and reason only.

request_id
string
required

The request_id you sent.

Example:

"TXN-20260917-001"

pricing
enum<string>
required

A completed check is always billed.

Available options:
PAID
Example:

"PAID"