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 | JWT Bearer token for authentication. Format: Bearer <your_token> |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| selfie | Image | Yes | Image of selfie |
| selfie_2 | Image | No | Image of selfie |
| id_card | Image | Yes | Image of Id Card |
selfie=@"/path/to/file"
selfie_2=@"/path/to/file"| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the face match results |
| data.match_status | Boolean | true if faces match, false if they don't |
| data.confidence | Number | Confidence score (0-100) indicating the strength of the match |
| message_code | String/null | Error code if applicable, null on success |
| message | String/null | Error message if applicable, null on success |
| status_code | Number | HTTP status code of the response |
| success | Boolean | Indicates if the API call was successful |
{
"data": {
"match_status": true,
"confidence": 82.87096405029297
},
"message_code": null,
"message": null,
"status_code": 200,
"success": true
}{
"data": null,
"message_code": "INVALID_IMAGE",
"message": "One or both images could not be processed. Please ensure valid facial images are provided.",
"status_code": 400,
"success": false
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/face/face-match' \
--header 'Authorization: Bearer <token>' \
--form 'selfie=@""' \
--form 'id_card=@""' \
--form 'selfie_2=@""'{
"data": {
"match_status": true,
"confidence": 82.87096405029297
},
"message_code": null,
"message": null,
"status_code": 200,
"success": true
}