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 | Set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
customer_id | String | Yes | Unique identifier for the customer whose details are being requested |
Parameter | Type | Description |
---|---|---|
customer_id | String | Unique identifier of the Client |
full_name | String | Full Name of the Customer |
dob | Date | Date of Birth of the Customer |
expiry | DateTime | Token expiry datetime |
token | String | Token for Hosted KYC |
hosted_link | String | Hosted KYC session link |
{
"customer_id": "CUST123456",
"full_name": "John Doe",
"dob": "1990-01-01",
"expiry": "2025-05-15T18:30:00Z",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"hosted_link": "https://kyc.surepass.io/hosted/CUST123456"
}
{
"status": "error",
"error": {
"code": "CUSTOMER_NOT_FOUND",
"message": "The requested customer ID does not exist"
}
}
curl --location --request GET 'https://kyc-api.surepass.app/api/v1/customer/'
{
"customer_id": "CUST123456",
"full_name": "John Doe",
"dob": "1990-01-01",
"expiry": "2025-05-15T18:30:00Z",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"hosted_link": "https://kyc.surepass.io/hosted/CUST123456"
}