Skip to main content
GET
/
v1
/
api
/
disputes
/
{id}
Get dispute by ID
curl --request GET \
  --url http://localhost:3091/v1/api/disputes/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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

Response

Dispute retrieved 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>