Accept dispute
POST /disputes/{uid}/accept: accept the dispute and refund the customer.
POST
https://api.wajub.com/disputes/{uid}/acceptLive environment required
Dispute endpoints require the sk.… private key and are only available in the live environment.
Accepting a dispute concedes it without contest and triggers a full refund of the underlying
payment, equivalent to calling Create a refund for the disputed
payment, plus closing the dispute as lost.
POST
https://api.wajub.com/disputes/{uid}/acceptcurl https://api.wajub.com/disputes/dsp_hrgUOE225KMKULRQqYvlh/accept \
-H "Authorization: sk.kZ3qP8mWvL2xR7tB5nY4hC6dF9jS1aG0eU3i…"{
"status": "OK",
"code": 200,
"dispute": {
"id": "dsp_hrgUOE225KMKULRQqYvlh",
"status": "lost"
}
}
Irreversible
Accepting a dispute cannot be undone. If you believe the charge is legitimate, submit evidence instead. See Submit evidence.