KRA PIN Verification
Here's how you can verify a KRA PIN using the Talent API
For the
baseUrl
refer
Here
const sampleRequest = {
id: "A012345678R",
};
const sampleFoundResponse = {
success: true,
statusCode: 200,
message: "success",
data: {
id: "6416e5258c8eb062f325a87c",
parentId: null,
status: "found",
reason: null,
dataValidation: false,
selfieValidation: false,
pin: "A012345678R",
pinCurrentStatus: "Registered",
effectiveFromDate: "2013-12-31",
effectiveToDate: null,
itaxStatus: "iPage Updated",
obligationName: "Income Tax - Resident Individual",
pinStatus: "Active",
taxpayerName: "John Doe",
isConsent: true,
businessId: "628b38f03ae28a14f52d4bf7",
type: "kePinCheck",
allValidationPassed: true,
requestedAt: "2023-03-19T10:34:14.297Z",
requestedById: "628b38f03ae28a5a122d4bf3",
country: "KE",
createdAt: "2023-03-19T10:34:14.485Z",
lastModifiedAt: "2023-03-19T10:34:14.485Z",
metadata: {},
requestedBy: {
firstName: "API",
lastName: "User",
middleName: "",
id: "628b38f03ae28a5a122d4bf3",
},
},
links: [],
};