Validate check outcome
URL
POST https://api.complycube.com/v1/checks/:id/validate
Validates the outcome of the specified check.
The outcome
of a check can be changed through validation. For checks of type standard_screening_check and extensive_screening_check, this requires confirming or rejecting each of the found matches. For other check types, validation will change the check outcome.
Headers
Content-Type
*
string
The content-type must always be set to application/json
.
Authorization
*
string
The API live
or test
key.
Path parameters
id
*
string
The ID of the check.
Body
outcome
*
string
The validation outcome. Valid values include:
1. confirmed
2. rejected
3. attention
matchId
string
The match ID. This is required for checks of type standard_screening_check
and extensive_screening_check
.
rejectionReasons
array
The list of rejection reasons. Valid values include:
1. document_appears_fake
2. document_has_expired
3. document_is_specimen
4. document_is_blacklisted
5. document_age_below_threshold
6. document_misread
This is can only be provided for checks of type document_check
.
userSuppliedData
object
The manually provided document details. This will override the extractedData
attribute within a document_check
.
comment
string
A comment that can be associated with the validation. This can be up to 4,000 characters long.
Example request
Example response
Validation per check type
Standard and Extensive Screening Checks
clear
Upon having all matches rejected
, the outcome will be set to clear
.
attention
The outcome will remain as attention
unless all matches have been rejected
or a match has been confirmed
.
match_confirmed
When any match is confirmed
, the outcome of the check will be changed to match_confirmed
.
Document and Identity Checks
clear
When the validation outcome is set to confirmed
, the check outcome will be changed to clear
.
rejected
When the validation outcome is set to rejected
, the check outcome will be changed to rejected
.
attention
When the validation outcome is set to attention
, the check outcome will be changed to attention
.
Last updated