Import the Postman collection using the URL that is shared.
Click on the title (Instamojo v2 Payments APIs/ Instamojo v2 Payments Test APIs) of the Imported postman collection (ref:)
- On the page that appears (inside postman), scroll down, and add the Client ID and Client secret from your Instamojo account.
- Choose the environment in which you want to run the API endpoints, from Production or Sandbox.
Production API endpoints require Client ID and Client secret from your account on www.instamojo.com and Sandbox API endpoints require Client ID and Client secret from your account on test.instamojo.com.
The Environment can be selected by clicking on the 'Environment' tab in the top right corner of Postman.
- Click on 'Get New Access Token', wait for Postman's response, and click on 'Use Token'
- The Access token required to run all the API endpoints in the collection has been created and now you can select the individual API endpoint that you want to run, add the details/params in the 'Body' section, if applicable, click on 'Send'.