Disputes and evidence
How a dispute runs from opening to on-chain settlement, which evidence counts, how to upload it, appeals and the 30-day on-chain deadline.
A buyer can open a dispute during the protection window, from the buyer portal or directly on the contract. The funds stay locked until a verdict is executed or the on-chain deadline passes.
Lifecycle
- Opened. You receive
dispute.opened. The contract records a dispute deadline 30 days ahead. - Evidence. Both parties have 5 business days to upload evidence (10 minutes for the
.03flow in Test Mode). - Review. Objective rules decide simple cases (for example, a redeemed delivery token). Documentary cases are analysed by a model running in the EU on the masked evidence. A human reviews every appeal and, in Live Mode, every dispute from 50.00.
- Proposed verdict. You receive
dispute.verdict_proposedwithproposed_refund_bps(0 to 10000) and a summary. In Live Mode either party can appeal for 24 hours. - Signed verdict. You receive
dispute.verdict_signedwith theverdictobject. Either party submits it withclaimWithVerdict; the buyer portal does it for the buyer. Arbiro never sends the transaction. - Resolved. You receive
dispute.resolvedwith the settlement transaction.
If no verdict is executed before the on-chain deadline, anyone can call timeoutRefund and the buyer gets the full amount back. That is the guarantee that Arbiro cannot hold funds hostage.
What counts as evidence
| Accepted | Not accepted |
|---|---|
| A redeemed delivery token (automatic) | Screenshots |
| PDF documents: contracts, delivery notes, signed acceptance | Statements without documents |
Original emails as .eml, with DKIM verified against the sender domain |
Forwarded emails pasted as text |
| A ZIP with the delivered files | Subjective complaints about taste |
Files go straight to encrypted storage in the EU, up to 50 MiB each. Personal data is masked before any automated analysis.
Upload evidence
The upload is declared first (name, type, size and SHA-256); the presigned URL only accepts exactly those bytes.
import { readFile } from "node:fs/promises";
const data = new Uint8Array(await readFile("delivery-note.pdf"));
const item = await arbiro.disputes.uploadEvidence("dp_...", {
name: "delivery-note.pdf",
contentType: "application/pdf",
data,
});
console.log(item.status); // processing, then accepted or rejected
import hashlib
import os
import httpx
path = "delivery-note.pdf"
data = open(path, "rb").read()
headers = {"Authorization": f"Bearer {os.environ['ARBIRO_API_KEY']}"}
upload = httpx.post(
"https://arbiro.com/v1/disputes/dp_.../evidence",
headers=headers,
json={
"file_name": path,
"content_type": "application/pdf",
"size_bytes": len(data),
"sha256": hashlib.sha256(data).hexdigest(),
},
).json()
httpx.put(upload["upload_url"], content=data, headers=upload["required_headers"]).raise_for_status()
httpx.post(
f"https://arbiro.com/v1/disputes/dp_.../evidence/{upload['evidence_id']}/complete", headers=headers
).raise_for_status()
Appeal
await arbiro.disputes.appeal("dp_...", "The signed acceptance in delivery-note.pdf covers every item in the scope.");
curl https://arbiro.com/v1/disputes/dp_.../appeal \
-H "Authorization: Bearer $ARBIRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"reason":"The signed acceptance in delivery-note.pdf covers every item in the scope."}'
An appeal sends the case to a human reviewer, who can confirm or change the verdict. The rules are published in the arbitration rules.
Refund without a dispute
You can refund a payment yourself at any time before it settles, fully or partly, by calling refundByMerchant from your registered owner wallet (the emergency portal has a full refund button). The rest is released to you at once.
Updated