Onboarding with Multiple Documents
In some onboarding scenarios, it is necessary to collect multiple documents from the user. To achieve this, follow the below steps:
-
Initial Proof Transaction:
- Perform a standard Proof transaction with the primary document.
-
Secondary Proof Transaction:
- Execute an additional Proof transaction for the secondary document.
- Include the "&nv" URL option to bypass the selfie collection step. Refer to the Session URL Parameters for more information.
-
Selfie Comparison for Secondary Document:
- Use the Verify ID Document Owner API to compare the user selfie collected during primary document Proof transaction to the data from secondary document.
This approach ensures a streamlined user experience by eliminating redundant selfie requests.
The input for the Verify ID Document Owner API call needs a document and a selfie:
-
Copy Selfie data from primary document Doc A, which is located in
Payload.Data.CurrentFacialImage
and use it in the POST body as input forFacialImage
. -
Copy Document data
Payload.Data.Document
from secondary document Doc B and use it in POST body as input forDocument
.
The response contains the full information for the Proof result for Doc B as if it was run with the Selfie acquisition step. This allows a developer to analyze secondary document Proof results using the same code as the primary document.
Updated 4 months ago