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 format |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| username | String | Yes | Login username (typically PAN number in format like ABCDE1234F) |
| password | String | Yes | Login password for the ITR portal |
| expiry | Integer | No | Expiry |
{
"username": "APBPG7589H",
"password": "Lakshay@1407"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the response data |
| data.client_id | String | Unique identifier for the created client |
| status_code | Integer | HTTP status code of the response |
| message_code | String | Short code indicating the result status |
| message | String | Human-readable description of the result |
| success | Boolean | Indicates whether the request was successful |
{
"data": {
"client_id": "itr_HgCSFcWUnhynhGAKBiha"
},
"status_code": 200,
"message_code": "success",
"message": "Client created successfully",
"success": true
}{
"status_code": 401,
"message_code": "unauthorized",
"message": "Invalid or missing authentication token",
"success": false
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/itr/create-client' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "APBPG7589H",
"password": "Lakshay@1407"
}'{
"data": {
"client_id": "itr_HgCSFcWUnhynhGAKBiha"
},
"status_code": 200,
"message_code": "success",
"message": "Client created successfully",
"success": true
}