Enhanced KYC
Previously and also when sending job in the SDK this is set as job type 5
Running Enhanced KYC on the React Native
Get the ID information from your users
Submit the Job to Smile ID
Interpret your results
Get the ID information from your users
It is important that this information is gathered according to supported id types and required information as listed on this section. Please ensure that data is validated before sending information over to avoid unnecessary errors.
Submit the Job to Smile ID
Step 1.Set the User Identity Information to be validated
Step 2.Set the Partner Params related to the job
Step 3: Optional Set Geo Information
Step 4: Submit the Job
jobType
should be set to 5 and is requiredisProduction (required)
should be set to true if you intent to run in production and false if you intend to run in sandbox, it is important to note you cannot run real ID Numbers check on sandbox, for test data please see herecallBackUrl (Optional)
can be null but if not it should be a url which the job data will be posted to depending on the status the job is inpartnerParams (Optional)
This is the object create in the step above related to partner paramsidInfo (Required)
This is the object create in the step above related to user id informationgeoInfo
(Optional) This is any information that may be necessary to associate the job with any geolocationjobStatusPollingTimeoutMillis => (optional) pass 0 if not needed. This will be the time to wait for job status polling , note if set to a smaller number this will return a complete false result from job status and results will be delivered to the callback
Step 5: Interpret your results
This will return an object which will contain results returned from the api this contains strongly typed method to get the response as individual items or as json object or as a string, for more information on how to interpret results you can read more about result codes and responses in the Enhanced KYC section of the docs.
Last updated