Skip to content

Track disputes

Read your disputes and follow them through their webhooks.

Reading disputes

Retrieving one returns it with its transaction, its customer and its full message thread.

GEThttps://api.wajub.com/disputes/{id}
GEThttps://api.wajub.com/disputes
Query parameterAccepts
per_page1 to 100, defaults to 25
statusopen, under_review, won, lost
searchFree text over the dispute id, reason and description
date_from, date_toDates, date_to no earlier than date_from
cursorSwitches to cursor pagination

Beyond the obvious fields, a dispute carries description from the payer, your merchant_response, the evidence you filed, resolved_at once it is decided, and metadata.

On a chargeback, metadata.source is provider_webhook. Once the provider decides it, metadata.decided_by is provider and metadata.provider_stage names the provider's stage that decided it. A chargeback you won that the provider reopens goes back to open, with resolved_at cleared and metadata.reopened_at set. The rules are on Disputes.

How due_date is set

Every dispute carries due_date, the deadline to answer by. On a dispute opened from Pocket, it is seven days after the opening. On a provider chargeback, it is the provider's deadline when it sends one, seven days after the opening otherwise. Past its deadline, a Pocket dispute stays open until Wajub decides it.

Webhooks

Seven events, and the ones worth acting on are the outcomes, plus the reminder.

EventFires when
dispute.createdA dispute was opened, by a payer or from a chargeback. Read it and decide how to answer
dispute.updatedAny field changed, including every status change, and a won chargeback reopening (status: open)
dispute.wonResolved in your favour, nothing leaves your balance. On a chargeback, the provider can still decide otherwise later
dispute.lostResolved against you, the amount is debited. On a chargeback, it can follow a dispute.won
dispute.closedSent together with dispute.lost. A won dispute does not send it
dispute.deadline_approachingThe deadline is two days away and the dispute is still open or under_review. Sent once, with metadata.reminded_at set, and again after a chargeback reopens; answer it now
dispute.deletedThe dispute record was removed

dispute.deadline_approaching is sent in live and in sandbox, for every dispute with a due_date: Pocket disputes and chargebacks alike. Writing metadata.reminded_at on the dispute also sends a dispute.updated beside it.

A won chargeback can come back

The payer's bank can rule against you at a later stage of a chargeback you won, or take the funds again: the dispute then goes to lost, or back to open, and sends its webhooks as any other change. Wajub debits a loss once per dispute, so keep acting on dispute.lost alone, even when a dispute.won came before it.

dispute.createdevent
A payer has opened a dispute on one of your payments.
Payload
{
"id": "evt_Qp7Tz3Wk5Yb1NdLm2Xc94Rf8",
"event": "dispute.created",
"created": "2026-09-11T12:00:00+00:00",
"livemode": true,
"data": {
"id": "dsp_hrgUOE225KMKULRQqYvlh",
"transaction": "trx_CSUGajfv9xh0XQ5wu2lx",
"customer": "cus_sAaim5apjocIgtlhzJY3wQ8s",
"amount": 25000,
"currency": "XAF",
"status": "open",
"reason": "product_not_received",
"description": "Ordered on 2 Sept, nothing delivered."
}
}

Deduplicate on the event id, as everywhere else. Registration and signature verification are in Webhooks.

What did you think of this content?