balanced / balanced-api

Balanced API specification.
221 stars 72 forks source link

Return disputes and dispute counts in the search results #647

Open kyungmin opened 10 years ago

kyungmin commented 10 years ago

screenshot 2014-06-11 18 05 18

Searching by dispute ID doesn't return the dispute item in the search results. API should return disputes along with dispute counts in the search results.

{
...
    "counts": {
      ...
      "order": 0,
      "bank_account": 0,
      "dispute": 0,  //  add this field
    },
    "total": 0,
}
kyungmin commented 9 years ago

We need to count total disputes that "need attention", not "submitted".