
Take online payments with PayGenius
Connect your PayGenius merchant account so customers can pay for bookings on PayGenius's payment page and full refunds can be sent back through PayGenius. You need a PayGenius account and the Access Token and Secret Key from its admin dashboard — one pair for the development dashboard and one for production.
Updated 2026-10-01
Quick answers
What does PiGi need from PayGenius?
Two keys, both required: the Access Token and the Secret Key. PayGenius issues a separate pair for its development (test) dashboard and its production dashboard.
Where do I find my PayGenius Access Token and Secret Key?
On the Settings page of your PayGenius admin dashboard. Test keys come from the development dashboard (developer.paygenius.co.za/pg/admin); live keys come from the production dashboard (www.paygenius.co.za/pg/admin).
Do I need to set a notify URL in PayGenius?
No. PiGi gives PayGenius its notification address with every payment. When PayGenius calls it, PiGi looks the payment up with PayGenius before marking anything paid.
Can I refund a PayGenius payment from PiGi?
Only in full. Switch on Enable Programmatic Refunds under the gateway's Refunds row. A partial refund has to be paid back in PayGenius and recorded in PiGi by hand. PayGenius says refunds can sit as pending for up to 8 business days.
Which keys go in Sandbox and which in Production?
Development-dashboard keys go on PiGi's Sandbox tab; production-dashboard keys go on the Production tab. Using the wrong pair fails Verify with "Invalid credentials
- check your Access Token and Secret Key".
Which currency can PayGenius take?
PiGi treats PayGenius as rand-only. A booking in another currency is converted to ZAR at the rate set under Finance → Currency rates.
What this does
Connecting PayGenius lets customers pay for bookings and gift vouchers on PayGenius's hosted payment page and return to PiGi with the payment recorded. PayGenius also tells PiGi about the outcome directly, so a customer who closes the page early is still picked up. Full refunds can be sent back through PayGenius from PiGi.
You need a PayGenius merchant account. For fees, see PayGenius's pricing or your merchant agreement. PiGi does not add PayGenius's fee to the customer's total.
Before you start
- The admin role on your company in PiGi.
- A PayGenius merchant account with access to both the development and production admin dashboards.
Set up PayGenius
- Sign in to the PayGenius development dashboard (developer.paygenius.co.za/pg/admin) and open Settings. Copy the Access Token and Secret Key.
- Sign in to the production dashboard (www.paygenius.co.za/pg/admin) and open Settings. Copy that dashboard's Access Token and Secret Key.
- Keep the two pairs apart — each only works on its own dashboard's environment.
Connect it to PiGi
- Open Company → Settings → Finance → Payment Gateways, click Connect on the PayGenius card, then Connect PayGenius. The credentials dialog opens.
- On the Sandbox tab, enter the development Access Token and Secret Key, and click Save credentials.
- Click Verify sandbox connection. "Credentials verified successfully" means PayGenius accepted the pair.
- On the Production tab, enter the production pair, click Save credentials, then Verify production connection.
- Turn on Offer at booking checkout in the PayGenius sheet. For invoice "Pay Now" links, also tick PayGenius under Invoicing → Settings → Online Payments.
- To send full refunds through PayGenius, open Refunds, switch on Enable Programmatic Refunds and click Save.
- When you're ready for real money, click Production on the Sandbox | Production switch in the PayGenius sheet and confirm with Go live.
The rest of the screen is covered in Connect a payment gateway.
Test it
- With PayGenius on Sandbox and offered at checkout, make a booking on your public booking page and choose PayGenius.
- Complete the payment on PayGenius's test page.
- Confirm the booking shows the payment in PiGi and the transaction appears in the PayGenius development dashboard.
- After going live, make one small real payment, then refund it in full from PiGi.
Troubleshooting
| Message | Fix |
|---|---|
| "Access Token and Secret Key are required" | Fill in both fields. |
| "Invalid credentials - check your Access Token and Secret Key" | The pair is wrong or from the other dashboard. Copy both again from the matching dashboard's Settings page. |
| "API endpoint not found. Please verify the PayGenius sandbox URL is correct." (or production) | PiGi is pointing at the wrong PayGenius address. Contact PiGi support. |
| "Validation failed" | PayGenius did not confirm the keys. Re-copy them; if it persists, ask PayGenius whether API access is enabled. |
| "Payment not found at PayGenius" | PayGenius has no record of that payment yet. Wait a minute and refresh. |
| Refund dialog: "paygenius cannot refund part of a payment…" | Refund the part amount in PayGenius and record it in PiGi. |
Known limitations
- Only full refunds can be sent from PiGi.
- PayGenius sends payments in rand; other currencies are converted at your Finance currency rate.
- Saved keys are never shown back to you. If you lose one, copy it again from the PayGenius dashboard.