Disputes

Lists the disputes across the accounts you can read.

get/disputes

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Query parameters

account_id, string

Only disputes filed against this account (biz_ tag). Omit it to cover every account you can read.

first, integer

Number of results to return from the start of the range.

after, string

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

last, integer

Number of results to return from the end of the range.

before, string

Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

order, 'created_at' | 'amount' | 'evidence_due_at'

The field to sort disputes by.

direction, 'asc' | 'desc'

Sort direction.

status, string[]

Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Inquiries match only the warning_ statuses. A needs_response dispute whose evidence deadline has passed reports and filters as under_review instead.

[
  "needs_response"
]
currency, string

Only disputes in this three-letter ISO currency.

created_before, string

Only disputes opened before this ISO 8601 timestamp.

created_after, string

Only disputes opened after this ISO 8601 timestamp.

query, string

Search disputes by dispute ID, payment ID, user ID, membership ID, user email, name, or username. Email filtering requires the member:email:read permission.

include_subaccounts, boolean

Also cover the account's subaccounts. Requires account_id, and is a 400 without it. Without query, covers the disputes of the account and every subaccount, in any order. The listing is cut off after 10 seconds; add a query to narrow it. With query, matches on dispute, payment, user or membership ID, buyer email, or a card's first 6 or 8 digits and last 4 separated by a space or dash (424242 4242); free-text queries such as a name search only the named account. Subaccounts' disputes are returned only for subaccounts you can read disputes on.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

disputes listed

object required
data, Dispute[] required
page_info, object required

Example response

{
  "data": [
    {
      "acceptable": true,
      "account_id": "biz_xxxxxxxxxxxxxx",
      "amount": 150,
      "buyer": {
        "email": "marcus@shinetime.example",
        "member_id": "mber_xxxxxxxxxxxxxx",
        "name": "Dana Whitfield",
        "user_id": "user_xxxxxxxxxxxxxx",
        "username": "danawhitfield"
      },
      "created_at": "2026-01-01T12:00:00.000Z",
      "currency": "usd",
      "evidence": {
        "access_activity_log": "Vehicle checked in 2026-01-04 09:02, released 2026-01-05 16:40. Signed release on file.",
        "billing_address": "4180 Burnet Rd, Austin, TX 78756, US",
        "cancellation_policy_attachment": {
          "content_type": "image/png",
          "filename": "booking-confirmation-email.png",
          "id": "file_xxxxxxxxxxxxxx",
          "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
        },
        "cancellation_policy_disclosure": "Shown at checkout and again in the booking confirmation email.",
        "customer_communication_attachment": {
          "content_type": "image/png",
          "filename": "booking-confirmation-email.png",
          "id": "file_xxxxxxxxxxxxxx",
          "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
        },
        "customer_email_address": "marcus@shinetime.example",
        "customer_name": "Dana Whitfield",
        "documents": [
          {
            "blurhash": "LA6bDXT$E3b:R6i+RibEIWbp%ej1",
            "content_type": "image/png",
            "created_at": "2026-01-01T12:00:00.000Z",
            "document_type": "customer_order_history",
            "filename": "customer-order-history.png",
            "height": 100,
            "id": "file_xxxxxxxxxxxxxx",
            "multipart_upload_urls": [
              {
                "part_number": 1,
                "url": "https://whop-assets-example.s3.amazonaws.com/uploads/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/application.pdf"
              }
            ],
            "object": "file",
            "size": 1024,
            "upload_status": "ready",
            "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
            "visibility": "public",
            "width": 100
          }
        ],
        "notes": "Two-day ceramic coating completed and collected. Before and after photos attached.",
        "product_description": "Two-stage paint correction with a three-year ceramic coating.",
        "refund_policy_attachment": {
          "content_type": "image/png",
          "filename": "booking-confirmation-email.png",
          "id": "file_xxxxxxxxxxxxxx",
          "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
        },
        "refund_policy_disclosure": "Linked from the booking page and accepted at checkout.",
        "refund_refusal_explanation": "Work was completed and the vehicle collected, so the deposit is non-refundable.",
        "service_date": "2026-01-01",
        "uncategorized_attachment": {
          "content_type": "image/png",
          "filename": "booking-confirmation-email.png",
          "id": "file_xxxxxxxxxxxxxx",
          "url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
        }
      },
      "evidence_due_at": "2026-01-01T12:00:00.000Z",
      "evidence_editable": true,
      "evidence_locked_reason": "submitted",
      "fee": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "fee_charged": true,
      "id": "dspt_xxxxxxxxxxxxxx",
      "issuer_comments": [
        {
          "received_at": "2026-01-01T12:00:00.000Z",
          "text": "Note: Cardholder states the ceramic coating appointment never took place\nCancellation method: By phone"
        }
      ],
      "line_items": [
        {
          "discount_amount": {
            "amount": "-1234.56",
            "currency": "usd",
            "decimals": 2,
            "display_decimals": 2
          },
          "id": "li_xxxxxxxxxxxxxx",
          "label": "Credit card surcharge",
          "product_id": "prod_xxxxxxxxxxxxxx",
          "product_title": "Credit card surcharge",
          "quantity": 1,
          "subtotal": {
            "amount": "-1234.56",
            "currency": "usd",
            "decimals": 2,
            "display_decimals": 2
          },
          "variant_id": "plan_xxxxxxxxxxxxxx",
          "variant_title": "Credit card surcharge"
        }
      ],
      "payment": {
        "amount": 249,
        "card_brand": "visa",
        "card_last4": "4242",
        "created_at": "2026-01-01T12:00:00.000Z",
        "currency": "usd",
        "id": "pay_xxxxxxxxxxxxxx",
        "payment_instrument": {
          "card": {
            "brand": "visa",
            "exp_month": 10,
            "exp_year": 2031,
            "issuer_identification_number": "41111111",
            "last4": "4242",
            "network_transaction_id": "016153570198200"
          },
          "crypto": {
            "token": "eyJhbGciOiJFUzI1NiJ9.xxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxx"
          },
          "display_name": "Visa •••• 4242",
          "icons": {
            "card": {
              "dark": {
                "png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
                "png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
                "png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
                "svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
              },
              "light": {
                "png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
                "png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
                "png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
                "svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
              }
            },
            "square": {
              "dark": {
                "png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
                "png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
                "png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
                "svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
              },
              "light": {
                "png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
                "png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
                "png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
                "svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
              }
            }
          },
          "payment_method_type": "card"
        },
        "payment_method_type": "card"
      },
      "product_id": "prod_xxxxxxxxxxxxxx",
      "reason": "other",
      "reason_code": "13.1",
      "status": "needs_response",
      "updated_at": "2026-01-01T12:00:00.000Z",
      "variant_id": "plan_xxxxxxxxxxxxxx"
    }
  ],
  "page_info": {
    "start_cursor": "WyJjdXJzb3IiLDFd"
  }
}

Changes

    • info

      added the required property data/items/payment/payment_instrument/oneOf[#/components/schemas/PaymentInstrument]/crypto/oneOf[#/components/schemas/PaymentInstrumentCrypto]/deposit_address to the response with the status

    • info

      added the required property data/items/payment/payment_instrument/oneOf[#/components/schemas/PaymentInstrument]/crypto/oneOf[#/components/schemas/PaymentInstrumentCrypto]/network to the response with the status

    • info

      added the required property data/items/payment/payment_instrument/oneOf[#/components/schemas/PaymentInstrument]/crypto/oneOf[#/components/schemas/PaymentInstrumentCrypto]/sender_address to the response with the status

    2 more changes in this revision