Fetch Complaints
Retrieve the status of a specific complaint or fetch all complaints for a customer.
GET
Available in🇮🇳 India
Use this endpoint to fetch the status of a specific complaint or retrieve a list of complaints.
Query Parameters
string
Fetch the complaint status for the specific transaction id.
boolean
Determines whether to fetch payment status from NPCI. Possible values:
true: If set to true, fetch payment status from NPCI.false(default): If set to false, return payment from the local database.
integer
Maximum number of records to return. Used for pagination.
integer
Offset value for pagination.
string
The status of the complaint. Possible values:
initiatedsuccessfailure
Response Parameters
string
The entity type. Here, it is
collection.integer
Indicates the number of items in the entity type.
object
The complaint details.
string
Entity type. Here it is
upi.complaint.string
Business-generated complaint reference id.
string
Identifier returned by Razorpay for the complaint.
integer
The amount of the transaction sent by NPCI (in paise), when the complaint was raised.
string
Code representing complaint reason from NPCI, when the complaint was raised..
string
Flag associated with the complaint reason from NPCI, when the complaint was raised..
string
Complaint id shared by NPCI.
integer
The amount of the transaction sent by NPCI, in paise.
string
Code representing complaint reason from NPCI.
string
Flag associated with the complaint reason from NPCI.
object
The payee details.
string
The VPA of the payee.
string
The name of the payee.
string
Indicates the complaint status. Possible values:
initiatedactivecompletedpausedfailed
string
Acknowledgement or status description.
string
UPI transaction id related to the complaint.
string
Original UPI transaction id used at the time of payment.
string
The UNIX timestamp at which the complaint was created.