The three responsibilities of your backend
1
Authenticate
Keep the API key and SDK key on the server. For SDKs, create a session token for each verification. For verification links and the API, call Checkin.com with
X-API-Key.2
Correlate
Link the application to your customer. Pass your own ID as
metadata.externalId when you start the session, and store the applicationId you receive on completion.Completion is not the decision
onComplete fires when all data is collected and no further input is needed from the applicant. The verification is usually still processing at that point. In the Web SDK, you can set onVerificationComplete to wait for the result. Either way, always take the decision on your backend.
Results are usually available within 9 seconds, occasionally within 30 seconds. You can continue the applicant’s journey and show the result later, or show a loading state while you wait.