Aller au contenu
Chargement des API keys…

Close dispute

POST /disputes/{uid}/close: mark a dispute as resolved.

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

Closes a dispute after the provider's decision is known. Use this once you've received a resolution outside of the automatic won/lost transition (e.g. the provider notifies you directly), or to close a dispute that's no longer actionable.

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

Listen for the outcome

Subscribe to dispute.won, dispute.lost, and dispute.closed webhooks rather than polling, see the event catalog.

Que pensez-vous de ce contenu ?