---
title: "Withdraw dispute"
method: PUT
path: "/v3/spend/profiles/{profileId}/disputes/{disputeId}/status"
tags: ["disputes"]
---

# Withdraw dispute

`PUT /v3/spend/profiles/{profileId}/disputes/{disputeId}/status`

Withdraw a dispute by setting its status to `CLOSED`.

You can only withdraw a dispute if `canWithdraw` is `true` on the dispute resource.

## Path parameters

- `profileId` integer, required
- `disputeId` string, required

## Headers

- `X-External-Correlation-Id` string, uuid

## Request body

- object
  - `status` 'CLOSED', required — Must be set to `CLOSED`.

## Response `200`

The updated dispute.

- Dispute
  - `id` string — Unique identifier of the dispute.
  - `transactionId` integer — Card transaction ID.
  - `profileId` integer — Profile ID.
  - `reason` string — Dispute reason code.
  - `status` 'ACTIVE' | 'CLOSED' — Dispute overall status.
  - `subStatus` 'SUBMITTED' | 'IN_REVIEW' | 'REFUNDED' | 'REJECTED' | 'WITHDRAWN' | 'CONFIRMED' | 'REFUND_IN_PROGRESS' | 'ATTEMPTING_RECOVERY' | 'RECOVERY_UNSUCCESSFUL' — Dispute detailed status.
  - `statusMessage` string — Explanation for `subStatus`.
  - `createdAt` string, date-time — Time when the dispute was created.
  - `createdBy` string — Creator of the dispute. Currently set to the user ID.
  - `lastUpdatedAt` string, date-time — Time when the dispute was last updated.
  - `canWithdraw` boolean — Whether the dispute can be withdrawn.

## Other responses

- `429` — Rate limit exceeded. Retry after the number of seconds specified in the `Retry-After` header.

---

[API](https://skmtc.net/wise/apis/platform-api.md) · [All operations](https://skmtc.net/wise/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wise/platform-api/versions/4907a1d269ab/schema)
