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, whosedetails.samplesnames the samples that step takes. Check your own documents with a live verification. - It is never billed, and never mixed with live ones:
modeistest, 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.
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.