Retrieve Dispute Summary
Changed onTotals up the same disputes the list returns, so you can build status tabs and totals without paging through them.
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/disputes/summary
- Auth: HTTP bearer
Query parameters
Which breakdowns to return, keyed by these names under groups. Repeat the parameter to ask for several; omit it for all of them.
[ "status" ]
Only disputes filed against this account (biz_ tag). Omit it to cover every account you can read.
Only disputes in these statuses. Repeat the parameter to pass several. A needs_response dispute whose evidence deadline has passed reports and filters as under_review instead.
[ "needs_response" ]
Only disputes in this three-letter ISO currency.
Only disputes opened before this ISO 8601 timestamp.
Only disputes opened after this ISO 8601 timestamp.
Headers
Pins the request to a dated API version.
Response
summary returned
Example response
{
"groups": {
"currency": {
"usd": 1
},
"status": {
"needs_response": 1
}
},
"total": 1
}Changes
- breaking
removed the enum value
closedfrom the propertyitems/of thequeryrequest parameterstatus - breaking
removed the required property
//from the response with the status - info
added the enum value
preventedto the propertyitems/of thequeryrequest parameterstatus - info
added the required property
//to the response with the status
- breaking
- info
added the enum value
warning_closedto the propertyitems/of thequeryrequest parameterstatus - info
added the enum value
warning_needs_responseto the propertyitems/of thequeryrequest parameterstatus - info
added the enum value
warning_under_reviewto the propertyitems/of thequeryrequest parameterstatus - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- info