Raise a Complaint
Register a complaint related to a UPI payment transaction.
POST
Available in🇮🇳 India
Use this endpoint to register a complaint for a failed or unsatisfactory UPI transaction.
Request Parameters
string
required
Unique id generated by the business for the complaint.
string
required
Unique transaction id on which the complaint is raised.
string
required
Original UPI transaction id used at the time of payment.
enum
Indicates the 2-digit code defined by NPCI. Possible values:
00: Default - When no specific code is assigned or for general default scenarios.01: QR Code - For making payments by scanning a standard QR code.02: Secure QR Code - For payments that require additional security with QR codes.03: Bharat QR Code - For interoperable payments across various payment networks using Bharat QR.04: Intent - For payments initiated by an intent from an application or browser.05: Secure Intent - For payments initiated by a secure intent from an app or browser.06: NFC (Near Field Communication) - For contactless payments using NFC technology.07: BLE (Bluetooth) - For payments made through Bluetooth Low Energy technology.08: UHF (Ultra High Frequency) - For payments made using UHF technology, typically for toll payments.09: Aadhaar - For payments authenticated using an Aadhaar number and biometric verification.10: SDK (Software Development Kit) - For payments initiated through an SDK embedded in an app.11: UPI-Mandate - For setting up recurring payments or mandates using UPI.12: FIR (Foreign Inward Remittance) - For receiving remittances from foreign countries.13: QR Mandate - For setting up recurring payments using a QR code.14: BBPS - For making bill payments through the Bharat Bill Payment System.
enum
The 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values:
01: SEBI02: AMC03: Travel04: Hospitality05: Hospital06: Telecom07: Insurance08: Education09: Gifting10: BBPS11: Global UPI12: Metro ATM QR13: Non-metro ATM QR14: Standing Instruction15: Corporate disbursement
string
required
The 2-digit code defined by NPCI present in the intent URL or QR codes. Possible values:
00: NULL01: Advertisement02: Invoice
string
Indicates a URL that, upon clicking, provides the customer with further transaction details such as bill details, bill copy, order copy, ticket details, and so on. When used, this URL should be related to the particular transaction and not be used to send unsolicited information irrelevant to the transaction.
integer
Complaint amount in paisa.
string
NPCI-defined reason code for complaint.
string
NPCI-defined flag associated with the complaint reason.
string
Description for the complaint.
Response Parameters
string
Entity type. Here it is
upi.complaint.string
Business-generated complaint reference id.
string
Identifier returned by Razorpay for the complaint.
string
UPI transaction id related to the complaint.
string
Code returned by NPCI indicating complaint status.
string
Complaint id shared by NPCI.
object
The payee details.
string
The VPA of the payee.
string
The name of the payee.
string
Acknowledgement or status description.
string
Indicates the complaint status. Possible values:
initiatedactivecompletedpausedfailed
integer
The adjustment amount for the complaint, in paise.
string
Code representing complaint reason from NPCI.
string
Flag associated with the complaint reason from NPCI.