> This page is for MVS Pay.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mvscloud.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mvscloud.com/_mcp/server.

# List disputes

GET https://pay.mvscloud.com/api/disputes

Lists disputes for the authenticated organization. Each Hyperswitch dispute is joined with its org-scoped `disputeExtension` sidecar (alert priority, assigned user, platform notes, evidence status).

NMI-sourced chargebacks (ADR-014) have no Hyperswitch dispute object and never appear in the router's dispute list, so they are pulled from the extension surface and presented inline with a synthetic dispute shape (`source: "NMI"`). The returned `total` is the router's `total_count` (or the joined count) plus the count of NMI rows in this page.

Reference: https://docs.mvscloud.com/mvs-pay/api/disputes/list-disputes

## Authentication

- `x-api-key` header (required) — A scoped MvsPayApiKey, e.g. `mvspay_live_…`. Mint and scope keys from the dashboard (Settings → API Keys).

## Request

### Query parameters

- `limit` (integer, optional, default: 50) — Max rows to return.
- `offset` (integer, optional, default: 0) — Rows to skip.

## Response

### 200

A page of disputes, each with its extension sidecar (or null), plus inline NMI chargebacks.

- `disputes` (list of DisputeWithExtension, required) — Hyperswitch disputes (with extension) followed by inline NMI chargebacks.
- `total` (integer, required) — Router total_count (or joined count) plus the NMI rows in this page.
- `limit` (integer, required)
- `offset` (integer, required)

## Errors

### 401 Unauthorized Error

Missing or invalid API key.

- `error` (ErrorResponseError, required)

### 403 Forbidden Error

The key lacks the required scope, or the body references a different organization.

- `error` (ErrorResponseError, required)

### 500 Internal Server Error

Unexpected server error.

- `error` (ErrorResponseError, required)

### 502 Bad Gateway Error

The payments engine (Hyperswitch/connector) returned an error.

- `error` (ErrorResponseError, required)

## Types

### DisputeWithExtension

A dispute. For Hyperswitch disputes this is the router's dispute object (loosely typed; extra fields pass through). For NMI chargebacks (ADR-014) it is a synthetic shape mapped from the extension row, carrying `source: "NMI"` and an `nmi:<caseId>` dispute id.

- `dispute_id` (string, optional) — Hyperswitch dispute id, or `nmi:<caseId>` for an NMI chargeback.
- `payment_id` (string, optional)
- `amount` (integer, optional) — Minor units (cents).
- `currency` (string, optional)
- `dispute_status` (string, optional) — Hyperswitch dispute status, or the extension's `disputeStatus` for NMI rows.
- `connector_reason` (string, optional) — Connector/scheme reason (or reason code for NMI rows).
- `source` (enum, optional) — Present and set to NMI for synthetic NMI chargebacks.
  - Allowed values: `HYPERSWITCH`, `NMI`
- `created_at` (string, optional) — Creation timestamp.
- `extension` (DisputeExtension, optional, nullable) — The org-scoped sidecar, or null when none has been persisted (or when it belongs to another org).

### ErrorResponseError

- `code` (string, required) — e.g. UNAUTHORIZED, FORBIDDEN, ERROR.
- `message` (string, required)
- `details` (map from string to any, optional)

### DisputeExtension

Org-scoped sidecar persisted alongside a dispute. Tracks platform alerting and management state. For NMI-sourced chargebacks (ADR-014) `hyperswitchDisputeId` carries a synthetic `nmi:<caseId>` value. Amount fields are minor units (cents).

- `id` (string, optional)
- `organizationId` (string, optional)
- `hyperswitchDisputeId` (string, optional) — Hyperswitch dispute id, or synthetic `nmi:<caseId>` for NMI chargebacks.
- `hyperswitchPaymentIntentId` (string, optional, nullable)
- `hyperswitchMerchantId` (string, optional, nullable)
- `source` (enum, optional, default: HYPERSWITCH) — Origin of the dispute. NMI = chargeback ingested directly from NMI for a rail Hyperswitch does not model.
  - Allowed values: `HYPERSWITCH`, `NMI`
