Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token authentication using JWT |
| Content-Type | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| name_1 | String | Yes | Full name of the individual to be compared |
| name_2 | String | Yes | Short or alternate name to compare against name_1 |
{
"name_1": "Rahul Gupta",
"name_2": "Rahul"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Container for the response data |
| data.client_id | String | Unique identifier for the API request |
| data.name_1 | String | The first name provided in the request |
| data.name_2 | String | The second name provided in the request |
| data.match_type | Array of Enum | Types of name match identified (see match types below) |
| data.name_similarity_confidence | Enum | Confidence level of the similarity between names |
| data.justification | String | Detailed explanation of the match determination |
| status_code | Integer | HTTP status code of the response |
| success | Boolean | Indicates if the API call was successful |
| message | String | Human-readable status message |
| message_code | String | Machine-readable status code |
no_match: Names do not matchabbreviated: One name is an abbreviation of the othermisspelled: Names match but with spelling differencesprefix: One name contains a prefix not in the othersuffix: One name contains a suffix not in the othernickname: One name is a nickname of the otheralternate_spelling: Names match but use different spelling conventionspartial_match: One name is partially contained in the otherfull_match: Names match completelyspacing_issue: Names match but have different spacingdifferent_order: Names contain the same components but in different ordershort_name: One name is a shortened version of the othervery_high: Extremely confident in the matchhigh: Strongly confident in the matchmoderate: Reasonably confident in the matchlow: Limited confidence in the matchvery_low: Minimal confidence in the match{
"data": {
"client_id": "name_comparator_zgMvhhtvuVknJHqwhAjU",
"name_1": "Deepak",
"name_2": "Deepak",
"match_type": [
"full_match"
],
"name_similarity_confidence": "very_high",
"justification": "The names 'deepak' and 'deepak' are identical in spelling, order, and case, indicating a full match with very high confidence."
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 400,
"success": false,
"message": "Required parameters missing",
"message_code": "missing_parameters",
"errors": ["name_1 is required", "name_2 is required"]
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ai/comparator/name' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name_1": "Rahul Gupta",
"name_2": "Rahul"
}'{
"data": {
"client_id": "name_comparator_zgMvhhtvuVknJHqwhAjU",
"name_1": "Deepak",
"name_2": "Deepak",
"match_type": [
"full_match"
],
"name_similarity_confidence": "very_high",
"justification": "The names 'deepak' and 'deepak' are identical in spelling, order, and case, indicating a full match with very high confidence."
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}