All articles

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.

  1. Go to Settings → Payments → Razorpay.
  2. Click Connect with Razorpay OAuth.
  3. Log in to your Razorpay account.
  4. Approve the connection.
  5. Razorpay redirects you back to Merchantly.
  6. 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:

  1. Get your Key ID and Key Secret from Razorpay.
  2. Go to Settings → Payments → Razorpay in Merchantly.
  3. Select Switch to Razorpay API Keys.
  4. Enter your credentials.
  5. 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.

  1. Open Settings → Payments → Cashfree.
  2. Enter your Client ID / Key ID.
  3. Enter your Client Secret / Key Secret.
  4. Add the Webhook Secret if required.
  5. Save and connect.

The connected Cashfree account belongs to the store owner and is used for their payments.

Payment Setup at a Glance

Payment GatewayConnection Method
RazorpayOAuth or API Keys
CashfreeAPI 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.

Keep reading

Ready to open your store?

Start free, sell with 0% commission, and upgrade a store when it grows.

Become a Merchantly pilot partner
How to Set Up Payments on Merchantly | Merchantly