Raise Complaint
This API can be used to raise a complaint for any transaction. User will be able to raise this in case of a success, failure or a deemed transaction.
Unique uuid-v4 string
Example: abcd-12345-abcd-12345
Value: in.juspay.hyperapi
Parameters required to call Hyper SDK API
Operation to be performed in the SDK
Example:- upiComplaintRaise
Unique id passed to NPCI. 35 character alphanumeric string. Should always start with the merchant prefix provided. Should be unique.
Example:- Eg - APL0f018ee5bc8b428fb979cb4a53ea9bde
Unique Transaction original id of the transaction on which complaint needs to raise (gatewayTransactionid). 35 character alphanumeric. Should always start with the merchant prefix provided. Should be unique.
Example:- Eg - APL0f018ee5bc8b428fb979cb4a53ea9bde
Remarks or reason for complaint
Amount in two decimals. Decimals are mandatory.
Example:- 0.50
Reason flag for complaint
Example:- PBRB
Reason code for complaint
Example:- U010
Define the type of request
Example:- COMPLAINT/TXNDISPUTE
Key ID to identify the public-private key pair used for signature generation.
Signature payload is a stringified JSON of the details mentioned in the below table.
Unique identifier associated with an account created by juspay. Ex: stock
Example:- stock
Any unique reference associated with your customer.
Time when request is created in milliseconds.
Signature generated for the signaturePayload.
Defines the purpose code of the transaction
Example:- "https://www.abcxyz.com/"
Unique uuid-v4 string
Example: abcd-12345-abcd-12345
Value: in.juspay.hyperapi
Response Parameters
Operation performed in the SDK
Example:- upiComplaintRaise
Status of the API.
Example:- SUCCESS / FAILURE
PSP response code for the API
PSP response message for the API
Payer Vpa
Payee Vpa
Unique id for the merchant as passed in request
Unique id for the merchant channel as passed in request
Merchant generated unique profile id for customer as passed in the request
masked phone number of the customer
Example:-
Amount of the transaction
Example:- eg. 1.00
Amount of transaction sent in request
Example:- 100.00
Reason flag for complaint sent in request
Example:- eg. PBRB
Reason code for complaint sent in request
Example:- 1082
Complaint reference number returned by NPCI
Example:- eg. 302570532
Complaint reference id
Example:- eg. 465738
UPI request id passed in the request.
Example:- APL123be148c7ba3b14f6db5cde57c65ccf
Response code returned by NPCI for the transaction
Example:- Any valid NPCI error code
Response status returned by NPCI
Example:- OPEN | PENDING | CLOSED | FAILURE
Response message returned by gateway for the transaction.
Example:- Your Complaint is Raised successfully
As passed in request
Possible values :- true/false
Error Message
Error Code
Value: process_result

