Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer TOKEN.https://sandbox.surepass.iohttps://kyc-api.surepass.io| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token authentication using JWT token |
| Content-Type | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | String | Yes | ID Number of the client to validate the OTP against |
| otp | String | Yes | The One-Time Password received by the user |
{
"client_id": "telecom_kpZTf8LuNsdVbGkJmTqW",
"otp": "123456"
}| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | String | Yes | Unique identifier of the client |
| mobile_number | String | Yes | Registered mobile number of the user |
| address | String | Yes | Registered address of the user |
| correspondence_address | String | Yes | Correspondence or alternate address |
| city | String | No | City of residence |
| state | String | No | State of residence |
| pin_code | String | Yes | Postal/ZIP code of the userβs address |
| full_name | String | Yes | Full name of the user |
| dob | String | Yes | Date of birth in human-readable format (e.g., "12 Feb, 1990") |
| parsed_dob | Date | Yes | Date of birth in ISO format (YYYY-MM-DD) |
| user_email | String | Yes | Userβs registered email address |
| operator | String | Yes | Telecom operator, e.g., Airtel, Jio, Vodafone, or Idea |
| billing_type | String | Yes | Billing type β either "prepaid" or "postpaid" |
| alternate_phone | String | Yes | Alternate contact number |
| is_enterprise | Boolean | No | Indicates if the account belongs to an enterprise/business |
| extra_fields | Object | No | Contains additional telecom-related information such as loyalty category, device name, pack details, payment history, etc. |
{
"data": {
"client_id": "telecom_kpZTf8LuNsdVbGkJmTqW",
"mobile_number": "9876543210",
"address": "23, Laxmi Nagar, Andheri East, Mumbai, Maharashtra-400069",
"correspondence_address": "Flat 4B, Sunrise Apartments, Andheri East, Mumbai",
"city": "Mumbai",
"state": "Maharashtra",
"pin_code": "400069",
"full_name": "Rohit Kumar Sharma",
"dob": "12 Feb, 1990",
"parsed_dob": "1990-02-12",
"user_email": "rohit.sharma90@example.com",
"operator": "Airtel",
"billing_type": "prepaid",
"alternate_phone": "9123456789",
"is_enterprise": false,
"extra_fields": {
"loyalty_category": "Gold",
"device_name": "Samsung Galaxy S23",
"international_romaing": null,
"international_roaming": false,
"auto_pay": true,
"credit_limit": null,
"activation_date": "2023-03-15",
"current_pack": {
"name": "Rs299_28D_1.5GB/D_AirtelXstream",
"price": "299",
"expiry": "2025-11-28"
},
"payment_mode": ["UPI", "Credit Card"],
"billing_history": [
{
"date": "2025-10-20",
"amount": "299",
"payment_mode": "UPI",
"description": "Plan: Rs299_28D_1.5GB/D_AirtelXstream, Txn ID: AR000TP9942, Payment mode: UPI",
"type": "recharge"
},
{
"date": "2025-09-20",
"amount": "299",
"payment_mode": "Credit Card",
"description": "Plan: Rs299_28D_1.5GB/D_AirtelXstream, Txn ID: AR000TT2845, Payment mode: Credit Card",
"type": "recharge"
},
{
"date": "2025-08-20",
"amount": "299",
"payment_mode": "UPI",
"description": "Plan: Rs299_28D_1.5GB/D_AirtelXstream, Txn ID: AR000TR8820, Payment mode: UPI",
"type": "recharge"
},
{
"date": "2025-07-22",
"amount": "149",
"payment_mode": "UPI",
"description": "Plan: Rs149_20D_1GB/D, Txn ID: AR000TM7721, Payment mode: UPI",
"type": "recharge"
},
{
"date": "2025-06-15",
"amount": "19",
"payment_mode": "UPI",
"description": "Plan: MRP 19, Txn ID: AR000TK4520, Payment mode: UPI",
"type": "recharge"
}
],
"payment_history": []
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"success": false,
"error": {
"code": "INVALID_OTP",
"message": "The OTP provided is incorrect or has expired"
}
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/telecom/submit-otp' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "{{client_id}}",
"otp": "{{otp}}"
}'{
"data": {
"client_id": "telecom_kpZTf8LuNsdVbGkJmTqW",
"mobile_number": "9876543210",
"address": "23, Laxmi Nagar, Andheri East, Mumbai, Maharashtra-400069",
"correspondence_address": "Flat 4B, Sunrise Apartments, Andheri East, Mumbai",
"city": "Mumbai",
"state": "Maharashtra",
"pin_code": "400069",
"full_name": "Rohit Kumar Sharma",
"dob": "12 Feb, 1990",
"parsed_dob": "1990-02-12",
"user_email": "rohit.sharma90@example.com",
"operator": "Airtel",
"billing_type": "prepaid",
"alternate_phone": "9123456789",
"is_enterprise": false,
"extra_fields": {
"loyalty_category": "Gold",
"device_name": "Samsung Galaxy S23",
"international_romaing": null,
"international_roaming": false,
"auto_pay": true,
"credit_limit": null,
"activation_date": "2023-03-15",
"current_pack": {
"name": "Rs299_28D_1.5GB/D_AirtelXstream",
"price": "299",
"expiry": "2025-11-28"
},
"payment_mode": [
"UPI",
"Credit Card"
],
"billing_history": [
{
"date": "2025-10-20",
"amount": "299",
"payment_mode": "UPI",
"description": "Plan: Rs299_28D_1.5GB/D_AirtelXstream, Txn ID: AR000TP9942, Payment mode: UPI",
"type": "recharge"
},
{
"date": "2025-09-20",
"amount": "299",
"payment_mode": "Credit Card",
"description": "Plan: Rs299_28D_1.5GB/D_AirtelXstream, Txn ID: AR000TT2845, Payment mode: Credit Card",
"type": "recharge"
},
{
"date": "2025-08-20",
"amount": "299",
"payment_mode": "UPI",
"description": "Plan: Rs299_28D_1.5GB/D_AirtelXstream, Txn ID: AR000TR8820, Payment mode: UPI",
"type": "recharge"
},
{
"date": "2025-07-22",
"amount": "149",
"payment_mode": "UPI",
"description": "Plan: Rs149_20D_1GB/D, Txn ID: AR000TM7721, Payment mode: UPI",
"type": "recharge"
},
{
"date": "2025-06-15",
"amount": "19",
"payment_mode": "UPI",
"description": "Plan: MRP 19, Txn ID: AR000TK4520, Payment mode: UPI",
"type": "recharge"
}
],
"payment_history": []
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}