Skip to main content
v2 is the same verification behind a stable contract. Migrating is mostly a change of path and of how you read the response. Both versions stay live, so you can migrate one product at a time.

What changes

Steps

1

Change the path

POST /verify/<product> becomes POST /v2/verify/<product>. Check the product’s v2 page for the exact request fields: some v2 products renamed or tightened fields, and the Input formats page lists every rule.
2

Read data from data

v2 puts the result under data with fixed keys per product. Map your old field reads to the v2 keys shown in the product’s response schema.
3

Branch on error_code

Replace checks on the source’s own status strings with error_code: null is a result, IDTO_202 is a definitive no-record, anything else is in Error codes.
4

Read billed

Replace chargeble checks with the boolean billed.
5

Add an Idempotency-Key

Send a unique key per logical verification and reuse it on retries. See Idempotency.
6

Run both side by side

Point a small share of traffic at v2 on staging, compare outcomes per input, then switch.

Error shapes side by side

v1 error (shape)
v2 error

Products that stay on v1

Some products have no v2 endpoint yet. Keep calling them on v1 and read their pages for the v1 response shape. See API versioning for the list.

v1 PAN endpoints

The v1 PAN endpoints POST /verify/pan_verification, POST /verify/pan_all_in_one, POST /verify/pan_detailed and POST /verify/pan_nsdl are no longer documented, and their old pages redirect to the v2 PAN pages. Move them to v2: v1 also exposes POST /verify/pan_lite with the same request and data fields (plus data.verification_id) in the v1 envelope. Move it to POST /v2/verify/pan_lite.

Polling endpoints

Earlier docs described polling a pending v1 result by reference_id (IDTO_203 pending, IDTO_207 not found). Those endpoints are not part of the documented API. v2 endpoints return a final result in the same response. Was this page helpful? Email us at tech@idto.ai with the page link.
Last modified on December 4, 2026