Configure the Instamojo Payment Gateway
You can integrate Instamojo with your Learnyst school to securely accept online payments from learners.
-
Log in to your Instamojo developer account.
-
Navigate to API & Plugins.
-
Copy the following credentials:
- Private API Key
- Private Auth Token
.png?width=670&height=303&name=Article%20-%20integrate%20Instamojo%20%20(7).png)
- Next, log in to your Learnyst admin account.
-
Go to Settings → Payment Gateway.

-
Click Add Payment Gateway.
.png?width=670&height=303&name=Article%20-%20integrate%20Instamojo%20%20(1).png)
-
Select Instamojo and click Save.
.png?width=670&height=303&name=Article%20-%20integrate%20Instamojo%20%20(2).png)
-
Paste the Private API Key and Private Auth Token into the respective fields.
.png?width=670&height=303&name=Article%20-%20integrate%20Instamojo%20%20(3).png)
-
If required, enable Link Billing Address to collect billing information during checkout.
-
Click Save to store the configuration.
.png?width=670&height=303&name=Article%20-%20integrate%20Instamojo%20%20(4).png)
-
Set Up Webhook
Webhooks in PayU provide instant notifications about key events, such as successful payments, directly to your preferred platform. This helps streamline payment management.
- Navigate back to your Instamojo dashboard, go to Products.
- Open the All Products section.
- Select the product that you want to connect with Learnyst.
- Click on Advanced.
- In the Webhook URL field, enter the below URL:
https://api.learnyst.com/learner/v7/webhook/payment_verification- If event selection is available, select the event that corresponds to a successful payment webhook.
- Click on Save.
NOTE: You can refer the below YouTube video on how to add webhook URL.
Link: https://youtu.be/0rxyoPNMG1I?si=Sz9VlhCXqp13NY2Q
-
To activate the payment gateway, go back to your Learnyst Admin dashboard and Publish Payment Gateway.
-
Select Publish and click Save.
.png?width=670&height=303&name=Article%20-%20integrate%20Instamojo%20%20(6).png)
-
Your Instamojo payment gateway is now integrated and ready to accept payments.