Integration Flow
If you want to display the No Cost EMI offered by Bajaj Finserv on the Checkout, you must associate the offer with an order. The details of the integration are listed below.Step 1: Create No Cost EMI Offers
Raise a request with theRazorpay Support teamto create the relevant No Cost EMIs you want to display on the Checkout. Get the appropriateoffer_id created for each EMI plan.
Step 2: Create an Order
Obtain theoffer_id. Let us say, offer_ANZoaxsOww2X53, from our Support team. Create an order for the transaction amount for which the created offer should be applied.
/orders
amount mandatory
: integer Amount, in currency subunits, for which the order is created. For example, if the order is to be created for ₹30,000, enter the value 3000000 (in paise).
currency mandatory
: string ISO code of the currency associated with the order amount.
notes optional
: json object Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. For example, "note_key": "Beam me up Scotty”.
offers mandatory
: array Unique identifier of the Offer.
Pass the offer_id obtained from Razorpay Support team.
discountoptional
: boolean Indicate if a discount is to be applied by Razorpay or not. Possible values are:
true: Discount is applied.false: Discount is not applied.
Curl
Step 3: Trigger the Checkout
Theorder_id obtained in the previous step can be passed to Checkout form as follows:
JavaScript