Disputes
A dispute is not a note on an operation: it is a case, a business object of its own. It links one or
several operations and carries its evidence, deadlines, decisions, exchanges with the network and history. The
domain is independent of the network: Visa’s specifics live in an adapter. Module ubo-disputes.
The model
Section titled “The model”| Object | Content |
|---|---|
| Case | Reference (LIT-2026-000123), type, network reason, status, priority, assignee, origin (cardholder, bank), card, account, cardholder, disputed and original amounts, network reference, nearest deadline, outcome (won, lost, split, withdrawn) |
| Case transactions | The operation, its role, the disputed amount, its network status, its identifiers (transaction, ARN, approval code); an operation is in one active case only |
| Evidence | Type (invoice, proof of delivery, exchange, screenshot, ID, consent), encrypted file, fingerprint, version, validation status, sending status |
| Deadline | Type, date, status, action at the deadline (alert, escalation, default action) |
| Decision | Proposed financial decision, amount, proposed by, approved or rejected by, reason |
| History | Statuses, notes, network exchanges, evidence, decisions, financial effects, with actor and correlation |
Statuses
Section titled “Statuses”The statuses and their transitions are declared (spec/disputes/lifecycle.yaml); a missing transition is
refused. When the network moves a case faster than the bank (an acquirer response received during handling),
the case catches up the intermediate steps.
Deadlines
Section titled “Deadlines”Acquirer response expected, pre-arbitration and arbitration windows, the dispute reason’s time limit: taken from the issuer state machine.
Set per bank: first handling within N days, evidence requested from the cardholder within N days, refund of the cardholder before the end of the next business day for an unauthorized operation (PSD2, article 73), decision after a loss.
A job applies the planned action to each missed deadline: alert (banner, event
dispute.deadline_missed), escalation to a manager, or default action (close as “withdrawn” a case
without evidence after a reminder).
Financial decisions
Section titled “Financial decisions”| Decision | Effect on the cardholder | Accounting effect |
|---|---|---|
| Provisional credit | Credited during the case | Disputes, advances to cardholders → cardholder accounts |
| Rebill | The credit is taken back (case lost, withdrawn) | Cardholder accounts → disputes |
| Write-off | Nothing is taken back | Dispute losses |
- A decision is proposed, then executed at once below the bank’s threshold, or approved by another person above it (the same person is refused).
- Approved, it produces once only its network message, account movement and entries; the advances account returns to zero whatever the case’s path.
The network adapter
Section titled “The network adapter”Dispute service ──► network interface ──► Visa adapter ──► issuer state machine- The interface: raise the dispute, send the evidence, answer the pre-arbitration, file for arbitration, withdraw, sync the status.
- At Visa a dispute concerns one operation: a case of several operations raises one dispute per operation and follows each.
- The steps coming from the network (acquirer response, arbitration decision, elapsed time limits) arrive through the issuer state machine; a job reads them in the event journal and moves the cases on.
Evidence
Section titled “Evidence”Stored encrypted (AES-256-GCM, HSM key), with its fingerprint in clear; immutable (a correction creates a version); validated (compliant, or refused with a reason) before being sent to the network; reading and downloading kept for the dispute rights and logged.

