Aller au contenu
Chargement des API keys…

Accept dispute

POST /disputes/{uid}/accept: accept the dispute and refund the customer.

POSThttps://api.wajub.com/disputes/{uid}/accept

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.

POSThttps://api.wajub.com/disputes/{uid}/accept
Requête
curl https://api.wajub.com/disputes/dsp_hrgUOE225KMKULRQqYvlh/accept \
  -H "Authorization: sk.kZ3qP8mWvL2xR7tB5nY4hC6dF9jS1aG0eU3i…"
Réponse · 200 OK
{
"status": "OK",
"code": 200,
"dispute": {
"id": "dsp_hrgUOE225KMKULRQqYvlh",
"status": "lost"
}
}

Que pensez-vous de ce contenu ?