- `nmiChargebackCaseId` (string, optional, nullable)
- `nmiTransactionId` (string, optional, nullable)
- `reasonCode` (string, optional, nullable)
- `disputeAmount` (integer, optional, nullable) — Minor units (cents).
- `disputeCurrency` (string, optional, nullable)
- `disputeStatus` (string, optional, nullable) — e.g. NEEDS_RESPONSE, UNDER_REVIEW, WON, LOST, ACCEPTED.
- `alertPriority` (string, optional, nullable) — high, medium, low.
- `alertAcknowledgedAt` (datetime, optional, nullable)
- `alertAcknowledgedBy` (string, optional, nullable)
- `emailSentAt` (datetime, optional, nullable)
- `platformNotes` (string, optional, nullable)
- `assignedToUserId` (string, optional, nullable)
- `lastPlatformActionAt` (datetime, optional, nullable)
- `autoAcceptAt` (datetime, optional, nullable)
- `platformPriority` (string, optional, nullable)
- `evidenceStatus` (string, optional, nullable) — Tracks where the evidence workflow stands (e.g. draft, submitted).
- `isDeleted` (boolean, optional, default: false)
- `deletedAt` (datetime, optional, nullable)
- `createdAt` (datetime, optional)
- `updatedAt` (datetime, optional)

## Examples

**Response**

```json
{
  "disputes": [
    {
      "dispute_id": "dp_Qx12sample",
      "payment_id": "pay_Qp7sample123",
      "amount": 2500,
      "currency": "USD",
      "dispute_status": "dispute_opened",
      "connector_reason": "fraudulent",
      "extension": {
        "id": "dext_01",
        "organizationId": "org_acme",
        "hyperswitchDisputeId": "dp_Qx12sample",
        "source": "HYPERSWITCH",
        "disputeStatus": "NEEDS_RESPONSE",
        "alertPriority": "high",
        "platformNotes": "Customer claims non-receipt; tracking shows delivered.",
        "assignedToUserId": "user_42",
        "createdAt": "2026-06-20T18:04:11.000Z",
        "updatedAt": "2026-06-20T18:04:11.000Z"
      }
    },
    {
      "dispute_id": "nmi:cb_88421",
      "amount": 4999,
      "currency": "USD",
      "dispute_status": "NEEDS_RESPONSE",
      "connector_reason": "4853",
      "source": "NMI",
      "created_at": "2026-06-19T09:30:00.000Z",
      "extension": {
        "id": "dext_02",
        "organizationId": "org_acme",
        "hyperswitchDisputeId": "nmi:cb_88421",
        "source": "NMI",
        "nmiChargebackCaseId": "cb_88421",
        "reasonCode": "4853",
        "disputeAmount": 4999,
        "disputeCurrency": "USD",
        "disputeStatus": "NEEDS_RESPONSE"
      }
    }
  ],
  "total": 2,
  "limit": 50,
  "offset": 0
}
```

**SDK Code**

```python Disputes_listDisputes_example
import requests

url = "https://pay.mvscloud.com/api/disputes"

headers = {"x-api-key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Disputes_listDisputes_example
const url = 'https://pay.mvscloud.com/api/disputes';
const options = {method: 'GET', headers: {'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Disputes_listDisputes_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://pay.mvscloud.com/api/disputes"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Disputes_listDisputes_example
require 'uri'
require 'net/http'

url = URI("https://pay.mvscloud.com/api/disputes")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Disputes_listDisputes_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://pay.mvscloud.com/api/disputes")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php Disputes_listDisputes_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://pay.mvscloud.com/api/disputes', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Disputes_listDisputes_example
using RestSharp;

var client = new RestClient("https://pay.mvscloud.com/api/disputes");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Disputes_listDisputes_example
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://pay.mvscloud.com/api/disputes")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```