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 for authentication. Format: Bearer {your_jwt_token} |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| tag | String | Yes | Tag |
{
"tag": "General"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains the response data |
| data.client_id | String | Unique identifier for the passport verification request |
| status_code | Integer | HTTP status code of the response |
| message | String | Additional information about the response (if any) |
| success | Boolean | Indicates whether the request was successful |
{
"data": {
"client_id": "takdTqhCxo"
},
"status_code": 201,
"message": "",
"success": true
}{
"data": null,
"status_code": 401,
"message": "Invalid authentication token",
"success": false
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/passport/passport/create' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"tag": "General"
}'{
"data": {
"client_id": "takdTqhCxo"
},
"status_code": 201,
"message": "",
"success": true
}