KYC Docs Get credentials
Docs › Blink SDK › SDK result

SDK result

What the SDK gives your app when the capture ends, how to follow progress, and the errors it can raise. Every platform uses the same names.

The device outcome

run() resolves with the verdict the device saw:

FieldValues
resultVERIFIED · REJECTED · REVIEW
detailA neutral, human-readable reason. Never a score or method.
Important

Use the device outcome for your UI only. A modified app or page could fake it. Before you open an account or change anything, your backend must read the authoritative result with the Result API.

Progress events

Subscribe with onProgress (Android, iOS, Flutter, React Native) or on('progress') (Web) to tell the customer what is happening.

stepSuggested message
session:statusLoading your verification…
document:challengePreparing the document step…
document:captureCapturing your document…
document:submitUploading your document…
document:processingChecking your document…
liveness:challengePreparing the liveness check…
liveness:captureFollow the on-screen actions…
liveness:submitChecking your selfie…
finalizeCompleting verification…
doneDone

A progress event may carry a detail with diagnostics. It never contains document text or personal data, but don't show it to customers.

Errors

The SDK raises two error types. Switch on code, never on the message.

TypeWhenFields
BlinkStepErrorA step ran and did not pass, e.g. DOCUMENT_UNREADABLE, LIVENESS_FAILED.code, step
BlinkErrorSession, network, configuration or camera problem.code, httpStatus (0 for client-side)

The codes and what to do about each are listed in Errors.

Retrying