socure · Arazzo Workflow
Socure DocV Verify And Poll
Version 1.0.0
Create a document verification transaction, upload the ID and selfie, finalize verification, and poll for the outcome.
Provider
Workflows
docv-verify-and-poll
Run a full DocV transaction from creation through a polled decision.
Creates a DocV transaction, uploads the document and selfie images, finalizes the transaction, and polls the transaction record until a decision value is present.
1
createTransaction
createDocvTransaction
Create a DocV transaction by passing the docvTransaction module, returning the transaction id and the hosted session URL.
2
uploadDocument
uploadDocvDocument
Upload the captured document image against the device for this transaction.
3
uploadSelfie
uploadDocvDocument
Upload the selfie image against the device so liveness and face match can be evaluated.
4
finalizeVerification
verifyDocvDocument
Finalize the transaction to trigger document and selfie verification.
5
pollTransaction
getDocvTransaction
Retrieve the transaction and confirm a terminal decision value has been produced; loop back if the decision is not yet present.