cURL
curl --request PUT \ --url http://localhost:3091/v1/api/superadmin/disputes/{id}/resolve \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "<string>", "refundAmount": 123, "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 }
Resolves a dispute with status, optional refund, and admin notes
JWT access token from POST /v1/api/auth/login
Dispute resolved successfully