Aller au contenu
Chargement des API 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}
Requête
curl https://api.wajub.com/disputes/dsp_hrgUOE225KMKULRQqYvl \
  -H "Authorization: sk.xxxxxxxxxxxxxxxx…"
Réponse · 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": [
]
}
}
idstringfacultatif
Unique dispute identifier: dsp_ followed by 20 characters, dsp_test_ in sandbox.
transactionstringfacultatif
The disputed payment id.
customerstring?facultatif
The customer id.
amountnumberfacultatif
The disputed amount, in the major unit of the currency. It can be less than the payment.
statusenumfacultatif
open, under_review, resolved, won or lost.
reasonstringfacultatif
Reason given by the customer or the provider.
merchant_responsestring?facultatif
Your response, set when you accept or close the dispute.
evidenceobjectfacultatif
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_providerbooleanfacultatif
false when the evidence is only recorded at Wajub and not forwarded to the provider. No provider receives it yet.
due_datedatetime?facultatif
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.
resolved_atdatetime?facultatif
When the dispute was won, lost or resolved.
messagesarrayfacultatif
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.

Que pensez-vous de ce contenu ?