Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header in the format Bearer <YOUR_JWT_TOKEN>.https://sandbox.surepass.apphttps://kyc-api.surepass.app⚠️ Do not use a production JWT token against the sandbox endpoint, or vice versa. Each environment issues its own token.
| Header | Required | Description |
|---|---|---|
Authorization | Yes | JWT Bearer token in the format Bearer <YOUR_JWT_TOKEN> |
Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
id_number | String | Yes | The vehicle's Registration Certificate (RC) number (e.g., MH00AY1100) |
{
"id_number": "MH00AY1100"
}| Parameter | Type | Description |
|---|---|---|
data | Object | Contains the result payload |
data.client_id | String | A unique identifier generated for this request/transaction |
data.rc_number | String | The RC number provided in the request, echoed back in the response |
data.sale_amount | String | The estimated sale amount associated with the provided RC number (in INR, as a numeric string) |
status_code | Integer | HTTP-equivalent status code for the operation (e.g., 200 for success) |
success | Boolean | true if the request was processed successfully, false otherwise |
message | String | Human-readable message describing the result (e.g., "Success") |
message_code | String | Machine-readable message code for programmatic handling (e.g., "success") |
{
"data": {
"client_id": "rc_to_sale_amount_gPTlxwbBppomVQlQibuh",
"rc_number": "MH00AY1100",
"sale_amount": "6150000.0"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"data": null,
"status_code": 401,
"success": false,
"message": "Authentication credentials were not provided or are invalid.",
"message_code": "unauthorized"
}Authorization header is missing, malformed, or contains an expired/invalid JWT token. Ensure you are using the correct token for the target environment (sandbox vs. production).id_number before submission: Sanitize and validate the RC number format on your end before calling the API to reduce unnecessary requests and exposure of raw user input.sale_amount with formatting: The sale_amount is returned as a numeric string (e.g., "6150000.0"). Parse and format it (e.g., ₹61,50,000) before presenting to end users.message_code values to user-friendly messages in your UI (e.g., "not_found" → "We couldn't find a record for this vehicle. Please check the RC number.").curl --location --request POST 'https://kyc-api.surepass.app/api/v1/rc/rc-to-sale-amount' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "MH00AY1100"
}'{
"data": {
"client_id": "rc_to_sale_amount_gPTlxwbBppomVQlQibuh",
"rc_number": "MH00AY1100",
"sale_amount": "6150000.0"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}