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 for API authentication (JWT) |
| Content-Type | Yes | multipart/form-data for file uploads |
| Parameter | Type | Required | Description |
|---|---|---|---|
| file_1 | File | Conditional* | First signature image file for comparison |
| file_2 | File | Conditional* | Second signature image file for comparison |
| base64_1 | String | Conditional* | Base64 encoded first signature image |
| base64_2 | String | Conditional* | Base64 encoded second signature image |
| link_1 | String | Conditional* | URL link to first signature image |
| link_2 | String | Conditional* | URL link to second signature image |
| use_pdf | Boolean | No | Set to true when comparing signatures from PDF files (default: false) |
{
"file_1": "[signature_image_1.jpg]",
"file_2": "[signature_image_2.jpg]",
"use_pdf": false
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Container for comparison results |
| data.client_id | String | Unique identifier for the comparison request |
| data.threshold | Number | Threshold value used for matching decision (0-100) |
| data.score | Number | Similarity score between signatures (0-100) |
| data.matched | Boolean | Whether signatures match based on threshold |
| status_code | Number | HTTP status code of the response |
| success | Boolean | Indicates if the request was processed successfully |
| message | String | Human-readable response message |
| message_code | String | Machine-readable message code |
{
"data": {
"client_id": "signature_comparator_vqSwPxeFzaWroCYrfqoS",
"threshold": 90,
"score": 100.0,
"matched": true
},
"status_code": 200,
"success": true,
"message": "success",
"message_code": "success"
}{
"error": null,
"message": "Your token is invalid. Please ensure that correct token is being used.",
"status_code": 401,
"success": false,
"message_code": "invalid_token"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ocr/signature-comparator' \
--header 'Authorization: Bearer <token>' \
--form 'file_1=@""' \
--form 'file_2=@""' \
--form 'use_pdf=""'{
"data": {
"client_id": "signature_comparator_vqSwPxeFzaWroCYrfqoS",
"threshold": 90,
"score": 100.0,
"matched": true
},
"status_code": 200,
"success": true,
"message": "success",
"message_code": "success"
}