Close dispute
POST /disputes/{uid}/close: mark a dispute as resolved.
POST
https://api.wajub.com/disputes/{uid}/closeLive environment required
Dispute endpoints require the sk.… private key and are only available in the live environment.
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.
POST
https://api.wajub.com/disputes/{uid}/closecurl https://api.wajub.com/disputes/dsp_hrgUOE225KMKULRQqYvlh/close \
-H "Authorization: sk.kZ3qP8mWvL2xR7tB5nY4hC6dF9jS1aG0eU3i…"{
"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.