n8n-nodes-razorpay
v0.1.0
Published
Native Razorpay payment integration for n8n workflows
Maintainers
Readme
n8n-nodes-razorpay
This is an n8n community node package that provides native Razorpay payment integration for n8n workflows. It allows you to create payment links, verify payment completion, and manage orders seamlessly within your n8n automations.
Features
- Payment Links: Create, retrieve, list, and cancel payment links
- Payments: Retrieve payments, list all payments, and capture payments
- Orders: Create orders, retrieve order details, and list all orders
- Complete Integration: End-to-end payment flow from generation to verification
Installation
Follow the installation guide in the n8n community nodes documentation.
npm install n8n-nodes-razorpayCredentials
You need to configure Razorpay API credentials:
- Key ID: Your Razorpay Key ID from the dashboard
- Key Secret: Your Razorpay Key Secret from the dashboard
Get these from your Razorpay Dashboard.
Operations
Payment Links
- Create: Generate a new payment link with customer details
- Get: Retrieve a specific payment link by ID
- Get All: List all payment links with pagination
- Cancel: Cancel an active payment link
Payments
- Get: Retrieve payment details by payment ID
- Get All: List all payments with pagination
- Capture: Capture a payment (for manual capture flow)
Orders
- Create: Create a new order for payment processing
- Get: Retrieve order details by order ID
- Get All: List all orders with pagination
Usage Examples
Creating a Payment Link
Perfect for generating payment requests that can be sent to customers:
// Input parameters
{
"amount": 50000, // ₹500.00 (amount in paise)
"currency": "INR",
"description": "Payment for Order #1234",
"customerName": "John Doe",
"customerEmail": "[email protected]",
"customerContact": "+919999999999"
}Verifying Payment Status
Check if a payment has been completed:
// Use the payment ID from webhook or previous operations
{
"paymentId": "pay_xxxxxxxxxxxxx"
}End-to-End Payment Flow
- Create Order → Get order ID for payment processing
- Create Payment Link → Generate link for customer payment
- Get Payment → Verify payment completion status
- Capture Payment → Capture the payment (if using manual capture)
Webhook Integration
Combine this node with n8n's Webhook node to handle Razorpay webhook events for real-time payment notifications.
Documentation
Support
For issues and feature requests, please use the GitHub repository issues section.
License
MIT License - see LICENSE file for details.
