Document fraud detection API for KYC and onboarding
Forged IDs reach onboarding every day. We validate Aadhaar, PAN and passport MRZ with the check digits built into each one. A made-up number fails the arithmetic. A genuine one passes.
A genuine number always passes its own check digits. A failed checksum is proof. How identity checks work
Forged IDs, caught by arithmetic
Each check names the field and the reason it failed.
Invalid Aadhaar
We verify the Verhoeff checksum. A number that fails it is invalid.
Malformed PAN
We test the PAN against the AAAAA9999A format and its holder-type letter. Made-up and mistyped numbers fail.
Passport MRZ failure
We read the machine-readable zone and recompute its ICAO 9303 check digits. Edited or forged passports fail.
Edited document images
Invoices, receipts and document photos can go through image checks. They tell you if an image is real, AI generated, AI edited or digitally edited, and mark the changed area.
Send the ID, get a clear answer
Send the document image to POST /v1/verify. You get pass, review or flag with the exact field and reason. A document we cannot read cleanly goes to review.
Request
curl https://truesecurix.com/v1/verify \ -H "X-API-Key: $TRUESECURIX_API_KEY" \ -F "document=@passport.jpg" \ -F "reference=kyc-48211"
Part of the response
{
"decision": "flag",
"document": { "deterministic": {
"doc_type": "passport",
"checks": [{ "field": "passport_mrz", "valid": false, "reason": ... }] } },
"evidence": [ ... ]
}
Common questions
Which Indian documents do you validate?
Aadhaar by its Verhoeff checksum, PAN by its format, and passports by the check digits in the machine-readable zone (ICAO 9303).
Can a checksum check reject a real document?
No. A genuine Aadhaar or passport MRZ always passes its check digits. Only numbers that fail the arithmetic are flagged. An unclear read goes to review.
Do you verify the document against a government database?
No. We check the document's own format and check digits and match the ID photo to the selfie. We do not look up any government database.
What about invoices and receipts?
They have no check digits, so they go through image checks instead. These look for signs of generation or editing and mark the changed areas.
Stop forged documents at onboarding
100 checks free on sign-up, no card needed. Try it on the documents you see today.