Disputes
The chargebacks from your payment processor that Disputely is fighting.
A dispute is a formal chargeback (or pre-chargeback inquiry) opened at your payment processor — Shopify Payments or Stripe. Disputely ingests them, builds the evidence package and submits the response. This endpoint lets you see every dispute we know about, what the processor says, and what we're doing with it.
Read-only. Disputes appear for accounts with dispute response (representment) turned on; other accounts get an empty list.
Alerts vs disputes
An alert is a warning before a chargeback — you can still refund and make it go away. A dispute is the chargeback itself, already open at your processor, and the fight is on.
List disputes
GET /v1/disputesRequires alerts:read. Returns your disputes, newest first by initiatedAt.
curl "https://api.disputely.com/v1/disputes?limit=20" \
-H "Authorization: Bearer dspm_live_YOUR_KEY"| Query param | Values |
|---|---|
status | Disputely status: needs_response, submitted, merchant_submitted, won, lost, auto_resolved, expired |
processor | shopify or stripe |
initiatedSince | RFC 3339 — disputes opened at or after this time |
initiatedBefore | RFC 3339 — disputes opened before this time |
limit | 1–100, default 50 |
cursor | next_cursor from the previous page — see Pagination |
Get a dispute
GET /v1/disputes/{disputeId}Returns 404 dispute_not_found if the id doesn't exist or isn't yours.
The dispute object
{
"id": "XVODDHmkV0pQ2bL9s7Rt",
"accountId": "acct_2ZK8Q1M4",
"processorDisputeId": "gid://shopify/ShopifyPaymentsDispute/41285",
"source": { "processor": "shopify", "gateway": "Shopify Payments" },
"type": "chargeback",
"status": "needs_response",
"statusRaw": "NEEDS_RESPONSE",
"disputelyStatus": "submitted",
"outcome": null,
"rdr": { "flagged": false, "caseId": null, "outcome": null, "source": null },
"amount": 89.0,
"currency": "USD",
"reason": "Fraudulent",
"reasonCode": "10.4",
"card": { "brand": "visa", "lastFour": "4242" },
"order": {
"number": "#1042",
"date": "2026-09-28T14:11:02Z",
"amount": 89.0,
"currency": "USD"
},
"customer": { "name": "Jane Doe", "email": "jane@example.com" },
"initiatedAt": "2026-10-13T04:16:29Z",
"evidenceDueBy": "2026-10-20T04:16:29Z",
"submittedAt": "2026-10-14T09:02:51Z",
"outcomeAt": null,
"createdAt": "2026-10-13T06:08:23Z",
"updatedAt": "2026-10-14T09:02:51Z"
}Two statuses
Every dispute carries two statuses. They answer different questions.
| Field | Whose view | Values |
|---|---|---|
status | Your payment processor | needs_response, under_review, won, lost, charge_refunded, accepted, inquiry_needs_response, inquiry_under_review, inquiry_closed |
disputelyStatus | Disputely | needs_response (ingested, building evidence), submitted (we responded), merchant_submitted (you responded yourself), won, lost, auto_resolved (closed before we could respond), expired (deadline passed) |
status is normalised across Shopify and Stripe so you can switch on it; the
processor's literal value is always in statusRaw. outcome is won /
lost once the processor has decided, otherwise null.
RDR-flagged disputes
Visa's Rapid Dispute Resolution auto-refunds the cardholder and the processor
records it as a dispute that was immediately "lost" — but nothing was fought.
rdr.flagged: true marks those so they don't skew your win rate.
rdr.source | How we know |
|---|---|
verifi | Matched to a Visa RDR case notice for your account (card, amount and date line up). rdr.caseId and rdr.outcome are the case's. |
inferred | No case notice, but the processor marked it lost within 15 days of opening — real disputes take 60–120 days. |
null | Not an RDR. |
Fields you'll actually use
| Field | Meaning |
|---|---|
type | chargeback or inquiry (a pre-chargeback retrieval request). |
source.processor | shopify or stripe. source.gateway is the processor's own label. |
processorDisputeId | The id in your processor dashboard. |
reason / reasonCode | The processor's reason and the card-network reason code. |
card.brand | Lower-cased network: visa, mastercard, amex, ... |
evidenceDueBy | Processor deadline for the response. |
submittedAt | When the response went in (null if not yet). |
MCP
The same data is available to AI assistants through the
MCP server as list_disputes and get_dispute.