Skip to main content
POST
Compare two names (v1)
Send two names, for example the name a user typed and the name on their bank account or PAN. idto returns a score and a match decision, tolerant of initials, order and spelling differences. This is a v1 endpoint: the response is a flat object, not the v2 envelope, and there is no billed field.

Environments

Billing

Charged only when the response status is success, whether or not the names match. A charged response carries chargeble and user_consent, both the string "true", spelled exactly as shown. An error response is never charged.
This endpoint has no Idempotency-Key support. A retried call runs again and can be charged twice. Retry only after you have confirmed the first call failed.

Request

How to read the result

  • status: "success": the comparison ran and is charged, match or not.
  • On most accounts match_score is 0 to 100 and match_status is true when the score is 80 or above. name_1 and name_2 echo the input.
  • Some accounts also receive client_id, a reference for the comparison.
More than one source can serve this endpoint. Only status, tranx_id and timestamp are present whichever source answered. Read every other key defensively.

Errors

Every wrapped detail object also carries tranx_id and timestamp.

Test scenarios

Questions about this product are answered in the Integration FAQ. Was this page helpful? Email us at tech@idto.ai with the page link.

Authorizations

X-Client-ID
string
header
default:<client-id>
required

The Client ID shown on the API Credentials page of the idto dashboard. It is not your account or customer ID, which returns 401. Send it on every server-to-server request together with X-API-Key. Staging and production client IDs are different.

X-API-Key
string
header
default:<api-key>
required

Your API key from the idto dashboard (API credentials). Keep it on your server; never ship it in a browser or mobile app. Send it on every server-to-server request together with X-Client-ID.

Body

application/json
name_1
string
required

First name to compare.

Example:

"RAHUL SHARMA"

name_2
string
required

Second name to compare.

Example:

"RAHUL SHARMA"

user_id
string

Your own reference for the end user.

Response

The comparison completed. Charged.

status
string
required
tranx_id
string
required

idto transaction id for this call.

timestamp
string
required
name_1
string
name_2
string
match_score
number
match_status
boolean
client_id
string
chargeble
enum<string>

Present and "true" only when the call was charged.

Available options:
true

Present and "true" only when the call was charged.

Available options:
true
Last modified on December 1, 2026