GET
Verify a Zambian National Registration Card (NRC) and return the taxpayerβs status and TPIN.
/api/v1/zm/kyc/nrcHeaders
Query parameters
Response
Returns anentity object with the taxpayerβs name, status, and TPIN.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
"https://api.dojah.io/api/v1/zm/kyc/nrc?nrc=123456/78/9" \
-H "Authorization: {{secret_key}}" \
-H "AppId: {{app_id}}"
const params = new URLSearchParams({
"nrc": "123456/78/9",
});
const url = "https://api.dojah.io/api/v1/zm/kyc/nrc?" + params;
const res = await fetch(url, {
headers: {
Authorization: process.env.DOJAH_SECRET_KEY,
AppId: process.env.DOJAH_APP_ID,
},
});
const data = await res.json();
import os, requests
res = requests.get(
"https://api.dojah.io/api/v1/zm/kyc/nrc",
headers={
"Authorization": os.environ["DOJAH_SECRET_KEY"],
"AppId": os.environ["DOJAH_APP_ID"],
},
params={ "nrc": "123456/78/9" },
)
data = res.json()
{
"entity": {
"taxpayer_name": "John Doe",
"current_status": "ACTIVE",
"is_deregistered": 0,
"tax_types": "",
"nrc": "123456/78/9",
"tpin": "1234567890"
}
}
Verify a Zambian National Registration Card (NRC) and return the taxpayerβs status and TPIN.
/api/v1/zm/kyc/nrc| Header | Required | Description |
|---|---|---|
Authorization | Yes | Your appβs secret key, sent as-is β not Bearer. |
AppId | Yes | The App ID from your dashboard. |
| Parameter | Type | Required | Description |
|---|---|---|---|
nrc | string | Yes | National Registration Card (NRC) number. |
entity object with the taxpayerβs name, status, and TPIN.
| Code | Meaning |
|---|---|
400 | Bad request β a required parameter is missing or malformed. |
401 | Unauthorized β check your key and AppId (no Bearer prefix). |
402 | Insufficient wallet balance. Fund your wallet. |
404 | No record found for the supplied identifier. |
424 | The upstream source was unavailable β retry shortly. |
429 | Too many requests β back off and retry. |
curl --request GET \
"https://api.dojah.io/api/v1/zm/kyc/nrc?nrc=123456/78/9" \
-H "Authorization: {{secret_key}}" \
-H "AppId: {{app_id}}"
const params = new URLSearchParams({
"nrc": "123456/78/9",
});
const url = "https://api.dojah.io/api/v1/zm/kyc/nrc?" + params;
const res = await fetch(url, {
headers: {
Authorization: process.env.DOJAH_SECRET_KEY,
AppId: process.env.DOJAH_APP_ID,
},
});
const data = await res.json();
import os, requests
res = requests.get(
"https://api.dojah.io/api/v1/zm/kyc/nrc",
headers={
"Authorization": os.environ["DOJAH_SECRET_KEY"],
"AppId": os.environ["DOJAH_APP_ID"],
},
params={ "nrc": "123456/78/9" },
)
data = res.json()
{
"entity": {
"taxpayer_name": "John Doe",
"current_status": "ACTIVE",
"is_deregistered": 0,
"tax_types": "",
"nrc": "123456/78/9",
"tpin": "1234567890"
}
}
Was this page helpful?