Skip to main content
GET
/
resolution_center_cases
/
{id}
JavaScript
import Whop from '@whop/sdk';

const client = new Whop({
  apiKey: process.env['WHOP_API_KEY'], // This is the default and can be omitted
});

const resolutionCenterCase = await client.resolutionCenterCases.retrieve('reso_xxxxxxxxxxxxx');

console.log(resolutionCenterCase.id);
{
  "id": "reso_xxxxxxxxxxxxx",
  "status": "merchant_response_needed",
  "issue": "forgot_to_cancel",
  "created_at": "2023-12-01T05:00:00.401Z",
  "updated_at": "2023-12-01T05:00:00.401Z",
  "due_date": "2023-12-01T05:00:00.401Z",
  "customer_appealed": true,
  "merchant_appealed": true,
  "customer_response_actions": [
    "respond"
  ],
  "merchant_response_actions": [
    "accept"
  ],
  "company": {
    "id": "biz_xxxxxxxxxxxxxx",
    "title": "Pickaxe"
  },
  "user": {
    "id": "user_xxxxxxxxxxxxx",
    "name": "John Doe",
    "username": "johndoe42"
  },
  "platform_response_actions": [
    "request_buyer_info"
  ],
  "payment": {
    "id": "pay_xxxxxxxxxxxxxx",
    "currency": "usd",
    "created_at": "2023-12-01T05:00:00.401Z",
    "paid_at": "2023-12-01T05:00:00.401Z",
    "total": 6.9,
    "subtotal": 6.9
  },
  "member": {
    "id": "<string>"
  },
  "resolution_events": [
    {
      "id": "revt_xxxxxxxxxxxxx",
      "action": "created",
      "reporter_type": "merchant",
      "details": "I did not authorize this purchase.",
      "created_at": "2023-12-01T05:00:00.401Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

A company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************

Path Parameters

id
string
required

The unique identifier of the resolution center case.

Example:

"reso_xxxxxxxxxxxxx"

Response

A successful response

A resolution center case is a dispute or support case between a user and a company, tracking the issue, status, and outcome.

id
string
required

The unique identifier for the resolution.

Example:

"reso_xxxxxxxxxxxxx"

status
enum<string>
required

The current status of the resolution case, indicating which party needs to respond or if the case is closed.

Available options:
merchant_response_needed,
customer_response_needed,
merchant_info_needed,
customer_info_needed,
under_platform_review,
customer_won,
merchant_won,
customer_withdrew
issue
enum<string>
required

The category of the dispute.

Available options:
forgot_to_cancel,
item_not_received,
significantly_not_as_described,
unauthorized_transaction,
product_unacceptable
created_at
string<date-time>
required

The datetime the resolution was created.

Example:

"2023-12-01T05:00:00.401Z"

updated_at
string<date-time>
required

The datetime the resolution was last updated.

Example:

"2023-12-01T05:00:00.401Z"

due_date
string<date-time> | null
required

The deadline by which the next response is required. Null if no deadline is currently active. As a Unix timestamp.

Example:

"2023-12-01T05:00:00.401Z"

customer_appealed
boolean
required

Whether the customer has filed an appeal after the initial resolution decision.

merchant_appealed
boolean
required

Whether the merchant has filed an appeal after the initial resolution decision.

customer_response_actions
enum<string>[]
required

The list of actions currently available to the customer.

The types of responses a customer can make to a resolution.

Available options:
respond,
appeal,
withdraw
merchant_response_actions
enum<string>[]
required

The list of actions currently available to the merchant.

The types of responses a merchant can make to a resolution.

Available options:
accept,
deny,
request_more_info,
appeal,
respond
company
object
required

The company involved in this resolution case. Null if the company no longer exists.

user
object
required

The customer (buyer) who filed this resolution case.

platform_response_actions
enum<string>[]
required

The list of actions currently available to the Whop platform for moderating this resolution.

The types of responses the platform can make to a resolution.

Available options:
request_buyer_info,
request_merchant_info,
merchant_wins,
platform_refund,
merchant_refund
payment
object
required

The payment record that is the subject of this resolution case.

member
object
required

The membership record associated with the disputed payment. Null if the membership no longer exists.

resolution_events
object[]
required

The most recent 50 messages, actions, and status changes that have occurred during this resolution case.