UPI Intent API for Mobile Apps & Web
Trigger Google Pay, PhonePe, Paytm, and BHIM natively on mobile devices. Eliminate drop-offs, achieve 92%+ success rates, and save 2% on every transaction with 0% MDR.
Zero VPA Typing Friction
Customers tap once to launch their preferred UPI app with amount, order note, and merchant VPA pre-filled. No manual copy-pasting or SMS delays.
92%+ Success Rates
Intent flows avoid the 30% drop-off rate common to UPI collect requests, while our multi-account smart routing automatically handles bank downtime.
Sub-Second Webhooks
As soon as the customer authorizes payment via biometric or UPI PIN, your server receives an authenticated HMAC-SHA256 signed webhook for instant order fulfillment.
// 1. Create a UPI Intent Order via cURL or Node.js
curl -X POST https://www.upigateways.in/api/v2/orders/create -H "Authorization: Bearer YOUR_API_SECRET" -H "Content-Type: application/json" -d '{
"amount": 499.00,
"order_id": "ORD_94821",
"customer_name": "Rohan Sharma",
"customer_phone": "9876543210",
"redirect_url": "https://yourapp.com/payment/success",
"webhook_url": "https://yourapp.com/api/webhook"
}'
// 2. Returns native UPI Intent URI for mobile web & apps:
{
"success": true,
"data": {
"order_id": "ORD_94821",
"upi_intent": "upi://pay?pa=merchant@upi&pn=Store&am=499.00&tr=ORD_94821&cu=INR",
"payment_url": "https://www.upigateways.in/pay/ORD_94821",
"qr_data": "upi://pay?pa=merchant@upi&pn=Store&am=499.00..."
}
}How to Launch UPI Intent in Flutter, React Native & Android
In mobile apps, your backend calls our API to generate the order and returns the upi_intent string. In your mobile client, pass this string directly to deep link listeners or intent launchers:
- Android Kotlin / Java: Launch an Intent with
Intent.ACTION_VIEWandUri.parse(upiIntentUri)to present the Android UPI app selector bottom sheet. - React Native: Use
Linking.openURL(upiIntentUri)to trigger installed payment apps automatically. - Flutter: Use the
url_launcherpackage withLaunchMode.externalApplication.
Frequently Asked Questions
What is the difference between UPI Intent and UPI Collect?
UPI Collect asks users to type their VPA and wait for a notification in their UPI app, resulting in high abandonment. UPI Intent launches the app directly on their screen with one click.
What happens if a customer is on desktop?
Our checkout automatically renders an interactive Dynamic QR code with live timer. The customer scans it with their mobile camera or UPI scanner, and your desktop page auto-redirects upon confirmation.
Integrate UPI Intent in Under 30 Minutes
Create your account to obtain sandbox and production API keys. Zero onboarding fee, zero transaction fees.