Resolve Identity
API reference for resolving identity numbers across supported countries.
Resolve an identity number to retrieve linked identifiers and profile information. The engine dispatches through the right per-country provider chain based on the identifier kind — see Identity Resolution Overview for the supported countries (NG, KE, GH, ZA) and identifier types.
Endpoint
POST /api/v1/identity/resolve
Scope: identity:resolve. A key of your organisation must name it: since 2026-11-18 a key with no scopes, an empty list or the wildcard * is refused here (403), as for lookup's identity:lookup. Keys that list identity:resolve keep it.
Plan gate: the Detection Pack addon and the current Fraud Detection terms, as for verify and lookup. Without them the call is refused with 402 before the body is read.
Billing: you pay for the work, not the result. One identity check when a provider answered, whether the number was found or not. With resolveLinked: true, each follow-on lookup a provider answered is billed too (up to six more), so a linked resolve can count as up to seven checks. The answer's outcome tells you which: found and not_found (a provider answered that the number is not on the register) are billed; provider_down (no provider could answer) is not. A not_found and a provider_down both come back as resolved: false with provider: "none", so read outcome, not provider, to reconcile your invoice. Nothing is billed either when the answer came from the 24-hour cache (no lookup was made).
Consent log: every call records the consent reference and the purpose, including a cache hit, a not-found and a provider_down.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Identity type: BVN, NIN, TIN, VOTER_ID, PASSPORT, PHONE, DRIVERS_LICENSE |
value | string | Yes | The identity number to resolve |
purpose | string | Yes | Why you are resolving this person (1 to 200 characters), as on lookup. Required since 2026-11-18 |
resolveLinked | boolean | No | true also looks up every linked identifier (each lookup a provider answers is billed). Default: false. Any value other than true is treated as false |
consent | object | Yes | Consent proof (see below) |
consent.granted | boolean | Yes | Must be true |
consent.reference | string | Yes | Your record of the holder's consent, 1 to 200 characters |
The purpose and consent fields are mandatory. Requests without a purpose, or without consent.granted: true and a consent reference, are rejected with BAD_REQUEST. See Consent & NDPR for compliance details.
Response
{
"success": true,
"data": {
"resolved": true,
"identifiers": {
"nin": "12345678901",
"bvn": "22345678901",
"tin": null,
"passportNumber": null,
"voterCardNumber": null,
"driversLicense": null,
"phoneNumbers": ["+2348012345678"]
},
"profile": {
"firstName": "Adaeze",
"middleName": null,
"lastName": "Okonkwo",
"dateOfBirth": "1990-05-15",
"gender": "F",
"photo": null,
"address": { "state": "Lagos", "lga": "Ikeja" }
},
"confidence": 0.95,
"provider": "primary",
"resolvedAt": "2026-04-05T14:30:00.000Z",
"outcome": "found"
}
}
| Field | Type | Description |
|---|---|---|
resolved | boolean | false (with provider: "none") when no record was found |
identifiers | object | The linked identity numbers; a field nobody returned is null |
profile | object | Demographic information from the registry record. photo is always null: the registry photo is never returned |
confidence | number | How complete the record is, between 0 and 1 |
provider | string | The source label that answered; none when none did |
resolvedAt | string | ISO 8601 timestamp of resolution |
outcome | string | found; not_found: a provider answered that the number is not on the register (billed); provider_down: no provider could answer (not billed) |
No raw provider payload is returned.
A resolved record is cached for 24 hours per organisation, separately for a resolveLinked: true resolve and a plain one. A repeat resolve of the same number (and the same resolveLinked) within that time is answered from the cache and is not billed: no lookup was made. The consent and the purpose are still recorded.
Examples
curl
curl -X POST https://api.platformxe.com/api/v1/identity/resolve \
-H "Content-Type: application/json" \
-H "x-api-key: pxk_live_your_api_key_here" \
-d '{
"type": "BVN",
"value": "22345678901",
"purpose": "tenant onboarding",
"resolveLinked": true,
"consent": {
"granted": true,
"reference": "consent_ref_abc123"
}
}'
SDK
import { PlatformXeClient } from '@caldera/platformxe-sdk';
const px = new PlatformXeClient({ apiKey: 'pxk_live_your_api_key_here' });
const result = await px.identity.resolve({
type: 'BVN',
value: '22345678901',
purpose: 'tenant onboarding',
resolveLinked: true,
consent: {
granted: true,
reference: 'consent_ref_abc123',
},
});
console.log(result.data.identifiers.nin);
// "12345678901"
console.log(result.data.profile.firstName);
// "Adaeze"
console.log(result.data.confidence);
// 0.95
Resolve without linked identifiers
const result = await px.identity.resolve({
type: 'NIN',
value: '12345678901',
purpose: 'tenant onboarding',
resolveLinked: false,
consent: {
granted: true,
reference: 'consent_ref_def456',
},
});
// Only what the NIN lookup returned (one billed check)
console.log(result.data.identifiers.nin);
// "12345678901"
Error responses
| Status | Code | Description |
|---|---|---|
| 400 | BAD_REQUEST | A body that is not a JSON object, an invalid identity type, a missing value, a missing or over-long purpose, consent not granted, or a missing or over-long consent reference |
| 402 | DETECTION_PACK_REQUIRED | The Detection Pack addon is not on for your organisation |
| 402 | FRAUD_TERMS_REQUIRED | The current Fraud Detection terms are not accepted |
| 403 | FORBIDDEN | The API key has no organisation, or does not name the identity:resolve scope (no scopes or * do not grant it) |
| 429 | RATE_LIMITED | Too many requests for this API key |
| 500 | INTERNAL_ERROR | The resolve could not be completed; try again |