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 authentication (JWT format) |
| Content-Type | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | String | Yes | Unique identifier of the user account |
| password | String | Yes | New password that meets complexity requirements |
{
"client_id": "itr_hIljWFhdruRxPAPTGzQs",
"password": "rashal@2001"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the response data |
| data.otp_sent | Boolean | Indicates whether the OTP was successfully sent |
| status_code | Integer | HTTP status code of the response |
| message_code | String | Brief status description |
| message | String | Detailed status message |
| success | Boolean | Overall success status of the request |
{
"data": {
"otp_sent": true
},
"status_code": 200,
"message_code": "success",
"message": "OTP Sent",
"success": true
}{
"data": null,
"status_code": 400,
"message_code": "error",
"message": "Password does not meet complexity requirements",
"success": false
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/itr/forget-password' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "itr_hIljWFhdruRxPAPTGzQs",
"password": "rashal@2001"
}'{
"data": {
"otp_sent": true
},
"status_code": 200,
"message_code": "success",
"message": "OTP Sent",
"success": true
}