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 |
---|---|---|---|
rc_number | String | Yes | Vehicle registration number (e.g., "GJ01XX0001") |
{
"rc_number": "GJ01XX0001"
}
Parameter | Type | Description |
---|---|---|
data | Object | Container for the response data |
data.client_id | String | Unique identifier for the client making the request |
data.rc_number | String | Vehicle registration number that was queried |
data.details | Array | List of application transactions related to the vehicle |
data.details[].application_number | String | Unique application number for the transaction |
data.details[].transaction_purpose | String | Purpose of the transaction (e.g., "New Registration", "MV Tax") |
data.details[].transaction_date | String | Date of the transaction in YYYY-MM-DD format |
data.details[].transaction_status | String | Current status of the transaction (e.g., "Successful", "Failed", "Pending") |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the request was successful |
message | String | Human-readable message describing the result |
message_code | String | Machine-readable code for the message |
{
"data": {
"client_id": "vehicle_application_status_ZqsFexcXlrBQIPwmZgbw",
"rc_number": "UP61AX1234",
"details": [
{
"application_number": "UP210629123456",
"transaction_purpose": "New Registration",
"transaction_date": "2021-06-29",
"transaction_status": "Successful"
},
{
"application_number": "UP210629123456",
"transaction_purpose": "MV Tax",
"transaction_date": "2021-06-29",
"transaction_status": "Successful"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 422,
"success": false,
"message": "Verification Failed.",
"message_code": "verification_failed"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/rc/vehicle-application-status' \
--header 'Content-Type: application/json' \
--data-raw '{
"rc_number": "GJ01XX0001"
}'
{
"data": {
"client_id": "vehicle_application_status_ZqsFexcXlrBQIPwmZgbw",
"rc_number": "UP61AX1234",
"details": [
{
"application_number": "UP210629123456",
"transaction_purpose": "New Registration",
"transaction_date": "2021-06-29",
"transaction_status": "Successful"
},
{
"application_number": "UP210629123456",
"transaction_purpose": "MV Tax",
"transaction_date": "2021-06-29",
"transaction_status": "Successful"
}
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}