Sumsub. Access to verification

GET https://exchange-core.whitebird.io/api/v1/merchant/client/{linkId}/sumsub/{level_type}

Request headers

NameTypeRequiredDescription
x-api-keyStringYesMerchant security key

Request params

NameTypeRequiredDescription
linkIdStringYesLinked client id
level_typeStringYesMAIN 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'