Skip to Content
Docs

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.

PropertyDetails
TypeBank transfer
API typeupi
How customers payRedirect to the provider
Customer countriesIndia
RefundsFull and partial
Recurring paymentsYes
Authorize and capture laterYes
DisputesYes
IntegrationsUniversal checkout, Headless checkout, API
Merchant countriesUnited 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 currenciesEUR, GBP, USD
Payment confirmationImmediate
Settlement timingT+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.

CurrencyMinimum amountMaximum amount
GBP1100000
USD1100000

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. 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. 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. 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. 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.

If the customer closes the payment page without completing authorization, the charge stays in requires_authentication. Don't fulfill the order until you receive a charge.succeeded event.

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.country in source_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.

EventWhen it firesWhat to do
charge.pendingThe customer approved the payment, and UPI hasn't confirmed it yetWait for charge.succeeded or charge.failed
charge.succeededThe customer approved the payment, and it completedFulfill the order
charge.failedThe customer canceled, or UPI declined the paymentAsk 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.

Dispute simulation isn't available for UPI in the sandbox. POST /v1/charges/{transaction_id}/simulate/dispute doesn't accept UPI charges. UPI transactions can receive disputes in the live environment, but you can't test the dispute flow in the sandbox. Make sure your webhook handler processes dispute.open events before you go live.

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.
Was this page helpful?