UPI
Accept UPI payments from customers in India, who pay from their bank account with their UPI ID or by scanning a QR code.
Unified Payments Interface (UPI) is India's real-time bank transfer system, built by the National Payments Corporation of India (NPCI). Customers pay from a bank account linked to their UPI app, by entering their UPI ID or scanning a QR code, with no card details.
Payment method properties
UPI takes payments in GBP and USD from customers in India and confirms them immediately.
| Property | Details |
|---|---|
| Type | Bank transfer |
| API type | upi |
| How customers pay | Redirect to the provider |
| Customer countries | India |
| Refunds | Full and partial |
| Recurring payments | Yes |
| Authorize and capture later | Yes |
| Disputes | Yes |
| Integrations | Universal checkout, Headless checkout, API |
| Merchant countries | United Arab Emirates, Australia, Bangladesh, Belgium, Canada, Switzerland, Czech Republic, Germany, Denmark, Spain, Finland, Fiji, France, United Kingdom, Georgia, Greece, Hungary, Ireland, Israel, Iceland, Italy, Japan, South Korea, Kuwait, Kazakhstan, Luxembourg, Morocco, Maldives, Malaysia, Netherlands, Norway, New Zealand, Philippines, Poland, Portugal, Qatar, Serbia, Saudi Arabia, Sweden, Singapore, Thailand, United States, Vietnam, South Africa |
| Settlement currencies | EUR, GBP, USD |
| Payment confirmation | Immediate |
| Settlement timing | T+2 (business days). Subject to Pay.com risk review |
You can charge in these currencies. Amounts are in each currency's minor unit, such as cents.
| Currency | Minimum amount | Maximum amount |
|---|---|---|
| GBP | 1 | 100000 |
| USD | 1 | 100000 |
Customer payment flow
When a customer selects UPI at checkout, they authorize a bank transfer using their UPI-enabled app or by entering their UPI ID.
- 1
Select UPI and proceed
The customer selects UPI on your checkout page and clicks Pay. Pay.com generates a redirect URL and sends the customer to the UPI payment page.
- 2
Choose payment method
The customer can pay in one of two ways:
- QR code: A QR code is displayed on screen. The customer opens their UPI app (such as Google Pay, PhonePe, or Paytm) and scans the code.
- UPI ID: The customer enters their UPI ID (for example,
name@upi) to receive a payment request in their UPI app.
- 3
Authorize the payment
The customer opens the payment request in their UPI app and enters their UPI PIN to authorize the bank transfer. The payment is debited from their linked bank account in real time.
- 4
Return to your site
After the customer authorizes payment, the result is posted back to Pay.com. The customer is redirected to your site.
Before you begin
UPI works with the standard Pay.com integration after your account manager enables it for your account.
Account prerequisites:
- You must have an active Pay.com merchant account with UPI enabled. Contact your account manager to enable UPI for your account.
- You don't need a separate UPI or NPCI account. Pay.com manages the UPI integration for you.
- Your business must operate in an accepted industry. See the accepted and prohibited industries section below for details.
Technical prerequisites:
- No additional SDK or library is needed beyond the standard Pay.com integration.
- The UPI payment page is served externally. Make sure your Content Security Policy allows the redirect.
- UPI charges require
billing_details.address.countryinsource_data. Depending on your account configuration, the API can also require the customer's full name, and sometimes their email, phone, and full address (line, city, state, and postal code), so send every billing detail you have.
Dashboard configuration
After your account manager enables UPI for your account, turn it on for checkout in the Pay.com dashboard. See Turn on payment methods for the steps, and ask your account manager to enable UPI if it isn't listed.
Handling payment events
Pay.com sends these webhook events as a UPI charge changes status. Creating a charge does not emit a webhook event.
| Event | When it fires | What to do |
|---|---|---|
charge.pending | The customer approved the payment, and UPI hasn't confirmed it yet | Wait for charge.succeeded or charge.failed |
charge.succeeded | The customer approved the payment, and it completed | Fulfill the order |
charge.failed | The customer canceled, or UPI declined the payment | Ask the customer to pay again or use another method |
Verify the Pay-Signature header before acting on an event. See Verify webhook signatures.
Refunds
You can refund a UPI payment in full or in part. Refunded funds return to the customer's linked bank account. You can refund a payment more than once, up to the charge amount. To refund it, send POST /v1/refunds with the charge's id as charge, and set amount_to_refund for a partial refund. See Refund a charge for refund statuses and webhook events.
Disputes
UPI transactions carry chargeback risk. Customers can raise disputes through their bank or UPI app, and the dispute reaches Pay.com through the payment network. UPI's payment assurance feature adds a layer of protection for merchants, but doesn't eliminate dispute risk. See Disputes for the dispute lifecycle, evidence, and webhook events.
Accepted and prohibited industries
UPI is available to merchants in the following industries:
- Retail
- Travel
- Skill games
- Digital goods
- Pharma
The following industries are not supported:
- Financial services (licensed)
- Forex (regulated)
- Gambling (licensed)
- Adult content and services
- Dating services
- Cryptocurrency
The lists of accepted and prohibited industries may change with regulatory requirements and partner agreements. Contact your account manager for current eligibility.
Next steps
- Add to checkout: Accept UPI payments with Pay.com.js or from your server, and test them in the sandbox.
- Refund a charge: Review refund statuses and webhook events.
- Webhooks: Configure a webhook endpoint and verify signatures.