App Name - Razorpay
API Docs - https://razorpay.com/docs/api/
Basic Auth lets you connect APIs that authenticate users with a username and password.
Username Label - Specify your Username field label name e.g API Key. By default, it is a Username.
Password Label - Enter your Password field label name here e.g API Secret Key. By default, it is Password.
Basic authentication is an HTTP-based authentication approach and is the simplest way to secure REST APIs. It uses a Base64 format to encode usernames and passwords, both of which are stored in the HTTP header
We followed the Razorpay API docs for selecting the Auth type as Basic auth.
Trigger - Invoice Paid
Type - Trigger setup by Instruction.
Trigger Frontend View:
Action - Create Order
Action Event API Configuration with JSON Request Body Type -
We have set the Payment Capture "Yes" or "No" by the Static Dropdown method.
Action Frontend View:
For more details follow this guide for creating new actions and triggers in your apps - https://forum.pabbly.com/forums/pabbly-connect-app-integration-guide/
Refer to the below video for creating your app with a similar auth type:
API Docs - https://razorpay.com/docs/api/
Authentication Method - Basic Auth
You can follow these steps to build the app integration with a similar auth type.
1. App Details and Auth Configuration.
Basic Auth lets you connect APIs that authenticate users with a username and password.
Username Label - Specify your Username field label name e.g API Key. By default, it is a Username.
Password Label - Enter your Password field label name here e.g API Secret Key. By default, it is Password.
Basic authentication is an HTTP-based authentication approach and is the simplest way to secure REST APIs. It uses a Base64 format to encode usernames and passwords, both of which are stored in the HTTP header

2. Configure Triggers
Trigger - Invoice Paid
Type - Trigger setup by Instruction.
Trigger Frontend View:
3. Configure Action
Action - Create Order
Action Event API Configuration with JSON Request Body Type -
- HTTP request method - POST
- API Endpoint URL - https://api.razorpay.com/v1/orders
- Request Body Type - Specify a request body type to request this action event. By default, it is JSON.
- Wrap in Array - Specify if your request raw JSON needs to be wrapped in an array or not.
- Set Body/Query Parameters - Set parameters if this action event requires to pass the query/URL parameters or map in request raw JSON e.g. amount, currency.
- Request Body (Raw JSON) - Select this if this action event requires to pass the raw JSON data. If used in endpoints then, all variables in it defined under Set parameters option should have the required option opted. (Some API accepts blank values for JSON keys).

Action Frontend View:


Attachments
Last edited by a moderator: