Calculate UPI MDR
calculate_upi_mdrWork out the UPI merchant discount rate (MDR) on a payment under the rules from 15 October 2026: 0.4% on person-to-merchant UPI payments above ₹2,000 (capped at ₹300), a flat ₹5 for essential-sector merchants and 0.02% for capital markets. Person-to-person payments, payments of ₹2,000 or less and small P2PM merchants (up to ₹1 lakh a month) pay nothing. Shows the 18% GST on the MDR and what the merchant keeps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | One UPI payment, in rupees. | |
| category | No | standard merchant (default), essential sector, capital markets, or p2p (person to person). | |
| gst_registered | No | true if the merchant is GST-registered and can claim the GST on MDR as input tax credit. | |
| small_merchant | No | true if the UPI ID is a small P2PM merchant (up to ₹1 lakh a month on UPI QR). |