GET
https://exchange-core.whitebird.io/api/v1/merchant/client/{linkId}/sumsub/{level_type}
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
| x-api-key | String | Yes | Merchant security key |
Request params
| Name | Type | Required | Description |
|---|---|---|---|
| linkId | String | Yes | Linked client id |
| level_type | String | Yes | MAIN or LIVENESS - name of Sumsub verification flow |
Response
{
"linkId": "string",
"token": "access_token",
"tokenValidTill": "yyyy-mm-ddThh:mm:ssZ"
}
{
"message": "link not found",
"code":"404"
"status": "NOT_FOUND"
}
{
"message": "invalid x-api-key",
"code":"401"
"status": "UNAUTHORIZED"
}
Example request
curl -X GET 'https://exchange-core.whitebird.io/api/v1/merchant/client/{linkId}/sumsub/{level_type}' \
-H 'Content-Type: application/json'