Let's get started with some code examples to learn the basics of integrating with Yoco.
You can also download our Example App
(please insert your API key and Secret in the AppDelegate.m file)
Please make sure that you have successfully authenticated the Yoco SDK before you attempt to perform a transaction.
When you start a payment you must pass in a YocoStaff object which identifies which staff member (within your application) is performing this payment. This allows the merchant to track payments to their staff members while only having a single Yoco login or API token.
// The details of the staff member performing the transaction