**Version: 202201**

# List Disputes

**GET** `/openapi/2024-07/shoplazza-payment/disputes`

Returns a list of Dispute objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

## Request

**Query Parameters**

- `cursor` string

  cursor for pagination, use the cursor from the response for pagination
- `limit` int32

  A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
- `status` string

  Filter option: dispute status (e.g., "lost", "won", "warning_closed", "needs_response", "under_review", "warning_under_review", "warning_needs_response")

  lost: The dispute was resolved against the merchant, and the funds were not recovered. won: The dispute was resolved in favor of the merchant, and the funds were retained or recovered. warning_closed: The dispute case was closed following a warning; no further action is required. needs_response: The dispute requires a response or evidence from the merchant to proceed. under_review: The dispute is currently under review by the payment processor or financial institution. warning_under_review: The dispute received a warning and is under review; further action may be needed. warning_needs_response: The dispute has a warning and requires a response from the merchant to avoid further escalation.
- `created_at_min` string

  Filter option: dispute creation start time (unix timestamp)
- `created_at_max` string

  Filter option: dispute creation end time (unix timestamp)

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  Response: Dispute order list

  - `has_more` boolean

    Whether there is more data
  - `list` object[]

    List of dispute orders

    *   Array [

    - `id` string

      Dispute order ID
    - `transaction_order_id` string

      Transaction order ID
    - `original_order_id` string

      Original order ID
    - `store_id` string

      Store ID
    - `currency` string

      Account currency
    - `created_at` string

      Creation time (unix timestamp)
    - `updated_at` string

      Last updated time (unix timestamp)
    - `expiration_time` string

      Expiration time (unix timestamp)
    - `dispute_reason` string

      Dispute reason
    - `original_order_amount` string

      Original order amount
    - `dispute_amount` string

      Dispute amount
    - `status` string

      Status (e.g., "lost", "won", "warning_closed", "needs_response", "under_review", "warning_under_review", "warning_needs_response") lost: The dispute was resolved against the merchant, and the funds were not recovered. won: The dispute was resolved in favor of the merchant, and the funds were retained or recovered. warning_closed: The dispute case was closed following a warning; no further action is required. needs_response: The dispute requires a response or evidence from the merchant to proceed. under_review: The dispute is currently under review by the payment processor or financial institution. warning_under_review: The dispute received a warning and is under review; further action may be needed. warning_needs_response: The dispute has a warning and requires a response from the merchant to avoid further escalation.
    - `fee` string

      Dispute fee
    - `fee_currency` string

      Fee currency
    *   ]
  - `cursor` string

    cursor for pagination

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "has_more": true,
    "list": [
      {
        "id": "string",
        "transaction_order_id": "string",
        "original_order_id": "string",
        "store_id": "string",
        "currency": "string",
        "created_at": "string",
        "updated_at": "string",
        "expiration_time": "string",
        "dispute_reason": "string",
        "original_order_amount": "string",
        "dispute_amount": "string",
        "status": "string",
        "fee": "string",
        "fee_currency": "string"
      }
    ],
    "cursor": "string"
  }
}
```
