Skip to main content
PUT
/
v1
/
api
/
superadmin
/
disputes
/
{id}
/
reject
Reject a dispute
curl --request PUT \
  --url http://localhost:3091/v1/api/superadmin/disputes/{id}/reject \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "adminNotes": "<string>"
}
'
{
  "id": 123,
  "bookingId": 123,
  "openedById": 123,
  "reason": "<string>",
  "description": "<string>",
  "status": "<string>",
  "refundAmount": 123,
  "adminNotes": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "resolvedAt": "2023-11-07T05:31:56Z",
  "resolvedById": 123
}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Path Parameters

id
integer<int32>
required

Body

application/json
adminNotes
string

Response

Dispute rejected successfully

id
integer<int32>
bookingId
integer<int32>
openedById
integer<int32>
reason
string
description
string
status
string
refundAmount
number
adminNotes
string
createdAt
string<date-time>
resolvedAt
string<date-time>
resolvedById
integer<int32>