DisputelyDocs

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/disputes

Requires 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 paramValues
statusDisputely status: needs_response, submitted, merchant_submitted, won, lost, auto_resolved, expired
processorshopify or stripe
initiatedSinceRFC 3339 — disputes opened at or after this time
initiatedBeforeRFC 3339 — disputes opened before this time
limit1–100, default 50
cursornext_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.

FieldWhose viewValues
statusYour payment processorneeds_response, under_review, won, lost, charge_refunded, accepted, inquiry_needs_response, inquiry_under_review, inquiry_closed
disputelyStatusDisputelyneeds_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.sourceHow we know
verifiMatched to a Visa RDR case notice for your account (card, amount and date line up). rdr.caseId and rdr.outcome are the case's.
inferredNo case notice, but the processor marked it lost within 15 days of opening — real disputes take 60–120 days.
nullNot an RDR.

Fields you'll actually use

FieldMeaning
typechargeback or inquiry (a pre-chargeback retrieval request).
source.processorshopify or stripe. source.gateway is the processor's own label.
processorDisputeIdThe id in your processor dashboard.
reason / reasonCodeThe processor's reason and the card-network reason code.
card.brandLower-cased network: visa, mastercard, amex, ...
evidenceDueByProcessor deadline for the response.
submittedAtWhen 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.

On this page