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 (JWT) |
| Content-Type | Yes | application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| brand_image_url | String | Yes | URL of the brand image to be displayed on e-signature documents and interfaces |
| brand_name | String | Yes | Name of the brand to be displayed on e-signature documents and interfaces |
{
"brand_image_url": "https://random.io/wp-content/uploads/2019/09/2-layers@2x.png",
"brand_name": "Random"
}| Parameter | Type | Description |
|---|---|---|
| data | Object | Contains response data (may be empty if no specific data is returned) |
| status_code | Integer | HTTP status code indicating the result of the operation |
| message_code | String | Code indicating the result status (e.g., "success") |
| message | String or null | Additional message details (null if no message) |
| success | Boolean | Indicates if the operation was successful |
| client_id | String | Unique identifier of this object/query (returned in data object) |
| token | String | Token generated for use by SDK (returned in data object) |
| url | String | URL generated for use by SDK/Customer (returned in data object) |
{
"data": {},
"status_code": 200,
"message_code": "success",
"message": null,
"success": true
}{
"data": {},
"status_code": 401,
"message_code": "unauthorized",
"message": "Invalid or expired authentication token",
"success": false
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/esign/set-branding' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"brand_image_url": "https://random.io/wp-content/uploads/2019/09/2-layers@2x.png",
"brand_name": "Random"
}'{
"data": {},
"status_code": 200,
"message_code": "success",
"message": null,
"success": true
}