Peleza β€” Trust built on data
πŸ‡°πŸ‡ͺ KYC
On this page

Passport

Verify a Kenyan passport. Send passport_number and/or id_number β€” at least one is required.

Request

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

Body Parameters

ParameterTypeDescriptionRequired
passport_numberstringPassport numberoptional*
id_numberstringNational ID linked to the passportoptional*
customer_numberstringOptional reference for your own tracking (max 255 characters)optional

Response

200 OKSample dataExample response
{
  "success": true,
  "response_code": 200,
  "message": "Passport Details Fetched Successfully",
  "data": {
    "name": "James Otieno Kamau",
    "passport_number": "A1234567",
    "id_number": "1028845317",
    "dob": "1985-05-15",
    "gender": "Male",
    "citizenship": "Kenyan",
    "valid": true
  },
  "request_id": "550e8400-e29b-41d4-a716-446655440000"
}

Response Fields

FieldTypeDescription
successbooleanWhether the request succeeded
response_codenumberApplication response code (typically mirrors HTTP)
messagestringHuman-readable status message
dataobjectPayload for the verified resource
request_idstringUUID for support and audit trails

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.