iCheck API
Check people in Nigeria from your own app, with their agreement. You send a person's name, NIN and the reason; iCheck texts or emails them the request (or we give you a link to send them yourself). They agree on their phone and pass a live face check against their NIN photo. Then you get their report: their name confirmed against their NIN record, the face match (if NIMC has no photo for that NIN, it confirms a live person only, and the report says so), and their iCheck track record.
In a consented check, nothing about the person is shared until they agree on their own phone. Direct NIN and face calls need our approval and the person's agreement in your app first. Live checks cost ₦120 from your prepaid wallet and are refunded if the person declines, doesn't answer within 7 days, or doesn't pass.
What you can do
Quickstart
- Create a business account and verify your email.
- In your dashboard, create a test key (starts with
ick_test_). Keep it on your server. - Start a check with a test NIN (right), then move it to an outcome with simulate.
- Add a webhook, apply for live access, top up your wallet, and switch to an
ick_live_key.
You can also try every endpoint in your dashboard's API playground.
curl -X POST "https://icheck.ng/api/v1/checks" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: rider-4521" \
-d '{
"nin": "10000000003",
"first_name": "Ngozi",
"last_name": "Eze",
"purpose": "hiring",
"purpose_note": "Delivery rider",
"reference": "rider-4521"
}'
const res = await fetch('https://icheck.ng/api/v1/checks', {
method: 'POST',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
'Content-Type': 'application/json',
'Idempotency-Key': 'rider-4521',
},
body: JSON.stringify({
"nin": "10000000003",
"first_name": "Ngozi",
"last_name": "Eze",
"purpose": "hiring",
"purpose_note": "Delivery rider",
"reference": "rider-4521"
}),
});
const data = await res.json();
$ch = curl_init('https://icheck.ng/api/v1/checks');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
'Content-Type: application/json',
'Idempotency-Key: rider-4521',
],
CURLOPT_POSTFIELDS => json_encode([
'nin' => '10000000003',
'first_name' => 'Ngozi',
'last_name' => 'Eze',
'purpose' => 'hiring',
'purpose_note' => 'Delivery rider',
'reference' => 'rider-4521',
]),
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
res = requests.post(
"https://icheck.ng/api/v1/checks",
headers={"X-API-Key": os.environ["ICHECK_KEY"], "Idempotency-Key": "rider-4521"},
json={
"nin": "10000000003",
"first_name": "Ngozi",
"last_name": "Eze",
"purpose": "hiring",
"purpose_note": "Delivery rider",
"reference": "rider-4521"
},
)
data = res.json()
Authentication
Send your key in the X-API-Key header (or Authorization: Bearer). Keys in the URL or body are refused.
Keep keys on your server: never in a website or mobile app. Test keys see only test checks; live keys only live checks.
Each key has permissions (scopes), chosen when you create it. A key without the scope an endpoint needs gets 403 insufficient_scope.
You can also lock a key to one server IP address. See what each permission does.
Conventions
https://icheck.ng/api/v1success.X-API-Key: ick_test_••••••••••••••••
Content-Type: application/jsonSandbox and test data
Test keys (ick_test_) are free, never contact anyone and only accept iCheck's test NINs. Every endpoint answers from test data,
including the abilities that need approval for live keys.
Test NINs
1000000000110000000002100000000031000000000410000000005100000000061000000000710000000008100000000091000000001010000000011100000000121000000001310000000014100000000151000000001610000000017100000000181000000001910000000020
consent_url shows a sandbox notice; use simulate to move the check on.Errors
Errors answer with success: false, a stable error code and a message saying what to do.
missing_api_keyinvalid_api_keyinsufficient_balanceinsufficient_scopeip_not_allowedbusiness_not_approvedbusiness_suspendedtest_key_requiredunknown_subjectnot_foundcheck_closednot_a_test_checkvalidation_failedtest_nin_requiredtest_nin_on_live_keyname_mismatchrate_limiteddaily_limit_reachedservice_unavailableface_engine_unavailablerequest_limit_reachedcontact_blockedsms_not_availablerequest_unavailable{
"success": false,
"error": "validation_failed",
"message": "The nin field must be 11 digits.",
"errors": {
"nin": [
"The nin field must be 11 digits."
]
}
}Pricing
Pay as you go from a prepaid wallet. Test keys are always free. Paid calls are charged on live keys only, and only when they succeed.
Higher volumes or a custom setup: [email protected].
What each permission does
Every key has permissions (scopes) you choose when you create it. The first three are open to every business; the rest need iCheck's approval first (dashboard, Abilities), with how you'll use it and how people agree. Test keys can use all of them for free with the test NINs.
Start checks
checks:create
Every businessAsk someone to agree to share their verified identity with you.
- Use it for
- Onboarding a tenant, a new hire, a rider, a buyer or seller: anyone you need to trust before you deal with them.
- You send
- Their name, NIN and why you're checking.
- You get
- A link to send them. Once they agree and pass a live face check, their report: name confirmed against their NIN record, face match (or a live person only, if NIMC has no NIN photo), and their iCheck track record.
- Price
- ₦120 per check, refunded if they decline, don't answer or don't pass
Read checks and reports
checks:read
Every businessSee your checks and, once ready, their reports.
- Use it for
- Showing a check's progress in your app, or fetching the report after a webhook tells you it's ready.
- You send
- A check id, or filters (status, your reference).
- You get
- The check and its status; the report while it can be viewed (30 days).
- Price
- Free
Read wallet
wallet:read
Every businessSee your balance and current price per check.
- Use it for
- Warning your team before the balance runs out.
- You send
- Nothing.
- You get
- Balance, price per check, live checks this month and volume tiers.
- Price
- Free
Verify a NIN (basic)
identity:verify:basic
Needs approvalInstantly confirm a NIN belongs to a name. Name, gender and last 4 digits only.
- Use it for
- Quick identity check at sign-up, when the person has agreed in your app.
- You send
- NIN, first name and last name.
- You get
- Whether they match, with the name, gender and last 4 digits of the NIN. No photo, phone or birth date.
- Price
- ₦120 per successful match, free if it doesn't match
Verify a NIN (full)
identity:verify
Needs approvalAs basic, plus the NIN photo, phone number and date of birth.
- Use it for
- Regulated onboarding (e.g. lending) where you must keep a photo and birth date, with the person's consent.
- You send
- NIN, first name and last name.
- You get
- Everything in basic, plus the NIN photo, phone number and date of birth.
- Price
- ₦120 per successful match, free if it doesn't match
Confirm a known identity
identity:confirm
Needs approvalCheck a name and NIN last 4 against iCheck's verified records. Yes or no, no personal data.
- Use it for
- Re-checking someone you already know, without storing their NIN yourself.
- You send
- NIN last 4, first name, last name, optionally date of birth.
- You get
- Yes or no, and an iCheck ID for the person you can keep instead of their NIN.
- Price
- ₦50 the first time for a person new to you; repeats and misses free
Face checks
face:check
Needs approvalA hosted selfie check that checks for a real, live person, and can match a photo.
- Use it for
- Making sure the person signing up, or turning up, is who they say they are.
- You send
- Your reference for the person, and what to compare with (a photo, an enrolled face, or nothing).
- You get
- A link to send them; then pass, fail or review, with liveness and match scores. With purpose "enrolment", a saved face to match later.
- Price
- ₦100 per face check (paid when it opens, given back if it expires unfinished); ₦50 per instant face match
Match against the NIN photo
face:match-nin
Needs approvalLet face checks compare the live face with the person's NIN photo.
- Use it for
- Strong proof the person is the NIN holder, without you storing their photo.
- You send
- match_against: nin, and their NIN, on a face check.
- You get
- Whether the live face matches their NIN photo.
- Price
- Included in the face check price
Add verified jobs
employment:push
Needs approvalAdd work history for people you verified, e.g. "rider for 2 years".
- Use it for
- Rewarding good workers with a track record that follows them.
- You send
- A push token for someone your key verified, then company, position and dates.
- You get
- Confirmation. iCheck staff review it before it counts on their profile.
- Price
- Free
Add verified addresses
address:push
Needs approvalAdd address history for people you verified, e.g. a tenancy you managed.
- Use it for
- Landlords and property platforms recording where someone has lived.
- You send
- A push token for someone your key verified, then the address and dates.
- You get
- Confirmation. iCheck staff review it before it counts on their profile.
- Price
- Free
Report repayment records
repayment:push
Needs approvalReport how people you verified repay credit: instalments, late days, defaults and recoveries.
- Use it for
- Lenders, BNPL and savings groups helping good payers build an iCheck Trust Score that follows them.
- You send
- Signed requests: the person's subject_ref (from Verify or Confirm on the same key), and each obligation's state in amount bands, never exact amounts or names.
- You get
- Confirmation. The person sees every record you send and can dispute it; nobody else sees it without their consent.
- Price
- Free
Business keys can only add jobs and addresses for people that key verified or confirmed itself. Calls without an approved
ability answer 403 insufficient_scope; too little balance answers 402 insufficient_balance.
Create a check
Start a consented check. You get a link to send the person; once they agree and pass a live face check, the report is ready.
Headers
Body parameters
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
curl -X POST "https://icheck.ng/api/v1/checks" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: rider-4521" \
-d '{
"nin": "10000000003",
"first_name": "Ngozi",
"last_name": "Eze",
"purpose": "hiring",
"purpose_note": "Delivery rider",
"reference": "rider-4521"
}'
const res = await fetch('https://icheck.ng/api/v1/checks', {
method: 'POST',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
'Content-Type': 'application/json',
'Idempotency-Key': 'rider-4521',
},
body: JSON.stringify({
"nin": "10000000003",
"first_name": "Ngozi",
"last_name": "Eze",
"purpose": "hiring",
"purpose_note": "Delivery rider",
"reference": "rider-4521"
}),
});
const data = await res.json();
$ch = curl_init('https://icheck.ng/api/v1/checks');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
'Content-Type: application/json',
'Idempotency-Key: rider-4521',
],
CURLOPT_POSTFIELDS => json_encode([
'nin' => '10000000003',
'first_name' => 'Ngozi',
'last_name' => 'Eze',
'purpose' => 'hiring',
'purpose_note' => 'Delivery rider',
'reference' => 'rider-4521',
]),
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
res = requests.post(
"https://icheck.ng/api/v1/checks",
headers={"X-API-Key": os.environ["ICHECK_KEY"], "Idempotency-Key": "rider-4521"},
json={
"nin": "10000000003",
"first_name": "Ngozi",
"last_name": "Eze",
"purpose": "hiring",
"purpose_note": "Delivery rider",
"reference": "rider-4521"
},
)
data = res.json()
{
"success": true,
"data": {
"id": "9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11",
"object": "check",
"environment": "live",
"reference": "rider-4521",
"status": "awaiting_consent",
"purpose": "hiring",
"purpose_note": "Delivery rider",
"subject": {
"first_name": "Ngozi",
"last_name": "Eze",
"nin_last4": "0003"
},
"price": 120,
"currency": "NGN",
"consent_url": "https://icheck.ng/consent/9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11.5ee990da…",
"consent_expires_at": "2026-11-09T10:00:00+00:00",
"consented_at": null,
"declined_at": null,
"ready_at": null,
"report_expires_at": null,
"refunded": false,
"created_at": "2026-11-02T10:00:00+00:00",
"report": null
}
}
{
"success": false,
"error": "insufficient_balance",
"message": "Your iCheck wallet doesn't have enough balance for this. Top up and try again."
}
{
"success": false,
"error": "validation_failed",
"message": "The nin field must be 11 digits.",
"errors": {
"nin": [
"The nin field must be 11 digits."
]
}
}
Get a check
One check and its status. When status is ready, report holds the result until report_expires_at (30 days).
Path parameters
Statuses
awaiting_consentverifyingreadyreport until report_expires_at.declinedexpiredfailedYour key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
CHECK_ID="9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11" # the id from Create a check
curl -X GET "https://icheck.ng/api/v1/checks/$CHECK_ID" \
-H "X-API-Key: $ICHECK_KEY"
const checkId = '9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11'; // the id from Create a check
const res = await fetch(`https://icheck.ng/api/v1/checks/${checkId}`, {
method: 'GET',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
},
});
const data = await res.json();
$checkId = '9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11'; // the id from Create a check
$ch = curl_init('https://icheck.ng/api/v1/checks/' . $checkId . '');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
],
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
check_id = "9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11" # the id from Create a check
res = requests.get(
f"https://icheck.ng/api/v1/checks/{check_id}",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
)
data = res.json()
{
"success": true,
"data": {
"id": "9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11",
"object": "check",
"environment": "live",
"reference": "rider-4521",
"status": "ready",
"purpose": "hiring",
"purpose_note": "Delivery rider",
"subject": {
"first_name": "Ngozi",
"last_name": "Eze",
"nin_last4": "0003"
},
"price": 120,
"currency": "NGN",
"consent_url": "https://icheck.ng/consent/9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11.5ee990da…",
"consent_expires_at": "2026-11-09T10:00:00+00:00",
"consented_at": "2026-11-02T10:04:00+00:00",
"declined_at": null,
"ready_at": "2026-11-02T10:06:00+00:00",
"report_expires_at": "2026-12-02T10:06:00+00:00",
"refunded": false,
"created_at": "2026-11-02T10:00:00+00:00",
"report": {
"identity": {
"name": "Ngozi Adaeze Eze",
"name_matches": true,
"gender": "Female",
"age_band": "25–34",
"nationality": "NGA",
"nin_last4": "0003",
"photo": "<base64 JPEG>",
"verified_with": "NIMC"
},
"face_check": {
"result": "matched_nin_photo",
"reviewed_by_staff": false
},
"icheck": {
"member": true,
"member_since": "2025-03",
"trust_score": 82,
"rating": "Good",
"jobs": [
{
"company": "Swift Logistics",
"position": "Rider",
"from": "2023-01",
"till": null,
"current": true,
"verified_by": "Swift Logistics",
"referee": null,
"verification_steps": [
{
"key": "partner_confirmed",
"label": "Confirmed by Swift Logistics",
"date": "2023-02-14",
"state": "done",
"due": null
}
]
}
],
"addresses": [
{
"area": "Wuse 2, Abuja",
"from": "2022-06",
"till": null,
"referee": {
"role": "landlord",
"confirmed_on": "2026-10-20",
"line": "Landlord they named confirmed this on 20 Oct 2026"
},
"verification_steps": [
{
"key": "staff_checked",
"label": "Checked by iCheck staff",
"date": "2026-09-03",
"state": "done",
"due": null
},
{
"key": "referee_confirmed",
"label": "Landlord they named confirmed this on 20 Oct 2026",
"date": "2026-10-20",
"state": "done",
"due": null
}
]
}
]
}
}
}
}
{
"success": false,
"error": "not_found",
"message": "No check with that id for this key."
}
List checks
Your checks, newest first, without the report body.
Query parameters
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
curl -X GET "https://icheck.ng/api/v1/checks?status=ready&per_page=25" \
-H "X-API-Key: $ICHECK_KEY"
const res = await fetch('https://icheck.ng/api/v1/checks?status=ready&per_page=25', {
method: 'GET',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
},
});
const data = await res.json();
$ch = curl_init('https://icheck.ng/api/v1/checks?status=ready&per_page=25');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
],
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
res = requests.get(
"https://icheck.ng/api/v1/checks?status=ready&per_page=25",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
)
data = res.json()
{
"success": true,
"data": [
{
"id": "9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11",
"object": "check",
"environment": "live",
"reference": "rider-4521",
"status": "ready",
"purpose": "hiring",
"purpose_note": "Delivery rider",
"subject": {
"first_name": "Ngozi",
"last_name": "Eze",
"nin_last4": "0003"
},
"price": 120,
"currency": "NGN",
"consent_url": "https://icheck.ng/consent/9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11.5ee990da…",
"consent_expires_at": "2026-11-09T10:00:00+00:00",
"consented_at": "2026-11-02T10:04:00+00:00",
"declined_at": null,
"ready_at": "2026-11-02T10:06:00+00:00",
"report_expires_at": "2026-12-02T10:06:00+00:00",
"refunded": false,
"created_at": "2026-11-02T10:00:00+00:00",
"report": null
}
],
"meta": {
"page": 1,
"per_page": 25,
"total": 1,
"last_page": 1
}
}
Simulate an outcome
Move a test check to an outcome without a real person. Webhooks fire just as they do for live checks.
Path parameters
Body parameters
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
CHECK_ID="9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11" # the id from Create a check (test key)
curl -X POST "https://icheck.ng/api/v1/sandbox/checks/$CHECK_ID/simulate" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-d '{
"outcome": "ready"
}'
const checkId = '9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11'; // the id from Create a check (test key)
const res = await fetch(`https://icheck.ng/api/v1/sandbox/checks/${checkId}/simulate`, {
method: 'POST',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"outcome": "ready"
}),
});
const data = await res.json();
$checkId = '9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11'; // the id from Create a check (test key)
$ch = curl_init('https://icheck.ng/api/v1/sandbox/checks/' . $checkId . '/simulate');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'outcome' => 'ready',
]),
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
check_id = "9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11" # the id from Create a check (test key)
res = requests.post(
f"https://icheck.ng/api/v1/sandbox/checks/{check_id}/simulate",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
json={
"outcome": "ready"
},
)
data = res.json()
{
"success": true,
"data": {
"id": "9d1c2f0e-4b7a-4c1e-9f51-2a7e3c0d8b11",
"object": "check",
"environment": "test",
"reference": "rider-4521",
"status": "ready",
"purpose": "hiring",
"purpose_note": "Delivery rider",
"subject": {
"first_name": "Ngozi",
"last_name": "Eze",
"nin_last4": "0003"
},
"price": 0,
"currency": "NGN",
"consent_url": null,
"consent_expires_at": "2026-11-09T10:00:00+00:00",
"consented_at": "2026-11-02T10:04:00+00:00",
"declined_at": null,
"ready_at": "2026-11-02T10:06:00+00:00",
"report_expires_at": "2026-12-02T10:06:00+00:00",
"refunded": false,
"created_at": "2026-11-02T10:00:00+00:00",
"report": {
"identity": {
"name": "Ngozi Adaeze Eze",
"name_matches": true,
"gender": "Female",
"age_band": "25–34",
"nationality": "NGA",
"nin_last4": "0003",
"photo": null,
"verified_with": "NIMC"
},
"face_check": {
"result": "matched_nin_photo",
"reviewed_by_staff": false
},
"icheck": {
"member": true,
"member_since": "2025-03",
"trust_score": 82,
"rating": "Good",
"jobs": [
{
"company": "Swift Logistics",
"position": "Rider",
"from": "2023-01",
"till": null,
"current": true,
"verified_by": "Swift Logistics",
"referee": null,
"verification_steps": [
{
"key": "partner_confirmed",
"label": "Confirmed by Swift Logistics",
"date": "2023-02-14",
"state": "done",
"due": null
}
]
}
],
"addresses": [
{
"area": "Wuse 2, Abuja",
"from": "2022-06",
"till": null,
"referee": {
"role": "landlord",
"confirmed_on": "2026-10-20",
"line": "Landlord they named confirmed this on 20 Oct 2026"
},
"verification_steps": [
{
"key": "staff_checked",
"label": "Checked by iCheck staff",
"date": "2026-09-03",
"state": "done",
"due": null
},
{
"key": "referee_confirmed",
"label": "Landlord they named confirmed this on 20 Oct 2026",
"date": "2026-10-20",
"state": "done",
"due": null
}
]
}
]
}
}
}
}
{
"success": false,
"error": "test_key_required",
"message": "Simulate only works with a test key."
}
{
"success": false,
"error": "check_closed",
"message": "This check has already finished (ready)."
}
Get wallet
Your balance and the price per check. Top up in your business dashboard (card, transfer or USSD).
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
curl -X GET "https://icheck.ng/api/v1/wallet" \
-H "X-API-Key: $ICHECK_KEY"
const res = await fetch('https://icheck.ng/api/v1/wallet', {
method: 'GET',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
},
});
const data = await res.json();
$ch = curl_init('https://icheck.ng/api/v1/wallet');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
],
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
res = requests.get(
"https://icheck.ng/api/v1/wallet",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
)
data = res.json()
{
"success": true,
"data": {
"balance": 48600,
"currency": "NGN",
"price_per_check": 120,
"live_checks_this_month": 12,
"base_price": 120,
"volume_tiers": [],
"business_status": "approved"
}
}
Verify a NIN
Instantly check that a NIN belongs to a name. You need the person's consent. Basic keys get names, gender and NIN last 4; full keys (identity:verify) also get the photo, phone and birth date.
Body parameters
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
curl -X POST "https://icheck.ng/api/v1/identity/verify" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-d '{
"nin": "10000000003",
"firstname": "Ngozi",
"lastname": "Eze"
}'
const res = await fetch('https://icheck.ng/api/v1/identity/verify', {
method: 'POST',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"nin": "10000000003",
"firstname": "Ngozi",
"lastname": "Eze"
}),
});
const data = await res.json();
$ch = curl_init('https://icheck.ng/api/v1/identity/verify');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'nin' => '10000000003',
'firstname' => 'Ngozi',
'lastname' => 'Eze',
]),
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
res = requests.post(
"https://icheck.ng/api/v1/identity/verify",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
json={
"nin": "10000000003",
"firstname": "Ngozi",
"lastname": "Eze"
},
)
data = res.json()
{
"success": true,
"source": "cache",
"push_token": "<push token>",
"data": {
"firstname": "Ngozi",
"lastname": "Eze",
"middlename": "Adaeze",
"phone": null,
"birthdate": null,
"gender": "Female",
"nationality": "NGA",
"photo": null,
"nin_last4": "0003",
"verified_at": "2026-11-02T10:00:00+00:00"
}
}
{
"success": false,
"error": "name_mismatch",
"message": "The names provided do not match our records."
}
{
"success": false,
"error": "insufficient_scope",
"message": "API key does not have required scope: identity:verify"
}
Confirm a known identity
Check a name and NIN last 4 against iCheck's verified records, without the full NIN. Yes or no, no personal data. Never calls NIMC.
Body parameters
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
curl -X POST "https://icheck.ng/api/v1/identity/confirm" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-d '{
"nin_last4": "0003",
"firstname": "Ngozi",
"lastname": "Eze"
}'
const res = await fetch('https://icheck.ng/api/v1/identity/confirm', {
method: 'POST',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"nin_last4": "0003",
"firstname": "Ngozi",
"lastname": "Eze"
}),
});
const data = await res.json();
$ch = curl_init('https://icheck.ng/api/v1/identity/confirm');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'nin_last4' => '0003',
'firstname' => 'Ngozi',
'lastname' => 'Eze',
]),
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
res = requests.post(
"https://icheck.ng/api/v1/identity/confirm",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
json={
"nin_last4": "0003",
"firstname": "Ngozi",
"lastname": "Eze"
},
)
data = res.json()
{
"success": true,
"nin_hash_hmac": "<64-character id>",
"matched_via": "client_profile"
}
{
"success": false,
"error": "not_found"
}
{
"success": false,
"error": "rate_limited",
"message": "Too many unmatched confirmations for this API key. Try again later.",
"retry_after": 1800
}
Start a face check
Open a hosted selfie check that checks for a real, live person and can match a photo. Send the person to capture_url.
Body parameters
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
curl -X POST "https://icheck.ng/api/v1/face/sessions" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-d '{
"subject_ref": "rider-001",
"purpose": "verification",
"match_against": "none"
}'
const res = await fetch('https://icheck.ng/api/v1/face/sessions', {
method: 'POST',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"subject_ref": "rider-001",
"purpose": "verification",
"match_against": "none"
}),
});
const data = await res.json();
$ch = curl_init('https://icheck.ng/api/v1/face/sessions');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'subject_ref' => 'rider-001',
'purpose' => 'verification',
'match_against' => 'none',
]),
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
res = requests.post(
"https://icheck.ng/api/v1/face/sessions",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
json={
"subject_ref": "rider-001",
"purpose": "verification",
"match_against": "none"
},
)
data = res.json()
{
"success": true,
"data": {
"session_id": "3f0b7a6e-…",
"capture_url": "https://icheck.ng/face/3f0b7a6e-…",
"expires_at": "2026-11-02T10:30:00+00:00"
}
}
{
"success": false,
"error": "insufficient_balance",
"message": "Your iCheck wallet doesn't have enough balance for this. Top up and try again."
}
{
"success": false,
"error": "face_engine_unavailable",
"message": "Face checks are temporarily unavailable. Please try again later."
}
Get a face check
The result of a face check: pass, fail or review, with liveness and match scores.
Path parameters
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
CHECK_ID="3f0b7a6e-…" # the id from Start a face check (session_id)
curl -X GET "https://icheck.ng/api/v1/face/sessions/$CHECK_ID" \
-H "X-API-Key: $ICHECK_KEY"
const checkId = '3f0b7a6e-…'; // the id from Start a face check (session_id)
const res = await fetch(`https://icheck.ng/api/v1/face/sessions/${checkId}`, {
method: 'GET',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
},
});
const data = await res.json();
$checkId = '3f0b7a6e-…'; // the id from Start a face check (session_id)
$ch = curl_init('https://icheck.ng/api/v1/face/sessions/' . $checkId . '');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
],
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
check_id = "3f0b7a6e-…" # the id from Start a face check (session_id)
res = requests.get(
f"https://icheck.ng/api/v1/face/sessions/{check_id}",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
)
data = res.json()
{
"success": true,
"data": {
"session_id": "3f0b7a6e-…",
"subject_ref": "rider-001",
"status": "completed",
"decision": "pass",
"reasons": [],
"liveness_score": 0.97,
"match_score": null,
"match_against": "none",
"reference_id": null,
"selfie": null,
"attempts": 1,
"reviewed": false,
"completed_at": "2026-11-02T10:05:00+00:00",
"expires_at": "2026-11-02T10:30:00+00:00"
}
}
{
"success": false,
"message": "Face check not found."
}
Match a face
Match one photo from your own app against a face enrolled in an earlier passed check. No liveness: use it where the person is physically present.
Body parameters
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
curl -X POST "https://icheck.ng/api/v1/face/match" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-d '{
"reference_id": "7c2e…",
"image": "<base64 JPEG>"
}'
const res = await fetch('https://icheck.ng/api/v1/face/match', {
method: 'POST',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"reference_id": "7c2e…",
"image": "<base64 JPEG>"
}),
});
const data = await res.json();
$ch = curl_init('https://icheck.ng/api/v1/face/match');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'reference_id' => '7c2e…',
'image' => '<base64 JPEG>',
]),
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
res = requests.post(
"https://icheck.ng/api/v1/face/match",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
json={
"reference_id": "7c2e…",
"image": "<base64 JPEG>"
},
)
data = res.json()
{
"success": true,
"data": {
"check_id": "5a91…",
"decision": "pass",
"match_score": 0.91,
"reasons": []
}
}
Get a push token
or POST /token/address for addresses.
A short-lived token (10 minutes) to add a job or address for a person your key verified or confirmed. Use /token/employment for jobs and /token/address for addresses.
Body parameters
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
curl -X POST "https://icheck.ng/api/v1/token/employment" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-d '{
"nin_hash": "<64-character id>"
}'
const res = await fetch('https://icheck.ng/api/v1/token/employment', {
method: 'POST',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"nin_hash": "<64-character id>"
}),
});
const data = await res.json();
$ch = curl_init('https://icheck.ng/api/v1/token/employment');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'nin_hash' => '<64-character id>',
]),
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
res = requests.post(
"https://icheck.ng/api/v1/token/employment",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
json={
"nin_hash": "<64-character id>"
},
)
data = res.json()
{
"success": true,
"push_token": "<push token>",
"expires_in": 600
}
{
"success": false,
"error": "unknown_subject",
"message": "This API key can only push records for people it verified or confirmed through iCheck."
}
Add a verified job
Add work history for a person you verified, e.g. "rider for 2 years". iCheck staff review it before it counts on their profile.
Body parameters
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
curl -X POST "https://icheck.ng/api/v1/employment/inbound" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-d '{
"push_token": "<push token>",
"company_name": "Swift Logistics",
"position": "Rider",
"from": "2023-01-15",
"current_status": "Current"
}'
const res = await fetch('https://icheck.ng/api/v1/employment/inbound', {
method: 'POST',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"push_token": "<push token>",
"company_name": "Swift Logistics",
"position": "Rider",
"from": "2023-01-15",
"current_status": "Current"
}),
});
const data = await res.json();
$ch = curl_init('https://icheck.ng/api/v1/employment/inbound');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'push_token' => '<push token>',
'company_name' => 'Swift Logistics',
'position' => 'Rider',
'from' => '2023-01-15',
'current_status' => 'Current',
]),
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
res = requests.post(
"https://icheck.ng/api/v1/employment/inbound",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
json={
"push_token": "<push token>",
"company_name": "Swift Logistics",
"position": "Rider",
"from": "2023-01-15",
"current_status": "Current"
},
)
data = res.json()
{
"success": true,
"stored_as": "live",
"message": "Employment record created and score updated."
}
{
"success": false,
"error": "invalid_token",
"message": "Push token is invalid or has expired."
}
Add a verified address
Add address history for a person you verified, e.g. a tenancy you managed. iCheck staff review it before it counts.
Body parameters
Your key stays in this tab only. No key yet? Get a free sandbox key. Live calls: use the API playground in your dashboard.
curl -X POST "https://icheck.ng/api/v1/address/inbound" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-d '{
"push_token": "<push token>",
"address": "12 Aminu Kano Crescent",
"city": "Wuse 2",
"state": "FCT",
"current_status": "Current",
"from": "2022-06-01"
}'
const res = await fetch('https://icheck.ng/api/v1/address/inbound', {
method: 'POST',
headers: {
'X-API-Key': process.env.ICHECK_KEY,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"push_token": "<push token>",
"address": "12 Aminu Kano Crescent",
"city": "Wuse 2",
"state": "FCT",
"current_status": "Current",
"from": "2022-06-01"
}),
});
const data = await res.json();
$ch = curl_init('https://icheck.ng/api/v1/address/inbound');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . getenv('ICHECK_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'push_token' => '<push token>',
'address' => '12 Aminu Kano Crescent',
'city' => 'Wuse 2',
'state' => 'FCT',
'current_status' => 'Current',
'from' => '2022-06-01',
]),
]);
$data = json_decode(curl_exec($ch), true);
import os, requests
res = requests.post(
"https://icheck.ng/api/v1/address/inbound",
headers={"X-API-Key": os.environ["ICHECK_KEY"]},
json={
"push_token": "<push token>",
"address": "12 Aminu Kano Crescent",
"city": "Wuse 2",
"state": "FCT",
"current_status": "Current",
"from": "2022-06-01"
},
)
data = res.json()
{
"success": true,
"stored_as": "live",
"message": "Address record created."
}
{
"success": false,
"error": "invalid_token",
"message": "Push token is invalid or has expired."
}
Report a repayment record
Send one credit obligation (a loan, BNPL plan, savings-group cycle or platform debt) with its full current state, for a person your key verified or confirmed. Send it again whenever it changes: the newest as_of wins and repeats are harmless. Every request is signed with your key's signing secret (create it on the API keys page of your dashboard). Test keys: checked the same way, nothing is saved.
Headers
Body parameters
BODY='{"subject_ref":"<subject_ref>","external_ref":"loan:123","type":"instalment_credit","currency":"NGN","amount_band":"20k-100k","opened_at":"2026-08-06","term_days":90,"frequency":"monthly","status":"open","defaulted_at":null,"completed_at":null,"fast_close":false,"as_of":"2026-11-02T09:30:00Z","instalments":[]}'
TS=$(date +%s)
NONCE=$(openssl rand -hex 16)
BODY_HASH=$(printf '%s' "$BODY" | openssl dgst -sha256 -hex | sed 's/^.* //')
SIG=$(printf 'v2\n%s\n%s\n%s\nPOST\n/api/v1/repayment/records\n\n%s' "${ICHECK_KEY:0:12}" "$TS" "$NONCE" "$BODY_HASH" \
| openssl dgst -sha256 -hmac "$ICHECK_SIGNING_SECRET" -hex | sed 's/^.* //')
curl -X POST "https://icheck.ng/api/v1/repayment/records" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-H "X-Repayment-Contract: 1" \
-H "X-iCheck-Timestamp: $TS" \
-H "X-iCheck-Nonce: $NONCE" \
-H "X-iCheck-Signature-Version: 2" \
-H "X-iCheck-Signature: $SIG" \
--data-raw "$BODY"
import crypto from 'node:crypto';
async function sendRepaymentRecord(record) {
const key = process.env.ICHECK_KEY, secret = process.env.ICHECK_SIGNING_SECRET;
const body = JSON.stringify(record); // sign exactly the bytes you send
const ts = String(Math.floor(Date.now() / 1000));
const nonce = crypto.randomBytes(16).toString('hex');
const bodyHash = crypto.createHash('sha256').update(body).digest('hex');
const canonical = ['v2', key.slice(0, 12), ts, nonce, 'POST', '/api/v1/repayment/records', '', bodyHash].join('\n');
const signature = crypto.createHmac('sha256', secret).update(canonical).digest('hex');
const res = await fetch('https://icheck.ng/api/v1/repayment/records', {
method: 'POST',
headers: {
'X-API-Key': key, 'Content-Type': 'application/json', 'X-Repayment-Contract': '1',
'X-iCheck-Timestamp': ts, 'X-iCheck-Nonce': nonce, 'X-iCheck-Signature-Version': '2', 'X-iCheck-Signature': signature,
},
body,
});
return res.json(); // {"status":"accepted","external_ref":"loan:123"}
}
function sendRepaymentRecord(array $record): array
{
$key = getenv('ICHECK_KEY');
$body = json_encode($record, JSON_UNESCAPED_SLASHES); // sign exactly the bytes you send
$ts = (string) time();
$nonce = bin2hex(random_bytes(16));
$canonical = implode("\n", ['v2', substr($key, 0, 12), $ts, $nonce, 'POST', '/api/v1/repayment/records', '', hash('sha256', $body)]);
$signature = hash_hmac('sha256', $canonical, getenv('ICHECK_SIGNING_SECRET'));
$ch = curl_init('https://icheck.ng/api/v1/repayment/records');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
'X-API-Key: '.$key, 'Content-Type: application/json', 'X-Repayment-Contract: 1',
'X-iCheck-Timestamp: '.$ts, 'X-iCheck-Nonce: '.$nonce,
'X-iCheck-Signature-Version: 2', 'X-iCheck-Signature: '.$signature,
],
CURLOPT_POSTFIELDS => $body,
]);
return json_decode(curl_exec($ch), true);
}
import hashlib, hmac, json, os, secrets, time, requests
def send_repayment_record(record: dict) -> dict:
key, secret = os.environ["ICHECK_KEY"], os.environ["ICHECK_SIGNING_SECRET"]
body = json.dumps(record, separators=(",", ":")).encode() # sign exactly the bytes you send
ts, nonce = str(int(time.time())), secrets.token_hex(16)
canonical = "\n".join(["v2", key[:12], ts, nonce, "POST", "/api/v1/repayment/records", "", hashlib.sha256(body).hexdigest()])
signature = hmac.new(secret.encode(), canonical.encode(), hashlib.sha256).hexdigest()
res = requests.post(
"https://icheck.ng/api/v1/repayment/records",
headers={
"X-API-Key": key, "Content-Type": "application/json", "X-Repayment-Contract": "1",
"X-iCheck-Timestamp": ts, "X-iCheck-Nonce": nonce,
"X-iCheck-Signature-Version": "2", "X-iCheck-Signature": signature,
},
data=body,
)
return res.json()
{
"status": "accepted",
"external_ref": "loan:123"
}
{
"error": "unauthorized"
}
{
"error": "unknown_subject"
}
{
"error": "invalid",
"fields": {
"amount_band": [
"The amount band is not one of the allowed bands."
]
}
}
List disputes
The disputes people opened on records this key reported, newest first (up to 200). A person disputes a record they think is wrong; while it is open the record doesn't count toward their score. Answer each one within 30 days with Answer a dispute, or iCheck removes the record from their score for good. Business keys with a webhook also get repayment.disputed and repayment.dispute_resolved, so you don't have to poll.
Query parameters
Headers
BODY='' # a GET has no body: sign the sha256 of an empty string
TS=$(date +%s)
NONCE=$(openssl rand -hex 16)
BODY_HASH=$(printf '%s' "$BODY" | openssl dgst -sha256 -hex | sed 's/^.* //')
SIG=$(printf 'v2\n%s\n%s\n%s\nGET\n/api/v1/repayment/disputes\nsince=2026-11-01&status=all\n%s' "${ICHECK_KEY:0:12}" "$TS" "$NONCE" "$BODY_HASH" \
| openssl dgst -sha256 -hmac "$ICHECK_SIGNING_SECRET" -hex | sed 's/^.* //')
curl -X GET "https://icheck.ng/api/v1/repayment/disputes?since=2026-11-01&status=all" \
-H "X-API-Key: $ICHECK_KEY" \
-H "X-Repayment-Contract: 1" \
-H "X-iCheck-Timestamp: $TS" \
-H "X-iCheck-Nonce: $NONCE" \
-H "X-iCheck-Signature-Version: 2" \
-H "X-iCheck-Signature: $SIG"
import crypto from 'node:crypto';
const key = process.env.ICHECK_KEY, secret = process.env.ICHECK_SIGNING_SECRET;
const body = ''; // a GET has no body
const ts = String(Math.floor(Date.now() / 1000));
const nonce = crypto.randomBytes(16).toString('hex');
const bodyHash = crypto.createHash('sha256').update(body).digest('hex');
const canonical = ['v2', key.slice(0, 12), ts, nonce, 'GET', '/api/v1/repayment/disputes', 'since=2026-11-01&status=all', bodyHash].join('\n');
const signature = crypto.createHmac('sha256', secret).update(canonical).digest('hex');
const res = await fetch('https://icheck.ng/api/v1/repayment/disputes?since=2026-11-01&status=all', {
method: 'GET',
headers: {
'X-API-Key': key, 'X-Repayment-Contract': '1',
'X-iCheck-Timestamp': ts, 'X-iCheck-Nonce': nonce, 'X-iCheck-Signature-Version': '2', 'X-iCheck-Signature': signature,
},
});
const data = await res.json();
$key = getenv('ICHECK_KEY');
$body = ''; // a GET has no body
$ts = (string) time();
$nonce = bin2hex(random_bytes(16));
$canonical = implode("\n", ['v2', substr($key, 0, 12), $ts, $nonce, 'GET', '/api/v1/repayment/disputes', 'since=2026-11-01&status=all', hash('sha256', $body)]);
$signature = hash_hmac('sha256', $canonical, getenv('ICHECK_SIGNING_SECRET'));
$ch = curl_init('https://icheck.ng/api/v1/repayment/disputes?since=2026-11-01&status=all');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'X-API-Key: '.$key, 'X-Repayment-Contract: 1',
'X-iCheck-Timestamp: '.$ts, 'X-iCheck-Nonce: '.$nonce,
'X-iCheck-Signature-Version: 2', 'X-iCheck-Signature: '.$signature,
],
]);
$data = json_decode(curl_exec($ch), true);
import hashlib, hmac, os, secrets, time, requests
key, secret = os.environ["ICHECK_KEY"], os.environ["ICHECK_SIGNING_SECRET"]
body = b"" # a GET has no body
ts, nonce = str(int(time.time())), secrets.token_hex(16)
canonical = "\n".join(["v2", key[:12], ts, nonce, "GET", "/api/v1/repayment/disputes", "since=2026-11-01&status=all", hashlib.sha256(body).hexdigest()])
signature = hmac.new(secret.encode(), canonical.encode(), hashlib.sha256).hexdigest()
res = requests.get(
"https://icheck.ng/api/v1/repayment/disputes?since=2026-11-01&status=all",
headers={
"X-API-Key": key, "X-Repayment-Contract": "1",
"X-iCheck-Timestamp": ts, "X-iCheck-Nonce": nonce,
"X-iCheck-Signature-Version": "2", "X-iCheck-Signature": signature,
},
)
data = res.json()
{
"disputes": [
{
"id": 41,
"external_ref": "loan:123",
"subject_ref": "<64-character subject_ref>",
"reason": "paid_on_time",
"note": "I paid on 5 Oct",
"status": "open",
"opened_at": "2026-11-03T10:00:00Z",
"due_at": "2026-12-03T10:00:00Z",
"lender_note": null,
"answered_at": null,
"escalated_at": null,
"resolved_at": null,
"settled_by": null,
"counts": false
},
{
"id": 38,
"external_ref": "loan:97",
"subject_ref": "<64-character subject_ref>",
"reason": "already_paid",
"note": null,
"status": "removed",
"opened_at": "2026-11-03T10:00:00Z",
"due_at": "2026-12-03T10:00:00Z",
"lender_note": "Payment 2 was late",
"answered_at": "2026-10-21T08:00:00Z",
"escalated_at": "2026-10-22T09:00:00Z",
"resolved_at": "2026-10-24T11:30:00Z",
"settled_by": "icheck",
"counts": false
}
]
}
{
"error": "unauthorized"
}
{
"error": "invalid",
"fields": {
"status": [
"The selected status is invalid."
]
}
}
Answer a dispute
Stand by the record (confirm) or fix it (correct), within 30 days of the dispute opening. To correct, first send the corrected record with Report a repayment record, then answer correct. The person sees your note. If you confirm, they can ask iCheck to review: iCheck staff look at both sides and decide, and you get repayment.dispute_resolved (or see it in List disputes).
Path parameters
Headers
Body parameters
BODY='{"decision":"confirm","note":"Payment 2 arrived on 9 Oct, 3 days late"}'
TS=$(date +%s)
NONCE=$(openssl rand -hex 16)
BODY_HASH=$(printf '%s' "$BODY" | openssl dgst -sha256 -hex | sed 's/^.* //')
SIG=$(printf 'v2\n%s\n%s\n%s\nPOST\n/api/v1/repayment/disputes/41/answer\n\n%s' "${ICHECK_KEY:0:12}" "$TS" "$NONCE" "$BODY_HASH" \
| openssl dgst -sha256 -hmac "$ICHECK_SIGNING_SECRET" -hex | sed 's/^.* //')
curl -X POST "https://icheck.ng/api/v1/repayment/disputes/41/answer" \
-H "X-API-Key: $ICHECK_KEY" \
-H "Content-Type: application/json" \
-H "X-Repayment-Contract: 1" \
-H "X-iCheck-Timestamp: $TS" \
-H "X-iCheck-Nonce: $NONCE" \
-H "X-iCheck-Signature-Version: 2" \
-H "X-iCheck-Signature: $SIG" \
--data-raw "$BODY"
import crypto from 'node:crypto';
const key = process.env.ICHECK_KEY, secret = process.env.ICHECK_SIGNING_SECRET;
const body = JSON.stringify({"decision":"confirm","note":"Payment 2 arrived on 9 Oct, 3 days late"}); // sign exactly the bytes you send
const ts = String(Math.floor(Date.now() / 1000));
const nonce = crypto.randomBytes(16).toString('hex');
const bodyHash = crypto.createHash('sha256').update(body).digest('hex');
const canonical = ['v2', key.slice(0, 12), ts, nonce, 'POST', '/api/v1/repayment/disputes/41/answer', '', bodyHash].join('\n');
const signature = crypto.createHmac('sha256', secret).update(canonical).digest('hex');
const res = await fetch('https://icheck.ng/api/v1/repayment/disputes/41/answer', {
method: 'POST',
headers: {
'X-API-Key': key, 'Content-Type': 'application/json', 'X-Repayment-Contract': '1',
'X-iCheck-Timestamp': ts, 'X-iCheck-Nonce': nonce, 'X-iCheck-Signature-Version': '2', 'X-iCheck-Signature': signature,
},
body,
});
const data = await res.json();
$key = getenv('ICHECK_KEY');
$body = '{"decision":"confirm","note":"Payment 2 arrived on 9 Oct, 3 days late"}'; // sign exactly the bytes you send
$ts = (string) time();
$nonce = bin2hex(random_bytes(16));
$canonical = implode("\n", ['v2', substr($key, 0, 12), $ts, $nonce, 'POST', '/api/v1/repayment/disputes/41/answer', '', hash('sha256', $body)]);
$signature = hash_hmac('sha256', $canonical, getenv('ICHECK_SIGNING_SECRET'));
$ch = curl_init('https://icheck.ng/api/v1/repayment/disputes/41/answer');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'X-API-Key: '.$key, 'Content-Type: application/json', 'X-Repayment-Contract: 1',
'X-iCheck-Timestamp: '.$ts, 'X-iCheck-Nonce: '.$nonce,
'X-iCheck-Signature-Version: 2', 'X-iCheck-Signature: '.$signature,
],
CURLOPT_POSTFIELDS => $body,
]);
$data = json_decode(curl_exec($ch), true);
import hashlib, hmac, os, secrets, time, requests
key, secret = os.environ["ICHECK_KEY"], os.environ["ICHECK_SIGNING_SECRET"]
body = b'{"decision":"confirm","note":"Payment 2 arrived on 9 Oct, 3 days late"}' # sign exactly the bytes you send
ts, nonce = str(int(time.time())), secrets.token_hex(16)
canonical = "\n".join(["v2", key[:12], ts, nonce, "POST", "/api/v1/repayment/disputes/41/answer", "", hashlib.sha256(body).hexdigest()])
signature = hmac.new(secret.encode(), canonical.encode(), hashlib.sha256).hexdigest()
res = requests.post(
"https://icheck.ng/api/v1/repayment/disputes/41/answer",
headers={
"X-API-Key": key, "Content-Type": "application/json", "X-Repayment-Contract": "1",
"X-iCheck-Timestamp": ts, "X-iCheck-Nonce": nonce,
"X-iCheck-Signature-Version": "2", "X-iCheck-Signature": signature,
},
data=body,
)
data = res.json()
{
"status": "confirmed",
"id": 41
}
{
"error": "not_found"
}
{
"error": "not_open"
}
{
"error": "snapshot_required"
}
{
"error": "invalid",
"fields": {
"decision": [
"The selected decision is invalid."
]
}
}
Webhooks
Add up to 10 https endpoints in your dashboard, one per product if you have several. Each gets every check, or only checks made with one API key, and has its own signing secret.
Events
Checks
check.awaiting_consentcheck.consentedcheck.readycheck.declinedcheck.expiredcheck.failedRequests iCheck sends (early access)
For checks created with subject_phone or subject_email (early access: open to invited businesses first). data.check.request.status is one of
pending (iCheck is about to send it, usually within seconds: what POST /checks may answer), sent, not_delivered, not_sent, opened, consented, face_check_done, declined, expired, failed, or test_not_sent for test checks (which never send).
iCheck doesn't get delivery reports yet, so sent means it left iCheck, not that it arrived. opened means a person used the consent page, not just that a link was fetched.
request.reminders counts reminders that went out, per channel. There is no API resend: send consent_url yourself if you need to.
check.request_sentcheck.request_openedRepayment disputes
For keys that report repayment records. data.dispute is the same object as in List disputes.
They go to every endpoint for all checks, or for the key that reported the record. Partner keys made by iCheck don't get webhooks: poll List disputes instead.
repayment.disputedrepayment.dispute_resolvedDelivery
We POST JSON when a check changes or a dispute opens or is settled. Answer any 2xx within 10 seconds. Failed deliveries are retried after 1, 5, 30, 120, 360 and 1,440 minutes.
check.ready.t=<unix time>,v1=<hex HMAC>Verify the signature
Compute HMAC-SHA256 of t + "." + raw body with your signing secret (whsec_…), compare it with v1
in constant time, and reject events older than 5 minutes. Then fetch the check for the report.
import crypto from 'node:crypto';
// app.post('/icheck/webhook', express.raw({ type: 'application/json' }), handler)
function verify(rawBody, header, secret) {
const parts = Object.fromEntries(header.split(',').map(p => p.split('=')));
const expected = crypto.createHmac('sha256', secret).update(`${parts.t}.${rawBody}`).digest('hex');
const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
return fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1 || ''));
}
$raw = file_get_contents('php://input');
parse_str(str_replace(',', '&', $_SERVER['HTTP_ICHECK_SIGNATURE'] ?? ''), $sig);
$expected = hash_hmac('sha256', ($sig['t'] ?? '').'.'.$raw, getenv('ICHECK_WEBHOOK_SECRET'));
if (abs(time() - (int) ($sig['t'] ?? 0)) > 300 || ! hash_equals($expected, $sig['v1'] ?? '')) {
http_response_code(400); exit;
}
$event = json_decode($raw, true);
import hmac, hashlib, time
def verify(raw_body: bytes, header: str, secret: str) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
signed = f"{parts['t']}.".encode() + raw_body
expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
return abs(time.time() - int(parts["t"])) < 300 and hmac.compare_digest(expected, parts.get("v1", ""))
POST /your/webhook
iCheck-Event: check.ready
iCheck-Delivery: 5b1f…
iCheck-Signature: t=1793570000,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd
{
"id": "5b1f…",
"type": "check.ready",
"created_at": "2026-11-02T10:06:00+00:00",
"livemode": true,
"data": {
"check": {
"id": "9d1c2f0e-…",
"status": "ready",
"reference": "rider-4521"
}
}
}POST /your/webhook
iCheck-Event: repayment.dispute_resolved
iCheck-Delivery: 7c2e…
iCheck-Signature: t=1793570000,v1=…
{
"id": "7c2e…",
"type": "repayment.dispute_resolved",
"created_at": "2026-10-24T11:30:00+00:00",
"livemode": true,
"data": {
"dispute": {
"id": 41,
"external_ref": "loan:123",
"subject_ref": "<64-character subject_ref>",
"reason": "paid_on_time",
"note": "I paid on 5 Oct",
"status": "removed",
"opened_at": "2026-11-03T10:00:00Z",
"due_at": "2026-12-03T10:00:00Z",
"lender_note": "Payment 2 was late",
"answered_at": "2026-10-21T08:00:00Z",
"escalated_at": "2026-10-22T09:00:00Z",
"resolved_at": "2026-10-24T11:30:00Z",
"settled_by": "icheck",
"counts": false
}
}
}