# Chargeback events

Sent each time a chargeback against a payment on the order changes
status.
- `chargeback.created`
: a chargeback was raised.
`previous_status`
 is

`null`
.
- `chargeback.under_review`
: you disputed it with

`PUT /chargebacks/{token}/dispute`
.
- `chargeback.represented`
: your dispute was sent to the card network.
- `chargeback.won`
: the dispute was won; the amount and fee are

returned to you.
- `chargeback.lost`
: the dispute was lost.
- `chargeback.accepted`
: you accepted it, or the response window closed

without a dispute.

A chargeback whose window closes is marked `ACCEPTED` the next time it
is read, so `chargeback.accepted` for a missed deadline can arrive
after the deadline itself; `dispute_deadline` on the chargeback is
the date that counts.
Notes, evidence files and the customer's contact details are left out.
Retrieve the chargeback by `token` for those, and for the disputed
transaction's `transaction_token`.

Endpoint: POST chargebackEvent
Security: ClientKey, SecretKey

## Header parameters:

  - `X-Dime-Signature` (string, required)
    `v1=` followed by the hex HMAC-SHA256 of the raw body, keyed with the endpoint's `signing_secret`.

  - `X-Dime-Signature-Version` (string, required)
    Signing scheme. Always `v1`.

  - `X-Dime-Event-Id` (string, required)
    The body's `event_id`.

  - `X-Dime-Event-Type` (string, required)
    The body's `event_type`.

  - `X-Dime-Attempt` (string, required)
    The attempt number, `1` for the first and up to `9` with retries.

## Request fields (application/json):

  - `event_id` (string, required)
    Unique per event, and the same on every redelivery and replay of it. Use it to discard duplicates.
    Example: evt_V1StGXR8Z5jdHi6BmyT2

  - `event_type` (string, required)
    Enum: "chargeback.created", "chargeback.under_review", "chargeback.represented", "chargeback.won", "chargeback.lost", "chargeback.accepted"

  - `occurred_at` (string, required)
    When Dime sent the event. Events can arrive out of order; use this to order them.
    Example: 2026-10-27T15:04:07.112Z

  - `owner_type` (string, required)
    Enum: "merchant"

  - `owner_id` (string | null, required)
    Your merchant token.
    Example: m82yalYupLIdpAz

  - `addon_subscription_id` (null)
    Always `null`.
    Example: null

  - `resource_type` (string, required)
    Enum: "chargeback"

  - `resource_id` (string | null, required)
    The `token` of the record the event is about: a transaction's
for `payment` and `refund`, otherwise the token of the kind named
by `resource_type`.
    Example: txn_20261027_PBFpP02

  - `payload` (object, required)

  - `payload.chargeback` (object, required)
    `transaction_id`, `order_id` and `customer_id` hold tokens.
Use `token` with `GET /chargebacks/{token}`.

  - `payload.chargeback.token` (string)
    Example: chb_KfDdVMbE_xOCOU6Kj_YlmeI4S5_kgpSOvk

  - `payload.chargeback.status` (string)
    `RECEIVED`: new; awaiting your response. `UNDER_REVIEW`: you
disputed it; Dime is reviewing. `REPRESENTED`: set by Dime while the
dispute is with the card network. `WON` / `LOST`: the outcome of a
dispute. `ACCEPTED`: you conceded it, or the deadline passed with no
response.
    Enum: "RECEIVED", "UNDER_REVIEW", "REPRESENTED", "WON", "LOST", "ACCEPTED"

  - `payload.chargeback.previous_status` (string | null)
    `null` on `chargeback.created`.
    Example: null

  - `payload.chargeback.reason_code` (string | null)
    Example: PRODUCT_NOT_RECEIVED

  - `payload.chargeback.source` (string | null)
    Example: CARD

  - `payload.chargeback.currency` (string)
    Enum: "USD", "JMD", "GBP", "EUR", "TTD", "BBD", "XCD", "GYD", "SRD"

  - `payload.chargeback.amount` (number)
    Example: 1100

  - `payload.chargeback.transaction_id` (string)
    Example: txn_20261027_PBFpP02

  - `payload.chargeback.transaction_display_id` (string | null)
    Example: ord_20261027_V1StGXR

  - `payload.chargeback.order_id` (string)
    Example: ord_20261027_V1StGXR

  - `payload.chargeback.customer_id` (string | null)
    Example: cus_2ex3bH8t_I8wppHr5_nnWIbSOb_0xGEWoW

  - `payload.chargeback.received_at` (string | null)
    Example: 2026-10-27T14:03:12.000Z

  - `payload.chargeback.responded_at` (string | null)
    Example: null

  - `payload.chargeback.resolution_date` (string | null)
    Example: null

  - `signature_version` (string, required)
    Enum: "v1"

## Request examples:

  - `New chargeback` (unknown)

## Response 200:

  - `200` (unknown)
    Return any `2xx` within 7 seconds to acknowledge. Otherwise Dime
retries automatically for about 3 days; see **Webhooks guide**.
Replay a delivery sooner, or after it has `FAILED`, with
`POST /webhook-events/{token}/replay`.

