API Reference

Offers on Payment Links

Using Razorpay Offers, you can provide discounts or cashback on Payment Links issued to customers. You can restrict the payment methods on which the Offers are applied and limit their usage to a defined time period.

There are two ways in which you can display offers on Payment Links:

Method 2: With API Integration🔗

You can include the offers in the create Payment Link API request.

Steps to Integrate:

  1. Create an Offer on Razorpay Dashboard.
  2. Pass Offer_id in Payment Link Create API.

Step 1: Create an Offer on Razorpay Dashboard.🔗

While creating the offer on Razorpay Dashboard, enable the Checkout Visibility option.

Learn more about Offers.

Each offer has an offer_id associated with it. For example, offer_F4WMTC3pwFKnzq.

Add the offer_id parameter in the request body.

Sample Code

×