When using the SDK you have two options.
- Have users login to Yoco from within your application (this is usually the easiest approach if you will have lots of businesses using your integration)
- Have your application pass in a pre-configured API token for each business. You will need to co-ordinate with Yoco to create a token for each business that will use your integration.
Approach 1: To allow your user to login to Yoco from within your app
As soon as the business initiates their first Yoco transaction they will be shown a login dialog. If you would like to control when they are shown this dialog, you can force the login process by using the following: