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


## List Complaint



This API can be used to list all complaints.


###   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: Operation to be performed in the SDK
      - Value: upiListPendingComplaints
      - Tags: String, Mandatory
    - **Limit**:
      - Description: Maximum number of rows to be returned. Used for pagination
      - Value: eg. Number > 0
      - Tags: String, Mandatory
    - **Offset**:
      - Description: Offset for rows to be returned. Used for pagination
      - Value: Number >= 0
      - 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: upiListPendingComplaints
      - Tags: String, Mandatory
    - **Status**:
      - Description: Status of the API call.
      - Value: 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
    - **ComplaintsList**:
      - Description: Array of ListPendingComplaintPayload
      - Value:
        - **PayerVpa**:
          - Description: Payer Vpa
          - Tags: String, Mandatory
        - **PayeeVpa**:
          - Description: Payee Vpa
          - Tags: String, Mandatory
        - **OrgTxnStatus**:
          - Description: Original Transaction Status
          - Tags: String, Mandatory
        - **MerchantCustomerId**:
          - Description: Merchant generated unique profile id for customer as passed in the request
          - Tags: String, Optional
        - **CustomerMobileNumber**:
          - Description: masked phone number of the customer
          - Value: <customer mobile number>
          - Tags: String, Optional
        - **TransactionUpiRequestId**:
          - Description: Unique Transaction Request id on which status check is required.
          - Tags: String, Mandatory
        - **UpiRequestId**:
          - Description: Unique request id for upi transaction
          - Tags: String, Mandatory
        - **Crn**:
          - Description: Complaint reference number returned by NPCI
          - Value: eg. 302570532
          - Tags: String, Optional
        - **OrgTxnDate**:
          - Description: Original Transaction Date
          - Tags: String, Mandatory
        - **ComplaintDate**:
          - Description: Date of complaint
          - Tags: String, Mandatory
        - **Status**:
          - Description: Current Status of the transaction
          - Tags: String, Mandatory
        - **Remarks**:
          - Description: Remarks or reason for complaint
          - Tags: String, Mandatory
        - **ReqAdjAmount**:
          - Description: Amount of transaction sent in request
          - Value: 100.00
          - Tags: String, Mandatory
        - **ReqAdjCode**:
          - Description: Reason code for complaint sent in request
          - Value: 1082
          - Tags: String, Mandatory
        - **ReqAdjFlag**:
          - Description: Reason flag for complaint sent in request
          - Value: eg. PBRB
          - Tags: String, Mandatory
      - Tags: Array of JSON, Mandatory
    - **MerchantId**:
      - Description: Unique id for the merchant as passed in request
      - Tags: String, Mandatory
    - **MerchantChannelId**:
      - Description: Unique id for the merchant channel as passed in request
      - Tags: String, 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"}
```


## 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

- [Raise Complaint](https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/raise-complaint)
- [Complaint Status](https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/complaint-status)
