---
search:
  tags:
    - disputes
    - PUT
seo:
  description: >-
    Reference for the PUT /v1/disputes/{disputeId} endpoint in the Vortex
    Payments API.
sidebar:
  label: PUT /v1/disputes/{disputeId}
  badge: PUT
title: PUT /v1/disputes/{disputeId}
type: openapi-operation
---
`PUT /v1/disputes/{disputeId}`

**curl**

```bash
curl "https://api.vortex.nyc/v1/disputes/:disputeId" \
  -X PUT \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
```

**TypeScript**

```ts
import { saveDispute, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await saveDispute({
  client: vortex,
  path: { disputeId: "..." },
  body: {...},
});
```

**Request body** (`application/json`, required)

- `id` (string, required)
- `canonicalStatus` (string | null)
- `environment` (string, required)
- `merchantAccountId` (string, required)
- `paymentId` (string, required)
- `stage` (string, required)
- `responseState` (string, required)
- `openedAt` (string, required)
- `createdAt` (string, required)
- `updatedAt` (string, required)
- `processorRefs` (object[], required)
- `amount` (number | null)
- `currency` (string | null)
- `network` (string | null)
- `reasonCode` (string | null)
- `deadlineAt` (string | null)
- `evidenceStatus` (string | null)
- `providerState` (string | null)
- `providerResponseState` (string | null)
- `closedAt` (string | null)
- `terminalSessionId` (string | null)
- `terminalReaderId` (string | null)

Request body example:

```json
{
  "id": "string",
  "canonicalStatus": "opened",
  "environment": "sandbox",
  "merchantAccountId": "string",
  "paymentId": "string",
  "stage": "inquiry",
  "responseState": "needs_response",
  "openedAt": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "processorRefs": [
    {
      "provider": "string",
      "objectType": "string",
      "objectId": "string",
      "relationship": "string",
      "recordedAt": "string"
    }
  ],
  "amount": 0,
  "currency": "string",
  "network": "string",
  "reasonCode": "string",
  "deadlineAt": "string",
  "evidenceStatus": "string",
  "providerState": "string",
  "providerResponseState": "string",
  "closedAt": "string",
  "terminalSessionId": "string",
  "terminalReaderId": "string"
}
```

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "id": "string",
    "environment": "sandbox"
  },
  "requestId": "string"
}
```
