Skip to content
Loading keys…

Accept dispute

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

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

Private key required

Dispute endpoints take a private (sk.…) or restricted key, in live and in sandbox. A public key gets a 406.

Accepting concedes the dispute without contest. The dispute moves to lost, and Wajub refunds the disputed amount, up to what is still refundable on the payment. If that refund cannot be created, the call fails and the dispute stays as it was. Three cases create no refund and still end the dispute lost: a chargeback (the payer's bank has already returned the money), a payment already refunded in full, and a dispute in another currency than its payment. The dispute has to be open or under_review, otherwise the call answers 422.

merchant_responsestringoptional
Up to 2 000 characters, stored on the dispute.

The response is the dispute, now lost. dispute.lost and dispute.closed follow by webhook.

POSThttps://api.wajub.com/disputes/{id}/accept
Request
curl https://api.wajub.com/disputes/dsp_hrgUOE225KMKULRQqYvl/accept \
  -H "Authorization: sk.xxxxxxxxxxxxxxxx…" \
  -H "Content-Type: application/json" \
  -d '{ "merchant_response": "Order never shipped, refunding." }'
Response · 200 OK
{
"code": 200,
"status": "OK",
"message": "Dispute accepted",
"dispute": {
"id": "dsp_hrgUOE225KMKULRQqYvl",
"status": "lost",
"merchant_response": "Order never shipped, refunding.",
"resolved_at": "2026-07-16T11:04:52+00:00"
}
}

What did you think of this content?