Regoria API docs

dispute.closed

A dispute closed, won or lost.

Sent as POST to each of your endpoints subscribed to dispute.closed. Verify X-Webhook-Signature before trusting the body; X-Webhook-Delivery is the same across retries of one event, so use it to deduplicate.

Headers

Header Value
X-Webhook-Signature t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with the endpoint secret>. Recompute over the raw body, compare in constant time and reject when |now - t| is above 300 seconds.
X-Webhook-Event The event type, the same as type in the body.
X-Webhook-Delivery The event id (evt_…), stable across retries and replays of the same event.

Payload

The body is the delivery envelope: id, type (dispute.closed), version, occurred_at, merchant_id and data.

Field Type Required Description
data.dispute_id string yes
data.merchant_id string yes
data.charge_id string yes
data.order_id string or null no
data.source string (chargeback, rdr, ethoca) yes
data.reason_code string or null no
data.amount_cents integer yes
data.currency string no The currency of amount_cents and fee_cents (the disputed charge's); absent on an event from before, read as the home currency
data.fee_cents integer yes
data.status string yes
data.outcome string or null yes
data.evidence_due_at string or null (date-time) no
data.occurred_at string (date-time) yes
data.fraud boolean no The dispute carries a network fraud reason code, or staff marked it fraud
data.provider_case_id string or null no The processor's chargeback id
data.merchant_evidence_due_at string or null (date-time) no The merchant's evidence deadline (3 business days)
data.over_disputed boolean no The charge's open and lost disputes exceed its amount

Example

{
    "id": "evt_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
    "type": "dispute.closed",
    "version": 1,
    "occurred_at": "2026-10-21T14:05:00.000Z",
    "merchant_id": "mer_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
    "data": {
        "dispute_id": "dsp_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
        "merchant_id": "mer_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
        "charge_id": "chg_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
        "order_id": "ord_01HZX5Y3V8N2K7QJ4R9T6B3M1C",
        "source": "chargeback",
        "reason_code": "10.4",
        "amount_cents": 3139,
        "fee_cents": 1500,
        "status": "closed",
        "outcome": "lost",
        "evidence_due_at": "2026-10-20T00:00:00.000Z",
        "occurred_at": "2026-10-08T12:00:00.000Z",
        "fraud": true
    }
}

Verify the signature before trusting the body and deduplicate on X-Webhook-Delivery: see Webhooks.