Dispute alerts

Dispute Alert Created

Sent when a dispute alert is created

Required permissions:

  • payment:dispute_alert:read
  • payment:basic:read
  • member:email:read
  • member:basic:read
  • member:phone:read
  • payment:dispute:read
  • webhook_receive:disputes
postWebhookdispute_alert.created

Headers

webhook-id, string required

A unique identifier for this webhook request

Example:msg_xxxxxxxxxxxxxxxxxxxxxxxx
webhook-signature, string required

The signature of the webhook request with the webhook version prepended

Example:v1,BASE64ENCODEDSIGNATURE
webhook-timestamp, string required

The timestamp in seconds since the Unix epoch that the webhook was sent at on the server

Example:1727606400

Payload

object required
account_id, string nullable

The account ID that this webhook event is associated with

api_version, 'v1' required

The API version for this webhook

api_version_date, string nullable required

The dated API version (Api-Version-Date) the payload is serialized to

data, DisputeAlert required
id, string required

A unique ID for every single webhook request

previous_attributes, object

For some .updated events, the old values of the payload fields that changed, keyed by field name. Omitted when no capture is available for the event

timestamp, string date-time required

The timestamp in ISO 8601 format that the webhook was sent at on the server

type, 'dispute_alert.created' required

The webhook event type

Example payload

{
  "account_id": "biz_xxxxxxxxxxxxxx",
  "api_version": "v1",
  "api_version_date": "2026-07-20",
  "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"
  },
  "id": "msg_xxxxxxxxxxxxxxxxxxxxxxxx",
  "timestamp": "2025-01-01T00:00:00.000Z",
  "type": "dispute_alert.created"
}

Response

Return a 200 status to indicate that the data was received successfully

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.