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 |
---|---|---|---|
id_number | String | Yes | Valid FSSAI license number to retrieve the certificate |
{
"id_number": "228190151234123"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the certificate information |
data.client_id | String | Unique identifier for the request |
data.id_number | String | FSSAI license number that was provided in the request |
data.certificate_link | String | URL to download the FSSAI certificate (PDF format) |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the request was successful |
message | String or null | Additional information about the response (null if successful) |
message_code | String | Code indicating the status of the response |
{
"data": {
"client_id": "corporate_fssai_certificate_DpRymJYjoZdbdpcjxneU",
"id_number": "228190151234123",
"certificate_link": "https://aadhaar-kyc-docs.s3.amazonaws.com/fssai_certificate/105813727/corporate_fssai_certificate_VgzufwLchueLuwryfNFY-2024-08-22-143109918728.pdf"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid FSSAI license number format",
"message_code": "invalid_input"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/corporate/fssai-certificate' \
--header 'Content-Type: application/json' \
--data-raw '{
"id_number": "228190151234123"
}'
{
"data": {
"client_id": "corporate_fssai_certificate_DpRymJYjoZdbdpcjxneU",
"id_number": "228190151234123",
"certificate_link": "https://aadhaar-kyc-docs.s3.amazonaws.com/fssai_certificate/105813727/corporate_fssai_certificate_VgzufwLchueLuwryfNFY-2024-08-22-143109918728.pdf"
},
"status_code": 200,
"success": true,
"message": null,
"message_code": "success"
}