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 for authentication (JWT format) |
Content-Type | Yes | Application/json |
Parameter | Type | Required | Description |
---|---|---|---|
pan_number | String | Yes | The PAN (Permanent Account Number) for which UAN needs to be retrieved |
{
"pan_number": "xxxx1234xxxx"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the retrieved information |
data.client_id | String | Unique identifier for the API request |
data.pan_number | String | The PAN number provided in the request |
data.uan_number | String | The Universal Account Number associated with the PAN |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the request was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
{
"data": {
"client_id": "pan_to_uan_hoadKOGjFSjwnS",
"pan_number": "XXXXX1234X",
"uan_number": "123456789"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid PAN format",
"message_code": "invalid_pan_format"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/pan/pan-to-uan' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"pan_number": "xxxx1234xxxx"
}'
{
"data": {
"client_id": "pan_to_uan_hoadKOGjFSjwnS",
"pan_number": "XXXXX1234X",
"uan_number": "123456789"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}