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 |
Content-Type | Yes | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
id_number | String | Yes | PAN Number of the individual |
dob | String | Yes | Date of Birth in yyyy-mm-dd format |
kra_code | String | No | Kra Code |
{
"id_number": "ABCPD1234E",
"dob": "1990-01-15"
}
Parameter | Type | Description |
---|---|---|
client_id | String | Unique identifier for the request |
dob | String | Date of Birth in yyyy-mm-dd format |
pan_number | String | PAN Number of the individual |
kra_authority | String | KRA Authority Code that processed the request |
document_link | String | URL to access documents extracted from KRA |
kra_status | Boolean | KRA Registration Status (true if registered, false if not) |
{
"client_id": "a1b2c3d4-5e6f-7g8h-9i0j-klmno123456",
"dob": "1990-01-15",
"pan_number": "ABCPD1234E",
"kra_authority": "CAMS",
"document_link": "https://surepass.io/documents/kra/a1b2c3d4-5e6f-7g8h-9i0j-klmno123456",
"kra_status": true
}
{
"status": 400,
"error": "Bad Request",
"message": "Invalid PAN number format"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/pull-kra/pull-kra' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "{{pan_number}}",
"dob": "{{dob}}"
}'
{
"client_id": "a1b2c3d4-5e6f-7g8h-9i0j-klmno123456",
"dob": "1990-01-15",
"pan_number": "ABCPD1234E",
"kra_authority": "CAMS",
"document_link": "https://surepass.io/documents/kra/a1b2c3d4-5e6f-7g8h-9i0j-klmno123456",
"kra_status": true
}