Retrieve Resolution Center Case Summary
Changed onAggregates the same cases GET /resolution_center_cases lists, using the same filters. Use it to build status tabs and issue filters without paging the whole list.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP 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" ]
The account to summarize cases for (biz_ tag).
Only cases opened by this customer: a user_ tag, or me for the calling user.
Only cases in these statuses.
[ "awaiting_merchant" ]
Only cases opened for these reasons.
[ "fraudulent" ]
Only closed cases that ended these ways.
[ "customer_won" ]
Only count cases created before this ISO 8601 timestamp.
Only count cases created after this ISO 8601 timestamp.
Only count cases about a payment for these products, each prefixed prod_. Repeat the parameter to pass several.
[ "prod_xxxxxxxxxxxxx" ]
Only count cases opened on these payments, each prefixed pay_. Repeat the parameter to pass several.
[ "pay_xxxxxxxxxxxxxx" ]
Only count cases about a payment paid with any of these methods. Repeat the parameter to pass several.
[ "paypal" ]
Only count cases that match this search, as on the list.
Headers
Pins the request to a dated API version.
Response
summary returned
One entry per requested breakdown, keyed by the field it groups on. A field you did not ask for is absent.
How many cases match the filters.
Example response
{
"groups": {
"reason": {
"product_not_received": 1
},
"status": {
"awaiting_merchant": 1
}
},
"total": 1
}Changes
- info
added the enum value
bizumto the propertyitems/of thequeryrequest parameterpayment_methods
- info
- info
added the enum value
credit_not_processedto the propertyitems/of thequeryrequest parameterreason - info
added the required property
groups/reason/credit_not_processedto the response with the status
- info