Peleza β€” Trust built on data
🌐 Global Identity Verification
On this page

Selfie Photo ID Verification

Match a live selfie against a government-issued photo ID.

Request

POST/api/v1/kyc/photoid/verify
{{baseUrl}}/api/v1/kyc/photoid/verify
HeaderTypeDescription
AuthorizationstringBearer YOUR_ACCESS_TOKEN from the OAuth client-credentials flow
Content-Typestringapplication/json

Body Parameters

ParameterTypeDescriptionRequired
selfie_imagestringBase64 image of the user selfierequired
photoid_imagestringBase64 image of the ID photorequired

Response

200 OKSample dataExample response
{
  "entity": {
    "status": "success",
    "match": true,
    "confidence_value": 98.7
  }
}

Response Fields

FieldTypeDescription
entityobjectContains the response data
entity.statusstringStatus of the verification call
entity.matchbooleanWhether the verification matched
entity.confidence_valuenumberConfidence score between 0 and 100

Set {{baseUrl}} to https://api.peleza.com (production) or https://sandbox.peleza.com (sandbox). Authenticated calls need a Bearer token from POST /api/v1/oauth/token.