Verification result
A verification can finish in the app, but its final status may be set later: by business rules, by an agent reviewing the evidence, or by your backend. This page explains where to read it.
Where to read the result
| Need | Where | How |
|---|---|---|
| Drive the app UI right after the capture | App | The SDK callbacks (scanDocument, validateFace…) |
| Know the final status of the process | App | checkVerificationProcessResult |
| Take the onboarding decision, store the data and evidence | Backend | MobbScan Server API |
| Be notified when the status changes | Backend | Webhooks |
Decide in your backend
Data received in the app can be manipulated on a compromised device. Base the onboarding decision on the result your backend obtains from the MobbScan Server API.
Check the status from the app
Pass the scanId of the process:
- Kotlin
- Java
MobbScanAPI.getInstance().checkVerificationProcessResult(scanId) { result, resultData, error ->
when (result) {
MobbScanVerificationProcessResult.VERIFIED -> { /* accepted */ }
MobbScanVerificationProcessResult.NOT_VERIFIED -> { /* rejected */ }
MobbScanVerificationProcessResult.PENDING -> { /* still under review */ }
else -> { /* ERROR */ }
}
}
MobbScanAPI.getInstance().checkVerificationProcessResult(scanId, new MobbScanVerificationProcessResultListener() {
@Override
public void onVerificationProcessFinished(MobbScanVerificationProcessResult result, MobbScanVerificationProcessResultData resultData, MobbScanAPIError error) {
// VERIFIED, NOT_VERIFIED, PENDING or ERROR
}
});
MobbScanVerificationProcessResult | Meaning |
|---|---|
VERIFIED | The process was accepted |
NOT_VERIFIED | The process was rejected |
PENDING | The process has not been decided yet |
ERROR | The status could not be retrieved |
Get data and evidence in your backend
Send the scanId to your backend and use the Server API:
- Get process information — status, extracted data, validations and links to the evidence.
- Evidence — images, recordings, PDF report and certified ZIP.
- Webhooks — receive every status change without polling.