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_token> |
Content-Type | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
entity_id | String | Yes | The CIN (Corporate Identity Number) or registration ID of the company. Format should match the standard MCA registration format (e.g., U72900MH2017PTC294100) |
{
"entity_id": "U72900MH2017PTC294100"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the order details |
data.client_id | String | Unique identifier for the created order, used in subsequent API calls |
data.entity_id | String | The CIN or registration ID that was provided in the request |
data.entity_type | String | Type of entity for which the order was created (e.g., "company") |
data.fetch_only | Boolean | Was the order in fetch only mode |
status_code | Integer | HTTP status code indicating the result of the request |
success | Boolean | Indicates whether the API call was successful |
message | String | Human-readable description of the result |
message_code | String | Machine-readable code representing the result |
{
"data": {
"client_id": "mca_ampKghRzCzyrLnamvfSn",
"entity_id": "U72900MH2017PTC294100",
"entity_type": "company",
"fetch_only": false
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 400,
"success": false,
"message": "Invalid entity ID format",
"message_code": "invalid_entity_id"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/mca-api/create-order' \
--header 'Content-Type: application/json' \
--data-raw '{
"entity_id": "U72900MH2017PTC294100"
}'
{
"data": {
"client_id": "mca_ampKghRzCzyrLnamvfSn",
"entity_id": "U72900MH2017PTC294100",
"entity_type": "company"
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}