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 |
---|---|---|---|
application_number | String | Yes | The visa application number to verify |
document_number | String | Yes | The passport number of the applicant |
country | String | Yes | The country name of the applicant |
{
"application_number": "123456789",
"document_number": "A1234567",
"country": "india"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the client |
data.application_number | String | The visa application number that was verified |
data.document_number | String | The passport number of the applicant |
data.country | String | The country name of the applicant |
data.status | String | Current status of the visa application (e.g., "Approved") |
data.application_pdf | String | URL to download the visa application PDF |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the API call was successful |
message | String | Human-readable message describing the result |
message_code | String | Machine-readable code for the message |
{
"data": {
"client_id": "oman_visa_RcllxMTkOaivvhrUybxC",
"application_number": "123456789",
"document_number": "A123456",
"country": "india",
"status": "Approved",
"application_pdf": "https://aadhaar-kyc-docs.s3.amazonaws.com/oman_visa/123456789/A123456/oman_visa_RcllxMT"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid application number provided",
"message_code": "invalid_application_number"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/oman/visa-verification' \
--header 'Authorization: Bearer TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"application_number": "123456789",
"document_number": "A1234567",
"country": "india"
}'
{
"data": {
"client_id": "oman_visa_RcllxMTkOaivvhrUybxC",
"application_number": "123456789",
"document_number": "A123456",
"country": "india",
"status": "Approved",
"application_pdf": "https://aadhaar-kyc-docs.s3.amazonaws.com/oman_visa/123456789/A123456/oman_visa_RcllxMT"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}