Install
- Navigate to the No code Center section from the left navigation bar in Togai
- Click on
Appsto access the list of apps with tight integration support - Locate and select
Paystackfrom the available apps - Click on the
+Add connectionbutton - Provide a name for the connection and paste your:
Paystack Secret Key
Paystack Secret Key

- Go to your Paystack dashboard and click on
Settingsfrom the left navigation bar - Click on
API Keys & Webhooksfrom the sub-navigation bar - Copy your
Secret Keyand paste it into the appropriate field in Togai - For more information on how to get your Paystack Secret Key, please refer to the Paystack documentation
Flows
Here are the out-of-the-box flows that you can use:1. Sync Togai accounts to Paystack
- A new account is created in Togai
- Togai then creates a corresponding customer in Paystack and syncs the customer identifier between Togai and Paystack.
- You can see this mapping of customer identifier in the Settings tab of every customer. The setting name for Paystack customer identifier in Togai is
PaystackCustomerCode.
2. Sync Togai invoices to Paystack
- A new invoice is created in Togai
- Togai then creates a corresponding payment request on Paystack using the setting
PaystackCustomerCodefor the customer on Paystack. - Caution: If the customer does not have a Paystack customer identifier, the invoice will not be synced to Paystack. You can see the Paystack customer identifier in the Settings tab of every customer. The setting name for Paystack customer identifier in Togai is
PaystackCustomerCode.
3. Mark Togai invoice paid on Paystack payment
- Togai receives a payment request success event from Paystack.
- Togai fetches the payment request details from Paystack and marks the corresponding invoice as paid in Togai.
- To enable this flow, you need to configure a webhook in Paystack.
- Go to your Paystack dashboard and click on
Settingsfrom the left navigation bar - Click on
API Keys & Webhooksfrom the sub-navigation bar - Click on
Webhook URLand paste the webhook URL from Togai obtained when enabling the flow
- Go to your Paystack dashboard and click on
