> ## Documentation Index
> Fetch the complete documentation index at: https://telr-docs.cashfree.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Razorpay

> Learn how to connect your Razorpay account with Flowwise

* [x] Cards (Credit, Debit and Prepaid)
* [x] UPI
* [x] Netbanking (all banks)
* [x] Wallets

We offer two guides: one for non-S2S merchants and another for S2S merchants. If you don’t have a PCI certificate and S2S enablement isn’t available with Razorpay, you can still easily accept payments on FlowWise with just a few simple steps.

<Tabs>
  <Tab title="S2S not available">
    You can setup this integration without having S2S enabled.

    1. Login to your [Cashfree Dashboard](https://telr.cashfree.com/merchants/login).
    2. On the home page, click ‘Payment Gateway’, then select Flowwise from left navbar. Select ‘Gateways’
    3. On the top right, click on ‘Add Gateways’
    4. Select Razorpay from dropdown, and add a unique name and description for the gateway. Then hit ‘next’
    5. Select ‘PROD’ environment if you are configuring your production **KeyID** and **Secret Key**. Click ‘Submit’.

    You have now added Razorpay on to Flowwise.

    ## Configure Webhooks

    To configure Flowwise webhooks on Razorpay dashboard to receive updates about all payment events

    1. Go to razorpay dashboard
    2. Under ‘Accounts and Settings’, click on 'Webhooks'
    3. Add `https://push.cashfree.com/push/v1/pg/pa_razorpaypg`, and under Secret, add your Razorpay secret key (steps to obtain secret key written below).
    4. Under Active Events, select payment.authorized, payment.failed, payment.captured and order.paid
  </Tab>
</Tabs>

## How to find your Key and Salt

There are three ways of obtaining your key and salt

<Tabs>
  <Tab title="Ask your account manager">
    1. Your Razorpay Account manager will provide you the details on the mail.
  </Tab>

  <Tab title="Search your existing integration">
    Look into your current integration with Razorpay, and find the **keyId** and **secret** from the integration code at your backend. You would also have them saved somewhere on your system.
  </Tab>

  <Tab title="Generate a new pair">
    You can also generate a new KeyID and Secrey Key from [Razorpay’s Dashboard](https://dashboard.razorpay.com/).

    <Warning>
      Generating new credentials will render your old credentials invalid, so it might affect your integration with Razorpay’s standard checkout APIs. Only generate new keys just before going live on flowWise.
    </Warning>

    1. Login into your Razorpay Dashboard (Razorpay Dashboard )
    2. Under Accounts and Settings, you will find an option to ‘Generate new key’
  </Tab>
</Tabs>
