Taking payments
Connect Yoco to your app
What is Yoco?
Yoco is a South African payments company that lets your business take card payments online, in rand.
- What it costs
- The Core plan has no monthly fee, and Yoco takes a fee from each real payment, excluding VAT. Its pricing page lists rates from 2.30% on Core for up to R50,000 a month and says online payments cost 0.5% more than card machine payments. A once-off sign-up fee applies if you join without buying or owning a Yoco card machine. Check yoco.com/za/pricing for your rate.
- Time needed
- About 15 minutes to sign up and copy a test key. Real payments wait until Yoco has checked your business and approved your website.
- If you skip it
- Your app still works. Only taking Yoco payments stays off until you connect it.
What you can build with Yoco
How to get it, step by step
Open your Yoco account
- Sign up for Yoco, or sign in, at app.yoco.com. Pay the once-off sign-up fee if you are asked, and fill in your business details so Yoco can check your business.
Copy a test key
- Open the Checkout API integration page: app.yoco.com/manage/yoco-connect/integration?name=checkout_api
- Press How to connect, then open the Test keys tab.
- Copy the Test secret key (it starts with sk_test_). Not the public key. Paste it into the YOCO_SECRET_KEY box in BooDoo.
Take real payments
- When you are ready for real money: in How to connect, under Verified Domains, press Add domain, enter your website address, and wait for Yoco to approve it.
- Open the Live keys tab, copy the Live Secret Key (it starts with sk_live_), and replace the test key in the YOCO_SECRET_KEY box with it.
Which value goes in which box
- Yoco secret key
YOCO_SECRET_KEYKeep private - In the Yoco App (app.yoco.com), open the Checkout API integration and press How to connect. Copy the Test secret key (starts with sk_test_) or, once your website is approved, the Live Secret Key (starts with sk_live_).
Watch out for
- Test keys never take real money. Test payments do not show in your Sales History and cannot be refunded.
- Real payments only work when they start from a website Yoco has approved. A payment link sent straight to a customer by email, SMS or WhatsApp will fail, so ask for it to open through a page on your own website.
- Payments are in South African rand only, and a real payment must be above the R2.00 minimum.
- The secret key is secret. Keep it private, like a password.