Skip to main content
POST
/
api
/
onboarding
/
kenya_kyc
/
kra_pin
KRA PIN Verification
curl --request POST \
  --url https://adhere-api.smartcomply.com/api/onboarding/kenya_kyc/kra_pin/ \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "pin": "A000000000Z"
}
'
{
  "status": "failed",
  "data": [
    "<unknown>"
  ],
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.smartcomply.com/llms.txt

Use this file to discover all available pages before exploring further.

The KRA PIN endpoint validates a Kenya Revenue Authority (KRA) Personal Identification Number and returns the associated taxpayer details including name, PIN status, iTax status, and tax obligation information.

Endpoint

POST /api/onboarding/kenya_kyc/kra_pin/

Request

Headers

HeaderValueRequired
x-access-tokenYour API secret keyYes
Content-Typeapplication/jsonYes

Body Parameters

ParameterTypeRequiredDescription
pinstringYesThe customer’s KRA PIN (e.g. A123456789B)

Example

curl -X POST "https://adhere-api.smartcomply.com/api/onboarding/kenya_kyc/kra_pin/" \
  -H "x-access-token: YOUR_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pin": "A123456789B"}'

Response

200 OK

FieldTypeDescription
data.pinstringKRA PIN
data.taxpayer_namestringRegistered taxpayer name
data.pin_statusstringPIN status (e.g. "Active")
data.itax_statusstringiTax system status
data.obligation_detailsstringTax obligation description and registration date
{
  "status": "success",
  "data": {
    "pin": "A123456789B",
    "taxpayer_name": "ABB APP Limited",
    "pin_status": "Active",
    "itax_status": "iPage Updated",
    "obligation_details": "Income Tax - Company Registered 29/01/2013"
  },
  "message": "Pin details retrieved successfully"
}

400 Bad Request

{
  "status": "failed",
  "data": [],
  "message": "PIN is required"
}

401 Unauthorized

{
  "status": "failed",
  "message": "Authentication credentials were not provided."
}

Authorizations

x-access-token
string
header
required

Your Adhere API secret key

Body

application/json
pin
string
required

Kenya Revenue Authority PIN

Example:

"A000000000Z"

Response

KRA PIN verified