Skip to content

GuidesVerify

Test identity verifications

Build against Verify without billing: a test key starts test verifications, a try link walks a profile in test mode, and Kontiga’s sample IDs, selfies and proofs give the same result every time.

Updated

Ask about this pageRead this page as Markdown

Three ways into test mode

  • A test key (kt_test_): every verification it starts is a test one.
  • A test publishable key (kt_pub_test_), for the widget and your app.
  • A try link: a test verification of a profile with its own link, open for an hour, even while the profile’s walk-in link is off. From Settings, Verify, or with one call:
curl -X POST https://api.kontiga.com/v1/verification_profiles/vpr_4Tk9Bm2/try \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/verification_profiles/{profile_id}/try

What a test verification does

  • It asks for every step of its profile and is checked the way a live one is, then decided.
  • The capture screens offer Kontiga’s sample IDs, selfies and proofs in place of the camera and the file picker. A sample gives the same result every time, so a test can count on it.
  • Only the samples are taken. Any other photo, selfie or file is refused with 422 test_mode_sample_only, whose details.samples names the samples that step takes. Check your own documents with a live verification.
  • It is never billed, and never mixed with live ones: mode is test, a list in live mode never shows it, and its events go only to test webhook endpoints.

The samples

Each sample gives the same result every time, so a test can count on it. Only a test verification takes a sample’s result; a live one checks every file as it is.

What each sample gives its step
SampleStepResult
A passport, as a photo or as a one-page PDFID documentpassed
A passport with a doubt on itID documentneeds_review
A specimen passport, and a specimen ID card’s two sidesID documentfailed: a specimen is never accepted
The face on the passportSelfiepassed
Another person’s faceSelfiefailed
A selfie that is not a live personSelfiefailed
No face in the frameSelfiewaiting: asked again
A face whose age does not fit the IDSelfieneeds_review
A utility bill in the person’s nameProof of addresspassed
A bank statement that is too old, or a picture that is not a documentProof of addresswaiting: asked again, with the reason
An unclear bill, or a file that cannot be readProof of addressneeds_review
A bank statementProof of fundspassed
A payslip in another nameProof of fundswaiting: asked again, with the reason

Whole verifications: the passport and its face are passed; the passport with a doubt and the same face, needs_review; the passport and a selfie that is not live, failed.

Follow and decide it

Everything works as live: the events, the review list, a member’s review, the redo and the report. Read the test verifications with your test key:

curl -X GET "https://api.kontiga.com/v1/identity_verifications?status=needs_review&limit=25" \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/identity_verifications

Going live

Use a live key in place of the test one; nothing else changes. Live verifications are billed as Verify an identity by API says.