Complaint Raise
This Api will be used to raise a complaint on any transactions.
Complaints shall be allowed only after '5' mins from the time of transaction and after transaction status check is done by the user.
Complaints can be raised on P2P (Deemed and DRC) transactions and P2M (Success,Deemed,DRC) transactions.
For the below request type = "COMPLAINT" will correspond to one of the categories of "reqComplaint" api. We currently only use "COMPLAINT" because we don't serve other use cases. We have kept it as a field in request body for future api enhancements.
Provide request parameters "adjCode" and "adjFlag" based on below scenarios.
application/json
Will be shared while onboarding.
Will be shared while onboarding.
application/json
This is an epoch unix timestamp string. For example, 1496918882000. It can be used by us to invalidate older requests.
This is a signature over combination of headers, payload. Refer Signature Calculation section for more details.
Amount of the transaction sent to NPCI.
Constraint: Amount in two decimals. Decimals are mandatory.
Reason flag for complaint sent to NPCI
Reason Code for complaint sent to NPCI
Merchant generated unique profile id for customer
Constraint: Alphanumeric string with dot(.). Maximum length is 256.
Merchant generated id for the complaint request
Constraint: 35 characters alphanumeric.
Unique id sent to UPI switch for the request of the transaction on which complaint complaint needs to raise
Constraint: 35 character alphanumeric. Should always start with merchant prefix provided.
Define the type of request
String - COMPLAINT
Unique id sent to UPI switch for the request
Constraint: 35 character alphanumeric. Should always start with merchant prefix provided.
Remarks or reason for complaint
Defines the initiation mode of the transaction
Defines the purpose code of the transaction
Invoice as sent by merchant in the form of url
Details for refUrl, whether it is 01(advertisement), 02(invoice)
Stringified JSON for udf parameters
PSP status of the API
Values: SUCCESS | FAILURE
PSP response code for the API
PSP response message for the API
Unique id for the merchant as passed in request headers
Unique id for the merchant channel as passed in request headers
Merchant generated unique profile id for customer as passed in the request
VPA of the customer to be used for payment
Vpa of the payee to whom money is being sent
Customer mobile number as per device binding
Constraint: 12 digits mobile number
Merchant generated id for the transaction
Constraint: 35 characters alphanumeric.
The total amount for which original transaction was performed
Constraint: String with mandatory two decimals
Amount of the transaction sent to NPCI
Constraint: Amount in two decimals.
Reason flag for complaint sent to NPCI
Reason Code for complaint sent to NPCI
Complaint reference number returned by NPCI
Constraint: 14 to 16 characters alphanumeric.
Reference id returned by the gateway
Complaint id returned by gateway
Response code returned by gateway
Response status returned by gateway
Values: PENDING | FAILURE
Response message for code returned by gateway
Udf parameters as passed in the request
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

