Dispute alerts

List Dispute Alerts

Changed on

Lists the dispute alerts and early fraud warnings across the accounts you can read.

get/dispute_alerts

Request

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

Query parameters

account_id, string

Only alerts on this account's payments (biz_ tag). Omit it to cover every account you can read.

payment_id, string

Only alerts on this payment (pay_ tag). A payment can carry several.

type, 'early_fraud_warning' | 'dispute_alert' | 'rapid_dispute_resolution'

Only alerts of this kind. early_fraud_warning for issuer fraud reports, dispute_alert for pre-dispute notices, rapid_dispute_resolution for Visa RDR cases the network already closed.

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' | 'reported_at' | 'amount'

The field to sort alerts by.

direction, 'asc' | 'desc'

Sort direction.

created_before, string

Only alerts Whop received before this ISO 8601 timestamp.

created_after, string

Only alerts Whop received after this ISO 8601 timestamp.

Headers

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

Pins the request to a dated API version.

Response

dispute alerts listed

object required
data, DisputeAlert[] required
page_info, object required

Example response

{
  "data": [
    {
      "account_id": "biz_xxxxxxxxxxxxxx",
      "amount": 25,
      "card_brand": "visa",
      "created_at": "2026-01-01T12:00:00.000Z",
      "currency": "usd",
      "fee": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "id": "dspa_xxxxxxxxxxxxxx",
      "payment_id": "pay_xxxxxxxxxxxxxx",
      "product_id": "prod_xxxxxxxxxxxxxx",
      "reason": "fraud",
      "reported_at": "2026-01-01T12:00:00.000Z",
      "source": "tc40",
      "transaction_at": "2026-01-01T12:00:00.000Z",
      "type": "early_fraud_warning",
      "updated_at": "2026-01-01T12:00:00.000Z"
    }
  ],
  "page_info": {
    "start_cursor": "WyJjdXJzb3IiLDFd"
  }
}

Changes

    • breaking

      removed the required property data/items/category from the response with the status

    • info

      added the required property data/items/reason to the response with the status

    • info

      added the required property data/items/category to the response with the status