v5
latestOpenAPI 3.1.02026-07-262421791.5 MBdisputes
Withdraw dispute
Withdraw a dispute by setting its status to CLOSED.
You can only withdraw a dispute if canWithdraw is true on the dispute resource.
put/v3/spend/profiles/{profileId}/disputes/{disputeId}/status
Path parameters
profileIdinteger required
Your profile ID.
disputeIdstring required
The dispute ID.
Headers
X-External-Correlation-Idstring uuid
Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.
Request body
Example request
{
"status": "CLOSED"
}Response
The updated dispute.
Example response
{
"id": "b4eae16c-b3a9-4327-b0bd-6a2ad430d803",
"transactionId": 476873,
"profileId": 14547572,
"reason": "WRONG_AMOUNT",
"status": "CLOSED",
"subStatus": "WITHDRAWN",
"statusMessage": "Withdrawn",
"createdAt": "2024-03-18T03:47:52.493Z",
"createdBy": "9867661",
"lastUpdatedAt": "2024-03-27T02:30:27.374Z"
}