Skip to main content

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​

NeedWhereHow
Drive the app UI right after the captureAppThe SDK callbacks (scanDocument, validateFace…)
Know the final status of the processAppcheckVerificationProcessResult
Take the onboarding decision, store the data and evidenceBackendMobbScan Server API
Be notified when the status changesBackendWebhooks
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​

MobbScanAPI.getInstance().checkVerificationProcessResult(forScanId: scanId) { result, resultData, error in
// VERIFIED, NOT_VERIFIED, PENDING or ERROR
}
MobbScanVerificationProcessResultMeaning
VERIFIEDThe process was accepted
NOT_VERIFIEDThe process was rejected
PENDINGThe process has not been decided yet
ERRORThe status could not be retrieved

Attach your own data​

You can store key/value data with the process — a customer ID or a phone number, for example — so that it appears with the evidence and can be used to search processes. Send it once the document scan has finished. This call requires baseURL to point to the agent service of your environment (…/mobbscan-agent).

MobbScanAPI.getInstance().addExtraParameter(["customerId": "12345"], forValidationWithScanId: scanId, withSuccess: {
// Stored
}, failure: { error in
// Not stored
})

From your backend, use Add extra data instead.

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.