GET
Verify a UK individual against multiple identity data sources and return an aggregated match result.
/api/v1/uk/kycHeaders
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Your appβs secret key, sent as-is β not Bearer. |
AppId | Yes | The App ID from your dashboard. |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
first_name | string | Yes | First name. |
last_name | string | Yes | Last name. |
middle_name | string | No | Middle name. |
date_of_birth | string | Yes | Date of birth (YYYY-MM-DD). |
gender | string | Yes | M or F. |
country | string | Yes | Country code β GBR. |
street_name | string | Yes | Street name. |
house_number | string | Yes | House number. |
post_code | string | Yes | Post code. |
Response
Returns anentity with an interpretResult plus the per-source rawResponse matches.
Errors
| 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/uk/kyc?first_name=John&last_name=Musa&date_of_birth=1969-12-12&gender=M&country=GBR&street_name=Baker Street&house_number=221&post_code=NW1 6XE" \
-H "Authorization: {{secret_key}}" \
-H "AppId: {{app_id}}"
const params = new URLSearchParams({
"first_name": "John",
"last_name": "Musa",
"date_of_birth": "1969-12-12",
"gender": "M",
"country": "GBR",
"street_name": "Baker Street",
"house_number": "221",
"post_code": "NW1 6XE",
});
const url = "https://api.dojah.io/api/v1/uk/kyc?" + 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/uk/kyc",
headers={
"Authorization": os.environ["DOJAH_SECRET_KEY"],
"AppId": os.environ["DOJAH_APP_ID"],
},
params={ "first_name": "John", "last_name": "Musa", "date_of_birth": "1969-12-12", "gender": "M", "country": "GBR", "street_name": "Baker Street", "house_number": "221", "post_code": "NW1 6XE" },
)
data = res.json()
{
"entity": {
"interpretResult": "Pass",
"message": "Matching performed using 11,8 sources as per profile",
"rawResponse": [
{
"AddressMatch": "NoMatch",
"DataSource": "Resident Roll",
"DobMatch": "Partial",
"FirstNameMatch": "Initial",
"SurnameMatch": "Full"
}
],
"transactionResult": "Success"
}
}