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 multipart/form-data for file upload |
Parameter | Type | Required | Description |
---|---|---|---|
file | Image | Yes | Upload Cheque Image |
use_pdf | Boolean | No | Set to true if the file type is PDF |
Parameter | Type | Required | Description |
---|---|---|---|
base_64 | String | Yes | Cheque Image in Base64 format |
Parameter | Type | Required | Description |
---|---|---|---|
link | String | Yes | Cheque Image Link/URL |
# Multipart form data with file upload
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="gst_certificate.pdf"
Content-Type: application/pdf
Parameter | Type | Description |
---|---|---|
success | Boolean | Indicates if the API request was successful |
data | Object | Contains the extracted GST information |
data.gstin | String | GST Identification Number |
data.legal_name | String | Legal name of the business entity |
data.trade_name | String | Trade name of the business |
data.date_of_registration | String | Date when GST was registered |
data.constitution_of_business | String | Business constitution type |
data.taxpayer_type | String | Type of taxpayer |
data.nature_of_business_activity | Array | List of business activities |
data.principal_place_of_business | String | Primary business address |
data.additional_place_of_business | Array | Additional business locations |
data.state_jurisdiction | String | State jurisdiction details |
data.center_jurisdiction | String | Central jurisdiction details |
data.is_verified | Boolean | Verification status of the document |
data.verification_score | Number | Confidence score of the verification |
request_id | String | Unique identifier for the request |
{
"success": true,
"data": {
"gstin": "29AADCB2230M1ZP",
"legal_name": "ACME CORPORATION PRIVATE LIMITED",
"trade_name": "ACME CORP",
"date_of_registration": "01/07/2017",
"constitution_of_business": "Private Limited Company",
"taxpayer_type": "Regular",
"nature_of_business_activity": [
"Factory / Manufacturing",
"Wholesale Business",
"Retail Business"
],
"principal_place_of_business": "123, TECH PARK, ELECTRONIC CITY PHASE 1, BANGALORE, Karnataka, 560100",
"additional_place_of_business": [
"456, BUSINESS HUB, MG ROAD, BANGALORE, Karnataka, 560001"
],
"state_jurisdiction": "Karnataka",
"center_jurisdiction": "Range-14",
"is_verified": true,
"verification_score": 0.95
},
"request_id": "req_9f8e7d6c5b4a3210"
}
{
"error": null,
"message": "Your token is invalid. Please ensure that correct token is being used.",
"status_code": 401,
"success": false,
"message_code": "invalid_token"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/ocr/gst' \
--form 'file=@""'
{
"success": true,
"data": {
"gstin": "29AADCB2230M1ZP",
"legal_name": "ACME CORPORATION PRIVATE LIMITED",
"trade_name": "ACME CORP",
"date_of_registration": "01/07/2017",
"constitution_of_business": "Private Limited Company",
"taxpayer_type": "Regular",
"nature_of_business_activity": [
"Factory / Manufacturing",
"Wholesale Business",
"Retail Business"
],
"principal_place_of_business": "123, TECH PARK, ELECTRONIC CITY PHASE 1, BANGALORE, Karnataka, 560100",
"additional_place_of_business": [
"456, BUSINESS HUB, MG ROAD, BANGALORE, Karnataka, 560001"
],
"state_jurisdiction": "Karnataka",
"center_jurisdiction": "Range-14",
"is_verified": true,
"verification_score": 0.95
},
"request_id": "req_9f8e7d6c5b4a3210"
}