IOS
In this section, we will see how to integrate your Verify with Synaps component easily.
If you need any assistance, don't hesitate to contact technical support at riwan@synaps.io
1. Install
2. Usage
1. SwiftUI
Parameters list
Parameter name | Parameter type | Default | Required | Description |
---|---|---|---|---|
|
|
| Y | Session can be referred as a customer verification session. More info |
|
|
| N | individual - for know your customer corporate - for know your business |
|
|
| N | You can set a predefined language for your user. Synaps already take advantage of browser language to display the relevant language to the end-user but if your user has set up a language option to your website, you can definitely pass it as an option. |
|
|
| N | Tier is a simply way to divide your workflow into small pieces. It is very useful when you offer different features based on the verification level of your customer. More info |
|
|
| N | You can set a primary color, it will create a verification flow tailored to your compliance needs and your brand. |
|
|
| N | You can set a secondary color, it will create a verification flow tailored to your compliance needs and your brand. |
|
|
| Y | Event listener called when the page is fully loaded |
|
|
| Y | Event listener called when the user finished verification |
3. Storyboard
How to setup it
The library allows you to use all the features of standard View with a lot of new cool features, customizable from Storyboard or from code.
First of all, drag & drop a new View inside your view controller in storyboard.
Then set the View class to UISynapsIndividual or UISynapsCorporate
Now you are ready to customize your UISynapsIndividual or UISynapsCorporate from the `Attributes Inspector` of Interface Builder.
Attributes
Attributes
Attribute name | Attribute type | Default | Required | Description |
---|---|---|---|---|
|
|
| N | You can set a predefined language for your user. Synaps already take advantage of browser language to display the relevant language to the end-user but if your user has set up a language option to your website, you can definitely pass it as an option. |
|
|
| N | Tier is a simply way to divide your workflow into small pieces. It is very useful when you offer different features based on the verification level of your customer. More info |
|
|
| N | You can set a primary color, it will create a verification flow tailored to your compliance needs and your brand. |
|
|
| N | You can set a secondary color, it will create a verification flow tailored to your compliance needs and your brand. |
How to launch it
First of all, you should set the session id. Session Id can be referred as a customer verification session. More info
Now you are ready to listen Synaps event by listening the event Value Changed
ready
: when the page is fully loaded
finished
: when the user finished verification
What is Individual or Corporate ?
If you want to know more about what is individual (KYC) or what is corporate (KYB) and how to set them up you can click on these two links:
IndividualCorporatesession_id ?
To get a session_id you need to create an app on Synaps Manager. Once you selected your service type, you will have to go in your "integration" tab and copy your Api-Key.
The Api-Key MUST NOT be stored in your frontend. You have to store it on your server and never on the client side. The only thing that should be exposed to the user is the session_id.
To create a session_id, you have to call the API related to the service you chose. For instance, if you chose Identity service, go to Identity > Sessions in the documentation.
Session Creation
Customization
Custom colors
We give you the possibility to customize your workflow with your colors. You can set a primary color and a secondary color, it will create a verification flow tailored to your compliance needs and your brand.
Custom language
You can set a predefined language for your user. Synaps already take advantage of browser language to display the relevant language to the end-user but if your user has set up a language option to your website, you can definitely pass it as an option.
Custom tiers
As explained before in the documentation, tiers is a simply way to divide your workflow into small pieces. It is very useful when you offer different features based on the verification level of your customer.
To create your own tier, check out the step-by-step guide
TiersOnce created, you will have your tier
, You will have to pass it in the options objects while initialising the SDK.
Last updated