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 | JWT Bearer token for authentication. Format: Bearer <your_jwt_token> |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Description |
---|---|---|
data | array | List of supported UAE cities in snake_case format |
status_code | integer | HTTP status code of the response (200 for success) |
message_code | string | Short code indicating the result of the request |
message | string | Human-readable description of the response status |
success | boolean | Indicates whether the request was successful |
{
"data": [
"abu_dhabi",
"dubai",
"sharjah",
"ajman",
"umm_al_quwain",
"ras_al_khaimah",
"fujairah"
],
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}
{
"status_code": 401,
"message_code": "unauthorized",
"message": "Invalid or expired token",
"success": false
}
curl --location --request GET 'https://kyc-api.surepass.app/api/v1/uae/city-list'
{
"data": [
"abu_dhabi",
"dubai",
"sharjah",
"ajman",
"umm_al_quwain",
"ras_al_khaimah",
"fujairah"
],
"status_code": 200,
"message_code": "success",
"message": "Success",
"success": true
}