Risk Analysis

Risk Analysis

Requirements

  • iOS 11.0+
  • Xcode 15.0.1+

Use 'd-ra' framework variant

To use the risk analysis feature please add the 'd-ra' IncdOnboarding SDK variant as well as the Sardine SDK dependency in your podfile:

source '[email protected]:Incode-Technologies-Example-Repos/IncdDistributionPodspecs.git'
source '[email protected]:sardine-sdk/SardineSDK-PodSpec.git'
#...
pod 'IncdOnboarding', '5.17.0-d-ra1'
pod 'SardineSDK', '1.0.23'

Create onboarding session

Create an onboarding session in order to receive access_token.

In the following command replace sessionKey and customerId with actual values, ie. "sessionKey": "e821b8fe-e3b4-4d90-b792-919c8bc3341e-test" and "customerId": "incode-test".

curl --location --request POST 'https://api.sandbox.sardine.ai/v1/identity-documents/tokens' \
--header 'Authorization: Basic ZDg5NDg1ZjMtOTA2Ny00NTliLWI2MDMtNmFlMDYyMzFjYzgwOmNlNmQ2MTE4LWM0MzktNGI2MC1hNjE4LTcxOTM5Yzk1NmU2ZQ==' \
--header 'Content-Type: application/json' \
--data-raw '{
"sessionKey": "YOUR_SESSION_KEY",
"customerId": "YOUR_CUSTOMER_ID",
"platform": "ios",
"provider": "incode"
}'

Run the above command from the Terminal, and store access_token from the response.

Init the SDK

Once you have access_token, please follow this guide how to initialize the SDK and provide the access_token as a token parameter within IncdOnboardingSessionConfiguration before starting the flow.

See Risk Analysis on the dashboard

Once the flow is completed Risk analysis results will be shown on this webpage:
https://dashboard.sandbox.sardine.ai/document-verifications

For access to this webpage please contact your Incode representative.