Dispute alerts

Retrieve Dispute Alert

Changed on

Retrieves a single dispute alert or early fraud warning by ID.

get/dispute_alerts/{id}

Request

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

Path parameters

id, string required

The dispute alert ID, prefixed dspa_.

Headers

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

Pins the request to a dated API version.

Response

dispute alert returned

DisputeAlert required
account_id, string nullable required

The account the alerted payment belongs to, prefixed biz_. null while the alert is unmatched.

amount, number required

The alerted amount, in whole units of currency. This is what the issuer reported, which can differ from the payment's own amount.

auto_refunded, boolean required

Whether Whop automatically refunded the alerted payment. Reflects the payment, so it can be true for a refund issued by another flow (RDR, resolution) on the same payment.

card_brand, string nullable required

The card network as reported by the issuer, lowercased, such as visa or mastercard. unknown when the report carries neither a network nor a recognizable BIN.

created_at, string required

When Whop received the alert, as an ISO 8601 timestamp.

currency, string required

Three-letter ISO currency code of the alerted amount.

fee, Money nullable required
fee_charged, boolean required

Whether Whop charged the account an alert fee for this one. Always false for early_fraud_warning, which Whop is not billed for and never passes on.

id, string required

Dispute alert ID, prefixed dspa_.

issuer, string nullable required

Deprecated: always null outside Whop's own dashboard. Name of the bank that issued the card and filed the report. DEPRECATED: Always null outside Whop's own dashboard.

payment_id, string nullable required

The payment the issuer reported, prefixed pay_. null when Whop could not match the report to a payment.

product_id, string nullable required

The product the alerted payment was for, prefixed prod_.

reason, 'fraud' | 'customer_dispute' | 'null' nullable required

What the cardholder claims. fraud when they say they didn't make the payment: always for an early_fraud_warning, and for Ethoca fraud alerts and Visa RDR cases filed under a fraud reason. customer_dispute when they made the payment but dispute it, such as a product not received or a canceled subscription. null when the alert carries no claim, such as an issuer's request for transaction documents.

reported_at, string required

When the issuer filed the report, as an ISO 8601 timestamp. Earlier than created_at, which is when Whop received it.

source, 'ethoca' | 'cdrn' | 'rdr' | 'tc40' | 'safe' | 'paypal' | 'null' nullable required

The network program that sent the alert, which type alone doesn't tell apart. ethoca for Mastercard Ethoca, cdrn for Visa Verifi CDRN, rdr for Visa RDR, tc40 / safe for a Visa / Mastercard fraud report, paypal for a PayPal alert. null when the network didn't say.

transaction_at, string nullable required

When the reported transaction was made, as an ISO 8601 timestamp — falls back to when the matched payment was made if the issuer's own report didn't carry one. Should not be null in practice; treat one as a data issue rather than expected behavior.

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

What the issuer sent. early_fraud_warning is a fraud report on a settled payment (Visa TC40 / Mastercard SAFE) — refunding still avoids the chargeback, and Whop never charges a fee for one. dispute_alert is a pre-dispute notice from the issuer's alert network, which Whop pays for and passes on as a fee. rapid_dispute_resolution is a Visa RDR case the network already closed by refunding the payment — nothing is left to act on.

updated_at, string required

When the alert was last changed, as an ISO 8601 timestamp.

Example response

{
  "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"
}

Changes

    • breaking

      removed the required property category from the response with the status

    • info

      added the required property reason to the response with the status

    • info

      added the required property category to the response with the status