UPI Integration
Accept UPI payments with automatic confirmation: the buyer pays in their UPI app from the hosted Razorpay page and the order completes by itself. India, INR checkouts.
What is UPI Integration?#
UPI integration creates a Razorpay Payment Link at checkout and redirects the buyer to the hosted page. On mobile it opens the buyer’s UPI apps directly (UPI Intent); on desktop it shows a UPI QR. The payment is detected and confirmed automatically - no manual order confirmation.
- Compliant flow: UPI Collect was deprecated by NPCI in February 2026 - the hosted page serves UPI Intent and QR, the only legal flow
- Automatic confirmation: the order completes itself via the Razorpay webhook plus a status poll
- Non-custodial: funds settle to your own Razorpay account - the platform never touches them
- INR only: the rail appears on INR-denominated checkouts
Setup#
- Create a free account at razorpay.com and get your API keys (rzp_test_... for testing, rzp_live_... after KYC).
- In Settings → UPI, paste the Key ID and Key secret, and toggle the rail on.
- Optional: set a webhook secret to enable X-Razorpay-Signature verification.
Manual fallback#
The manual UPI bank rail (UPI ID, confirmed with Mark as Paid) stays available separately under Bank Payments for merchants without API keys.