Payments & operations
Merchantly Payment Setup: Connect Razorpay or Cashfree
Learn how to connect your own Razorpay or Cashfree account to Merchantly and set up payments for your online store.
Merchantly team · 23 August 2026 · 2 min read

On this page
Set Up Payments in Merchantly
Merchantly lets store owners connect their own payment gateway accounts so payments can be processed through their own Razorpay or Cashfree accounts.
You can connect:
- Razorpay using OAuth or API Keys
- Cashfree using API credentials
Connect Razorpay
Merchantly supports two ways to connect a Razorpay account.
Option 1: Connect with Razorpay OAuth
OAuth is the recommended way to connect Razorpay.
- Go to Settings → Payments → Razorpay.
- Click Connect with Razorpay OAuth.
- Log in to your Razorpay account.
- Approve the connection.
- Razorpay redirects you back to Merchantly.
- Your Razorpay account is now connected and ready to accept payments.
Option 2: Connect Using Razorpay API Keys
If you prefer to connect using credentials:
- Get your Key ID and Key Secret from Razorpay.
- Go to Settings → Payments → Razorpay in Merchantly.
- Select Switch to Razorpay API Keys.
- Enter your credentials.
- Save the connection.
Keep your API credentials secure. Only enter them through the payment settings in Merchantly.
Connect Cashfree
Cashfree currently connects using API credentials.
- Open Settings → Payments → Cashfree.
- Enter your Client ID / Key ID.
- Enter your Client Secret / Key Secret.
- Add the Webhook Secret if required.
- Save and connect.
The connected Cashfree account belongs to the store owner and is used for their payments.
Payment Setup at a Glance
| Payment Gateway | Connection Method |
|---|---|
| Razorpay | OAuth or API Keys |
| Cashfree | API Credentials |
Before You Start
Make sure you have access to the payment gateway account you want to connect and the required credentials if you are using an API-based connection.
Once connected, the store can use the owner's own payment gateway account for payments.


