Cashfree Payment Gateway - Offers, Discounts & No-Cost EMI

Create and attach Cashfree offers for discounts, cashbacks, and no-cost EMI at checkout.

Updated Sep 8, 2026
One-click install
npx skills add https://github.com/dasara-varun/orange --skill cashfree-payment-gateway-offers-discounts-no-cost-emi-dasara-varun
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Cashfree Payment Gateway - Offers, Discounts & No-Cost EMI
Source: https://github.com/dasara-varun/orange/tree/main/.cursor/cashfree-skills/pg/offers
Command: npx skills add https://github.com/dasara-varun/orange --skill cashfree-payment-gateway-offers-discounts-no-cost-emi-dasara-varun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Merchants need to run bank-specific discounts, cashbacks, and no-cost EMI campaigns at checkout, but implementing the Cashfree Offers API correctly requires understanding offer creation, payment-method eligibility filters, attachment at payment time, and webhook verification of applied offers. ## Core Features & Use Cases - Offer Creation via API: Create DISCOUNT, CASHBACK, DISCOUNT_AND_CASHBACK, and NO_COST_EMI offers with validity windows, T&Cs, and payment-method validations (card, netbanking, UPI, wallet, paylater, EMI). - Checkout Attachment & Eligibility: Attach offer_id to Order Pay calls or SDK checkout, and surface eligible offers per order via the eligibility endpoint. - Webhook Verification: Confirm applied offers through the payment_offers array in PAYMENT_SUCCESS_WEBHOOK before fulfilling discounted orders. - Use Case: A merchant wants "10% off on HDFC credit cards above ₹1500" — create the offer with a card filter, attach the offer_id at payment, and verify redemption_status SUCCESS in the webhook before settling. ## Quick Start Ask the assistant to create a Cashfree percentage discount offer for a specific bank card and show how to attach it to an order payment.

Frequently Asked Questions about Cashfree Payment Gateway - Offers, Discounts & No-Cost EMI

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a bank offer with the Cashfree Offers API?▼

Send POST /pg/offers with offer_meta (title, description, unique offer_code, validity window), offer_details with offer_type DISCOUNT and discount_details, and offer_validations containing a payment_method filter such as card with bank_name and scheme_name. The response returns an offer_id to attach at payment.

How to implement no-cost EMI with Cashfree?▼

No-cost EMI is an offer with offer_type NO_COST_EMI combined with a card-EMI payment method. Create the offer with an emi payment_method filter specifying issuer and tenures, then attach the offer_id when the customer selects EMI at checkout so Cashfree waives the interest.

How do I verify a Cashfree offer was applied to a payment?▼

Check the payment_offers array in the PAYMENT_SUCCESS_WEBHOOK under data.payment. Confirm offer_redemption.redemption_status is SUCCESS and read discount_amount before fulfilling the order as discounted; FAILED means the customer paid full price.

Is there an API to list all Cashfree offers?▼

No, Cashfree has no list-all-offers endpoint and no PGFetchOffers SDK method. Track the offer_id from each creation response, fetch individual offers with GET /pg/offers/{offer_id}, or use POST /pg/eligibility/offers to find offers eligible for a specific order.

Why did my Cashfree offer fail to apply at payment?▼

The payment method used did not match the offer's payment_method filter, or the order amount fell below min_amount. Inspect offer_ineligibility_reason in the webhook, which reports causes like bank_mismatch, scheme_mismatch, amount_below_minimum, or tenure_not_supported.

When should I use Cashfree Offers instead of a merchant-side coupon?▼

Use Offers when the discount depends on payment-method attributes like card bank, network, or EMI tenure, since Cashfree validates eligibility at payment time. For merchant-controlled promotions like coupon codes or SKU sales, adjust order_amount in your own cart logic instead.