Validate Verification Process
Validates inputs for a specific verification process type without actually submitting them. This allows clients to pre-validate document uploads and field values before formal submission, identifying any errors or missing requirements early in the process.
Use Cases
- Validating document quality before submission
- Checking for errors in verification inputs
- Testing selfie videos for lighting and quality issues
- Verifying that all required inputs are present
Notes
- This endpoint uses the same input format as the submission endpoint
- The validation is specific to the process type specified in the URL
- Returns an empty array if validation passes
- Returns detailed error information if validation fails
Path Parameters
Unique identifier of the verification. This is the verificationId returned when starting a verification.
Type of verification process to validate.
- LIVENESS: Validates selfie video for liveness detection
- DOCUMENT_VERIFICATION: Validates document images and data
- LOCATION_INTELLIGENCE: Validates location and environment data
- EMAIL_CHECK: Validates email verification inputs
LIVENESS, DOCUMENT_VERIFICATION, LOCATION_INTELLIGENCE, EMAIL_CHECK Body
Response
Empty array when no validation errors are found
Name of the field with validation error
"SELFIE_VIDEO"
Error message describing the validation failure
"Poor lighting detected in selfie video"
Error code for programmatic handling. Common error codes:
General Errors
- MISSING_FIELD: Required field is missing
- INVALID_FORMAT: Field has incorrect format
Document Errors
- DOCUMENT_EXPIRED: Document is expired
- DOCUMENT_QUALITY: Image quality is insufficient
- DOCUMENT_MISMATCH: Document type doesn't match selected type
- DOCUMENT_TAMPERED: Signs of document tampering detected
Liveness Errors
- POOR_LIGHTING: Inadequate lighting for liveness verification
- MULTIPLE_FACES: Multiple faces detected in selfie
- FACE_MISMATCH: Face doesn't match document photo
- REPLAY_ATTACK: Potential replay attack detected
Location Errors
- VPN_DETECTED: VPN or proxy detected
- LOCATION_RESTRICTED: User in restricted location
- LOCATION_MISMATCH: Location doesn't match expected location
Email Errors
- INVALID_EMAIL: Email address format is invalid
- EMAIL_RISK_HIGH: Email associated with high risk score
- OTP_INVALID: One-time password is incorrect
"POOR_LIGHTING"