---
page_title: Complaint Status
product: UPI TPAP SDK
platform: React Native
page_source: https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/complaint-status
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-tpap-sdk/llms.txt
---


## Complaint Status




###   Process Parameters



## Request Payload
- **RequestId**:
  - Description: Unique uuid-v4 string
  - Value: Example: abcd-12345-abcd-12345
  - Tags: String, Mandatory
- **Service**:
  - Description: Value: in.juspay.hyperapi
  - Tags: String, Mandatory
- **Payload**:
  - Description: Parameters required to call Hyper SDK API
  - Value:
    - **Action**:
      - Description: String Value : upiComplaintStatus
      - Value: upiComplaintStatus
      - Tags: String, Mandatory
    - **OriginalUpiRequestId**:
      - Description: Unique Complaint Request id of the complaint on which status check is required. (gatewayComplaintId received in raise complaint API)
      - Value: Eg - APL0f018ee5bc8b428fb979cb4a53ea9bde
      - Tags: String, Mandatory
    - **OriginalTransactionUpiRequestId**:
      - Description: Unique Transaction Request id on which status check is required. 35 character alphanumeric. Should always start with the merchant prefix provided.
      - Value: Eg - APL0f018ee5bc8b428fb979cb4a53ea9bde
      - Tags: String, Mandatory
    - **Type**:
      - Description: Type of Complaint Status
      - Value: COMPLAINT/TXNDISPUTE
      - Tags: String, Mandatory
    - **MerchantKeyId**:
      - Description: Key ID to identify the public-private key pair used for signature generation.
      - Tags: String, Mandatory
    - **SignaturePayload**:
      - Description: Signature payload is a stringified JSON of the details mentioned in the below table.
      - Value:
        - **Merchant_id**:
          - Description: Unique identifier associated with an account created by juspay. Ex: stock
          - Value: stock
          - Tags: String, Mandatory
        - **Customer_id**:
          - Description: Any unique reference associated with your customer.
          - Tags: String, Mandatory
        - **Timestamp**:
          - Description: Time when request is created in milliseconds.
          - Tags: String, Mandatory
      - Tags: String, Mandatory
    - **Signature**:
      - Description: Signature generated for the signaturePayload.
      - Tags: String, Mandatory
  - Tags: JSON, Mandatory


## Response Payload
- **RequestId**:
  - Description: Unique uuid-v4 string
  - Value: Example: abcd-12345-abcd-12345
  - Tags: String
- **Service**:
  - Description: Value: in.juspay.hyperapi
  - Tags: String
- **Payload**:
  - Description: Response Parameters
  - Value:
    - **Action**:
      - Description: Operation performed in the SDK
      - Value: upiComplaintStatus
      - Tags: String, Mandatory
    - **Status**:
      - Description: Status of the API
      - Value: Possible values: SUCCESS / FAILURE
      - Tags: String, Mandatory
    - **ResponseCode**:
      - Description: PSP response code for the API
      - Tags: String, Mandatory
    - **ResponseMessage**:
      - Description: PSP response message for the API
      - Tags: String, Mandatory
    - **ComplaintStatusPayload**:
      - Value:
        - **MerchantChannelId**:
          - Description: Unique id for the merchant channel as passed in request
          - Tags: String, Mandatory
        - **GatewayResponseStatus**:
          - Description: Response status returned by gateway
          - Value: OPEN | PENDING | CLOSED | FAILURE
          - Tags: String, Mandatory
        - **MerchantId**:
          - Description: Unique id for the merchant as passed in request
          - Tags: String, Mandatory
        - **GatewayComplaintId**:
          - Description: UPI request id passed in the request.
          - Value: APL123be148c7ba3b14f6db5cde57c65ccf
          - Tags: String, Mandatory
        - **ReqAdjAmount**:
          - Description: Amount of transaction sent in request
          - Value: 100.00
          - Tags: String, Mandatory
        - **GatewayResponseMessage**:
          - Description: Response message returned by gateway for the transaction.
          - Value: Your Complaint is Raised successfully
          - Tags: String, Mandatory
        - **PayerVpa**:
          - Tags: String, Mandatory
        - **MerchantRequestId**:
          - Tags: String, Mandatory
        - **GatewayResponseCode**:
          - Description: Response code returned by NPCI for the transaction
          - Value: Any valid NPCI error code
          - Tags: String, Mandatory
        - **GatewayReferenceId**:
          - Description: Complaint reference id
          - Value: eg. 465738
          - Tags: String, Mandatory
        - **ReqAdjCode**:
          - Description: Reason code for complaint sent in request
          - Value: 1082
          - Tags: String, Mandatory
        - **Crn**:
          - Description: Complaint reference number returned by NPCI
          - Value: eg. 302570532
          - Tags: String, Optional
        - **CustomerMobileNumber**:
          - Description: masked phone number of the customer
          - Value: <customer mobile number>
          - Tags: String, Mandatory
        - **PayeeVpa**:
          - Description: Payee Vpa
          - Tags: String, Mandatory
        - **ReqAdjFlag**:
          - Description: Reason flag for complaint sent in request
          - Value: eg. PBRB
          - Tags: String, Mandatory
        - **TransactionAmount**:
          - Value: eg. 1.00
          - Tags: String, Mandatory
        - **MerchantCustomerId**:
          - Description: Merchant generated unique profile id for customer as passed in the request
          - Tags: String, Mandatory
        - **AdjCode**:
          - Description: Reason code for complaint
          - Value: U010
          - Tags: String, Optional
        - **AdjFlag**:
          - Description: Reason flag for complaint
          - Value: PBRB
          - Tags: String, Optional
        - **AdjAmount**:
          - Description: Amount in two decimals. Decimals are mandatory.
          - Value: 0.50
          - Tags: String, Optional
      - Tags: JSON, Mandatory
    - **OtherInfo**:
      - Description: As passed in request
      - Tags: String, Optional
  - Tags: JSON
- **Error**:
  - Description: Possible values :- true/false
  - Tags: Boolean
- **ErrorMessage**:
  - Description: Error Message
  - Tags: String
- **ErrorCode**:
  - Description: Error Code
  - Tags: String
- **Event**:
  - Description: Value: process_result
  - Tags: String





#### Code Snippets: -

#### Java Code Snippet:

```java
{"success":false,"message":"Failed to fetch snippet"}
```

#### Kotlin Code Snippet:

```kotlin
{"success":false,"message":"Failed to fetch snippet"}
```



###   Adjustment Code Table


> **Note**
> [Click here for Adjustment Codes](../miscellaneous/adjustment-code-table)





## Sample Code Snippets:
### Request snippets:

#### Request Code Snippet:

```request
{"success":false,"message":"Failed to fetch snippet"}
```

### Response snippets:

#### Response:
```plaintext
{"success":false,"message":"Failed to fetch snippet"}
```



---

## Complete Code Reference

The following code files are referenced in the steps above:

### InappHeadless2.txt

```
{"success":false,"message":"Failed to fetch snippet"}
```


---

## See Also

- [List Complaint](https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/list-complaint)
- [Signed Intent/QR Signature Generation](https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/signed-intent-qr-signature-generation)
