Disputes

Get Dispute Stats

Changed on

Open disputes, money at risk and outcomes over the last 90 days. Available on every plan.

get/v1/shops/{shopId}/disputes/stats

Request

Response

window_daysinteger
open_countinteger
needs_response_countinteger
due_soon_countinteger
at_risk_usdnumber
won_countinteger
lost_countinteger
win_ratestring nullable
lost_usdinteger
lost_fees_usdinteger
lost_without_response_countinteger
warning_countinteger

Example response

{
  "window_days": 90,
  "open_count": 1,
  "needs_response_count": 1,
  "due_soon_count": 1,
  "at_risk_usd": 14.99,
  "won_count": 0,
  "lost_count": 0,
  "win_rate": null,
  "lost_usd": 0,
  "lost_fees_usd": 0,
  "lost_without_response_count": 0,
  "dispute_rate": {
    "rate": 100,
    "orders": 1,
    "disputes": 1,
    "gateways": [
      {
        "gateway": "STRIPE",
        "orders": 1,
        "disputes": 1,
        "rate": 100
      }
    ]
  },
  "warning_count": 0
}

Changes