Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization
header as Bearer TOKEN
.https://sandbox.surepass.io
https://kyc-api.surepass.io
Header | Required | Description |
---|---|---|
Authorization | Yes | Bearer token authentication using JWT format |
Content-Type | Yes | Application/json |
Parameter | Type | Required | Description |
---|---|---|---|
client_id | String | Yes | Unique identifier for the e-sign process (e.g., "esign_HwEwRYRYjexlRMwvolkS") |
Parameter | Type | Description |
---|---|---|
data | Object | Contains the status information |
data.client_id | String | Unique identifier for the e-sign process |
data.status | String | Current status of the e-sign process |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Human-readable message describing the result |
message_code | String | Machine-readable code for the message |
status
field can have the following values:Status | Description |
---|---|
client_intiated | E-sign process has been initiated for the client |
otp_sent | One-time password has been sent to the client for verification |
otp_verified | Client has successfully verified the OTP |
esign_started | E-sign process has begun after OTP verification |
esign_completed | E-sign process has been successfully completed |
esign_failed | E-sign process has failed |
{
"data": {
"client_id": "esign_HwEwRYRYjexlRMwvolkS",
"status": "esign_completed"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 404,
"success": false,
"message": "Client ID not found",
"message_code": "client_id_not_found"
}
curl --location --request GET 'https://kyc-api.surepass.app/api/v1/esign/status/'
{
"data": {
"client_id": "esign_HwEwRYRYjexlRMwvolkS",
"status": "esign_completed"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}