Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for API authentication |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | string | Yes | Unique client identifier received from the send-otp endpoint |
| mobile_otp | string | Yes | OTP code received on the registered mobile number |
| email_otp | string | Yes | OTP code received on the registered email address |
{
"client_id": "udin_yZzYusgmxrzihbQldRHE",
"mobile_otp": "71473",
"email_otp": "92016"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Container for all professional information |
| data.client_id | string | Unique client session identifier |
| data.id_number | string | UDIN identification number |
| data.email_id | string | Verified email address |
| data.mobile_number | string | Verified mobile number |
| data.signing_date | string | Date when the professional document was signed |
| data.name | string | Full name of the professional |
| data.firm_details | string | Details about the professional's firm |
| data.document_type | string | Type of professional document |
| data.certificate_type | string | Category of professional certificate |
| data.document_description | string | Description of the verified documents |
| data.status | string | Current status of the professional registration |
| data.figures_particulars | array | Array of financial and professional particulars |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates if the request was successful |
| message | string | Human-readable response message |
| message_code | string | Machine-readable response code |
{
"data": {
"client_id": "udin_dOLoUJUkAgjjFjeFtreT",
"id_number": "21153743AAAADQ1234",
"email_id": "abc@gmail.com",
"mobile_number": "9876341246",
"signing_date": "2021-04-16",
"name": "ABHIJIT SHETYE",
"firm_details": "",
"document_type": "Certificates",
"certificate_type": "Others",
"document_description": "Verified Relevant Documents",
"status": "Active",
"figures_particulars": [
"Total Professional Fee Recd:INR 613200",
"Net Profit FY 2019-20:INR 393748",
"Capital A/c as on 31.03.2020:INR 117360"
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 422,
"success": false,
"message": "Invalid Email OTP.",
"message_code": "verification_failed"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/udin/submit-otp' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "udin_yZzYusgmxrzihbQldRHE",
"mobile_otp": "71473",
"email_otp": "92016"
}'{
"data": {
"client_id": "udin_dOLoUJUkAgjjFjeFtreT",
"id_number": "21153743AAAADQ1234",
"email_id": "abc@gmail.com",
"mobile_number": "9876341246",
"signing_date": "2021-04-16",
"name": "ABHIJIT SHETYE",
"firm_details": "",
"document_type": "Certificates",
"certificate_type": "Others",
"document_description": "Verified Relevant Documents",
"status": "Active",
"figures_particulars": [
"Total Professional Fee Recd:INR 613200",
"Net Profit FY 2019-20:INR 393748",
"Capital A/c as on 31.03.2020:INR 117360"
]
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}