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. Format: Bearer {jwt_token} |
Content-Type | Yes | Application/json |
Parameter | Description |
---|---|
client_id | The unique identifier for the MCA document request (e.g., mca_KHwqgnnunXmghCqcTmbY) |
Parameter | Type | Description |
---|---|---|
data | Object | Main response data |
data.created_at | DateTime | Creation Date |
data.entity_name | String | Name of the entity |
data.credentials_provided | Boolean | Did user provide login credentials |
data.status | String | Status of the order |
data.mca_srn | String | MCA SRN |
data.error | Boolean | Error in extraction |
data.error_description | String | Error description |
data.mca_payment | Boolean | Status of MCA payment |
data.fetch_only | Boolean | Was the order in fetch only mode |
data.fetch_order_registered | Boolean | Was the fetch requested |
data.fetched | Boolean | Was the fetch completed |
data.total_documents | Integer | Total MCA documents |
data.completed_documents | Integer | Total MCA documents download completed |
data.documents | List | List of MCA document objects |
data.documents[].document_id | String | Document ID |
data.documents[].document_name | String | Document name |
data.documents[].category | String | Document category |
data.documents[].type_of_document | String | Document type |
data.documents[].status | String | Document download status |
data.documents[].document_url | String | Document download URL |
data.zip | Object | MCA document ZIP info |
data.zip.status | String | Mca zip creation status |
data.zip.zip_url | String | Zip download URL |
status_code | Integer | HTTP status code |
success | Boolean | Whether the request was successful |
message | String | Message text |
message_code | String | Message code |
{
"data":
{
"created_at": null,
"entity_name": "TECH SOLUTIONS PRIVATE LIMITED",
"credentials_provided": false,
"status": "completed",
"mca_srn": null,
"error": null,
"error_description": null,
"mca_payment": true,
"fetch_only": null,
"fetch_order_registered": null,
"fetched": null,
"total_documents": null,
"completed_documents": null,
"documents": [
{
"document_id": "edcefcd7-b26e-4bda-9374-0fbef0758a34",
"document_name": "2017/04/20 CERTIFICATE OF INCORPORATION-20170420",
"category": "Certificates",
"type_of_document": null,
"status": "completed",
"document_url": "https://mca-test-bucket.s3.amazonaws.com/mca_documents/mca_ampKghRzCzyrLnamvfSn/Certificates/%5B20-04-2017%5D_CERTIFICATE_OF_INCORPORATION-20170420_0.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWE3LGOMHK2UPET5N%2F20210927%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20210927T070608Z&X-Amz-Expires=1800&X-Amz-SignedHeaders=host&X-Amz-Signature=fcf754f5805106f15ca67fab2b131790ae3b203861b3c8ca9a38b499654de6ff"
}
],
"zip": {
"status": null,
"zip_url": null
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 401,
"success": false,
"message": "Authentication failed. Invalid token provided.",
"message_code": "authentication_failed"
}
curl --location --request GET 'https://kyc-api.surepass.app/api/v1/mca-api/status/mca_KHwqgnnunXmghCqcTmbY'
{
"data": {
"created_at": null,
"entity_name": "TECH SOLUTIONS PRIVATE LIMITED",
"credentials_provided": false,
"status": "completed",
"mca_srn": null,
"error": null,
"error_description": null,
"mca_payment": true,
"fetch_only": null,
"fetch_order_registered": null,
"fetched": null,
"total_documents": null,
"completed_documents": null,
"documents": [
{
"document_id": "edcefcd7-b26e-4bda-9374-0fbef0758a34",
"document_name": "2017/04/20 CERTIFICATE OF INCORPORATION-20170420",
"category": "Certificates",
"type_of_document": null,
"status": "completed",
"document_url": "https://mca-test-bucket.s3.amazonaws.com/mca_documents/mca_ampKghRzCzyrLnamvfSn/Certificates/%5B20-04-2017%5D_CERTIFICATE_OF_INCORPORATION-20170420_0.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWE3LGOMHK2UPET5N%2F20210927%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20210927T070608Z&X-Amz-Expires=1800&X-Amz-SignedHeaders=host&X-Amz-Signature=fcf754f5805106f15ca67fab2b131790ae3b203861b3c8ca9a38b499654de6ff"
}
],
"zip": {
"status": null,
"zip_url": null
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}