Passport Verification
Here's how you can verify a Kenyan Passport using the Talent API
For the
baseUrl
refer
Here
const sampleRequest = {
id: "AK1367466",
};
const sampleFoundResponse = {
success: true,
statusCode: 200,
message: "success",
data: {
id: "62b511caf1d35a61f7ba4de6",
parentId: null,
status: "found",
reason: null,
dataValidation: false,
selfieValidation: false,
firstName: "KARBOH",
middleName: null,
lastName: "ZEBOCK",
fullName: "KARBOH ZEBOCK",
image: null,
nationality: "KENYAN",
dateOfBirth: null,
isConsent: true,
idNumber: "AK0167656",
businessId: "6222a5ea3e7a41c29c030fac",
type: "kePassport",
gender: "male",
requestedAt: "2022-06-24T01:22:18.710Z",
requestedById: "6222a5ea3e7a41c29c030fad",
country: "KE",
createdAt: "2022-06-24T01:22:18.728Z",
lastModifiedAt: "2022-06-24T01:22:18.728Z",
requestedBy: {
firstName: "API",
lastName: "User",
middleName: "",
id: "6222a5ea3e7a41c29c030fad",
},
},
links: [],
};