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 |
---|---|---|---|
domain_name | String | Yes | The domain name to verify (without protocol prefixes like http:// or https://) |
{
"domain_name": "surepass.io"
}
Parameter | Type | Description |
---|---|---|
data | Object | Contains the verification results |
data.client_id | String | Unique identifier for the verification request |
data.input_domain | String | The domain name that was submitted for verification |
data.details | Object | Contains detailed domain verification information |
data.details.domain_name | String | The verified domain name |
data.details.domain_verify | Boolean | Indicates if the domain is verified (true) or not (false) |
data.details.registered_on | String | The date when the domain was registered (YYYY-MM-DD format) |
data.details.expires_on | String | The date when the domain registration expires (YYYY-MM-DD format) |
data.details.updated_on | String | The date when the domain information was last updated (YYYY-MM-DD format) |
status_code | Integer | HTTP status code of the response |
success | Boolean | Indicates if the API call was successful |
message | String | Human-readable status message |
message_code | String | Machine-readable status code |
{
"data": {
"client_id": "domain_verification_oDCVARLzrWdquHcsyFMq",
"input_domain": "surepass.io",
"details": {
"domain_name": "surepass.io",
"domain_verify": true,
"registered_on": "2019-05-10",
"expires_on": "2025-05-10",
"updated_on": "2024-04-09"
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}
{
"status_code": 422,
"success": false,
"message": "Verification Failed",
"message_code": "verification_failed"
}
curl --location --request POST 'https://kyc-api.surepass.app/api/v1/domain/verification' \
--header 'Content-Type: application/json' \
--data-raw '{
"domain_name": "surepass.io"
}'
{
"data": {
"client_id": "domain_verification_oDCVARLzrWdquHcsyFMq",
"input_domain": "surepass.io",
"details": {
"domain_name": "surepass.io",
"domain_verify": true,
"registered_on": "2019-05-10",
"expires_on": "2025-05-10",
"updated_on": "2024-04-09"
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}