Skip to content
Loading keys…

Retrieve a dispute

GET /disputes/{id}: fetch a single dispute by id, with its message thread.

GEThttps://api.wajub.com/disputes/{id}

Private key required

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

The response carries the dispute and its messages thread. A field with no value is left out.

GEThttps://api.wajub.com/disputes/{id}
Request
curl https://api.wajub.com/disputes/dsp_hrgUOE225KMKULRQqYvl \
  -H "Authorization: sk.xxxxxxxxxxxxxxxx…"
Response · 200 OK
{
"code": 200,
"status": "OK",
"message": "Dispute retrieved",
"dispute": {
"id": "dsp_hrgUOE225KMKULRQqYvl",
"transaction": "trx_CSUGajfv9xh0XQ5wu2lx",
"customer": "cus_Qe7Tb2Wn5Lr9Xc4Mv8Hk1Zs3",
"amount": 5000,
"currency": "XAF",
"status": "open",
"reason": "fraudulent",
"evidence": [
],
"evidence_details": [
],
"metadata": [
],
"sandbox": false,
"due_date": "2026-07-22T10:21:08+00:00",
"evidence_reaches_provider": false,
"created_at": "2026-07-15T10:21:08+00:00",
"updated_at": "2026-07-15T10:21:08+00:00",
"messages": [
]
}
}
idstringoptional
Unique dispute identifier: dsp_ followed by 20 characters, dsp_test_ in sandbox.
transactionstringoptional
The disputed payment id.
customerstring?optional
The customer id.
amountnumberoptional
The disputed amount, in the major unit of the currency. It can be less than the payment.
statusenumoptional
open, under_review, resolved, won or lost.
reasonstringoptional
Reason given by the customer or the provider.
merchant_responsestring?optional
Your response, set when you accept or close the dispute.
evidenceobjectoptional
The evidence you submitted, keyed by evidence_type. A piece with a file carries file_path, file_name, uploaded_at and url, a signed link to the private file, valid 30 minutes.
evidence_reaches_providerbooleanoptional
false when the evidence is only recorded at Wajub and not forwarded to the provider. No provider receives it yet.
due_datedatetime?optional
Deadline to answer by: the provider's on a chargeback when it sends one, seven days after the opening otherwise, a dispute opened from Pocket included. Wajub does not refuse evidence sent after it.
resolved_atdatetime?optional
When the dispute was won, lost or resolved.
messagesarrayoptional
The thread: id, sender_type, sender_id, content, attachments, created_at. Each attachment carries a url, a signed link valid 30 minutes. A webhook carries the same dispute without these links.

What did you think of this content?