$10,000 in chargebacks, fought free
Holiday Season
$10,000 in chargebacks, fought free
Holiday Season
/
Dispute Workflow
October 12, 2026
Nov 24, 2026

Dispute Webhooks: Reliable Events, State Changes and Reconciliation

Logotipo circular blanco con formas entrelazadas en el centro, rodeado de líneas elípticas superpuestas que parecen órbitas y rombos azules dispersos.

Contracargos?
Ya no es problema tuyo.

Recover 4x more chargebacks and prevent up to 90% of incoming ones, powered by AI and a global network of 20,000+ merchants.

Más de 600 opiniones
No hace falta tarjeta de crédito.
Dispute Webhooks: Reliable Events, State Changes and Reconciliation

En resumen:

  • Stripe, Adyen, PayPal, Shopify and Checkout.com name and scope dispute events differently, so map each one to your own internal case states.
  • Stripe, Shopify and Checkout.com state that event order is not guaranteed, so fetch the current dispute before applying any state change.
  • Retry windows run from 4 hours on Shopify to 30 days on Adyen, so schedule reconciliation for failures that outlast the provider's window.
  • Deduplicate Chargeflow evidence events on the evidence ID plus file version, because regenerating a package re-fires the ready event.
Cargando el reproductor AudioNative de texto a voz de Elevenlabs...

Dispute webhooks are HTTP callbacks that a payment provider sends to your server when a dispute is opened, updated or closed. Each one signals that something changed, so a reliable consumer verifies it, records it once and checks the provider's current dispute record before changing its own state.

{{cta}}

Dispute events by provider and the state each one maps to

Providers name dispute events differently and attach different meanings to them. Store the provider's event name as data and map it to a small set of internal states. The lifecycle underneath is the one banks run, described in how banks process disputes.

Stripe

  • charge.dispute.created

    What the provider documents
    Sent when a customer disputes a charge with their bank
    Suggested internal state
    Opened: read status and evidence_details.due_by
  • charge.dispute.updated

    What the provider documents
    Sent when the dispute changes, usually because evidence was added
    Suggested internal state
    Updated: re-fetch the dispute and compare status and submission_count
  • charge.dispute.closed

    What the provider documents
    Sent when the status becomes won, lost or warning_closed
    Suggested internal state
    Closed: record the outcome and keep the case open to correction
  • charge.dispute.funds_withdrawn and charge.dispute.funds_reinstated

    What the provider documents
    Funds removed because of the dispute, and funds returned after it closes, including partially refunded payments
    Suggested internal state
    Ledger movement only: post the entry without inferring the outcome from it

Adyen

  • NOTIFICATION_OF_CHARGEBACK

    What the provider documents
    The scheme has told Adyen a chargeback is incoming; it marks the start of the defense period
    Suggested internal state
    Opened: start the defense and read defensePeriodEndsAt
  • CHARGEBACK

    What the provider documents
    A payment was charged back
    Suggested internal state
    Chargeback booked: confirm the case and the funds movement
  • CHARGEBACK_REVERSED

    What the provider documents
    A defended chargeback: the disputed amount was transferred back to you, but the stage is not final because a second chargeback can be presented
    Suggested internal state
    Funds returned: do not record a final win
  • SECOND_CHARGEBACK

    What the provider documents
    The issuing bank declines the material submitted in the defense
    Suggested internal state
    Reopened: re-read status and deadline

PayPal

  • CUSTOMER.DISPUTE.CREATED

    What the provider documents
    A dispute is created; it supersedes RISK.DISPUTE.CREATED
    Suggested internal state
    Opened: fetch the dispute
  • CUSTOMER.DISPUTE.UPDATED

    What the provider documents
    A dispute is updated
    Suggested internal state
    Updated: fetch the current dispute
  • CUSTOMER.DISPUTE.RESOLVED

    What the provider documents
    A dispute is resolved
    Suggested internal state
    Closed: take the outcome from the fetched dispute

Shopify

  • disputes/create and disputes/update

    What the provider documents
    The two topics for Shopify Payments disputes; Shopify's announcement does not say when each one fires
    Suggested internal state
    Opened or updated: query the dispute and read status, type and evidenceDueBy

Checkout.com

  • dispute_received

    What the provider documents
    Checkout.com received a dispute notification from the card scheme and reviews it before advising on any action you need to take
    Suggested internal state
    Opened: record the case, since a defense may not be required yet
  • dispute_evidence_required

    What the provider documents
    Checkout.com received a dispute you need to provide evidence for; the payload carries evidence_required_by
    Suggested internal state
    Opened and actionable: store the deadline
  • dispute_resolved

    What the provider documents
    Sent when a dispute notification arrives for a payment you already refunded, so no further action is required
    Suggested internal state
    Closed without a defense: not a won or lost outcome
  • dispute_evidence_submitted, dispute_evidence_acknowledged_by_scheme and the dispute_arbitration_* events

    What the provider documents
    Checkout.com lists 13 dispute event types, including separate events for evidence submitted and evidence acknowledged by the scheme, and an arbitration set that includes dispute_arbitration_sent_to_scheme, dispute_arbitration_won and dispute_arbitration_lost
    Suggested internal state
    Track submitted and acknowledged as separate steps, and give arbitration its own stage

Braintree

  • dispute_opened, dispute_under_review, dispute_disputed, dispute_accepted, dispute_auto_accepted, dispute_won, dispute_lost and dispute_expired

    What the provider documents
    Eight notification kinds; Braintree describes dispute_under_review as under internal review with PayPal and dispute_auto_accepted as automatically accepted
    Suggested internal state
    Closed: record whether the merchant accepted the dispute or it was accepted automatically

Source: Stripe event types, Adyen dispute notifications, PayPal webhook event names, Shopify dispute webhook topics, Checkout.com dispute events and Braintree dispute webhooks. The internal states are suggested mappings, not provider guidance.

Four details change how you sequence work. Adyen states that you can start a defense after the notification of chargeback without waiting for the CHARGEBACK event, so a case can become actionable before the event you might treat as its start. Stripe uses a warning_ status prefix for inquiries, a phase Visa and Mastercard no longer use and American Express and Discover use most often. An inquiry that stays open for 120 days without escalating closes as warning_closed, so a closed event does not always mean a chargeback outcome (Stripe, how disputes work).

Shopify separates the phase from the status: its dispute type is INQUIRY or CHARGEBACK, and a PREVENTED status marks a dispute that was prevented from becoming a formal chargeback, so read both fields before treating a case as a chargeback (Shopify dispute object). Checkout.com's dispute_resolved fires for a payment you already refunded, so it means no defense is needed and not that one was won or lost.

Keep event-processing status separate from case status.

A received webhook means your endpoint accepted a request. It does not mean evidence was reviewed, a response was submitted or the dispute was resolved.

What each provider documents about delivery

Stripe

Retries
Live mode: up to 3 days with exponential backoff. Sandbox: 3 attempts over a few hours. Manual resend: 15 days in the Dashboard, 30 days with the CLI
Ordering
Not guaranteed
Duplicates
The same event can arrive more than once; log processed event IDs
Signature
Stripe-Signature header; library default timestamp tolerance is 5 minutes

PayPal

Retries
A non-2xx response triggers up to 25 attempts over 3 days, then the delivery is marked Failed and can be resent from the dashboard
Ordering
Not stated
Duplicates
Not stated
Signature
CRC32 check, or PayPal's verify-signature endpoint

Adyen

Retries
Retries a few times, then queues the webhook and retries for up to 30 days at lengthening intervals (30 seconds up to 8 hours)
Ordering
Not stated
Duplicates
Duplicates carry the same eventCode and pspReference; handle them and use the latest event
Signature
Separate HMAC verification page

Shopify

Retries
No response or an error triggers 8 retries over the next 4 hours. After 8 consecutive failures, a subscription created through the Admin API is deleted automatically. Timeouts: 1 second to connect, 5 seconds for the whole request
Ordering
Not guaranteed within a topic, or across topics for the same resource
Duplicates
The same webhook can arrive more than once; deduplicate on X-Shopify-Webhook-Id. X-Shopify-Event-Id is shared by deliveries from the same merchant action, so it correlates them and does not identify a single delivery
Signature
X-Shopify-Hmac-Sha256 header

Checkout.com

Retries
At-least-once delivery. Up to 8 retries at 5 minutes, 10 minutes, 15 minutes, 30 minutes, 1 hour, 4 hours, 12 hours and 12 hours, about 30 hours in total, then the webhook is canceled
Ordering
Not guaranteed: the order can vary
Duplicates
No deduplication guidance, and at-least-once delivery means duplicates are possible. Each payload has an envelope id (evt_) separate from the dispute ID in data.id
Signature
HMAC of the payload keyed with the workflow's webhook key, sent hex-encoded in the Cko-Signature header; the page does not name the hash function

Chargeflow

Retries
Retries until a 2XX response or a retry limit; the limit and schedule are not published
Ordering
Not stated
Duplicates
Not stated: the dispute.created envelope carries a webhookId, but the docs do not say whether it identifies an event or a delivery, and they give no duplicate-handling guidance
Signature
x-chargeflow-hmac-sha256 header: HMAC-SHA256 over the request method, path and body, keyed with your API Secret Key; no timestamp or tolerance is documented

Source: Stripe webhooks, PayPal webhooks, Adyen webhooks with its best practices and troubleshooting pages, Shopify webhooks with its duplicate delivery guidance, Checkout.com webhooks, and the Chargeflow webhooks reference. "Not stated" means the provider's page is silent.

Silence in a provider's documentation is not a guarantee. Design the consumer as though duplicates, delays and reordering can happen on every provider, and treat any documented retry window as the point where your own reconciliation has to take over.

Retry windows differ the most. Shopify stops after 4 hours and deletes an Admin API subscription after 8 consecutive failures, while Adyen retries for up to 30 days. Set your reconciliation interval from the shortest window among the providers you consume, because an outage that Adyen absorbs can permanently lose events on Shopify.

Build a small, reliable intake path

Verify the request before trusting it. Stripe requires the raw request body for signature verification and says that any framework manipulation of the body makes verification fail, so verify before parsing. Stripe also tells you to return a 2xx status before complex logic and to process events through an asynchronous queue, so a spike in deliveries cannot overwhelm your handlers. The sequence below is our recommendation, built from that guidance.

At the endpoint
  1. Receive the request on the registered HTTPS endpoint.
  2. Verify the signature against the raw body using the provider's documented method.
  3. Check that the event type and the account or merchant it belongs to are ones you expect.
  4. Persist the raw event durably, or enqueue it with a durable queue.
  5. Return a 2xx status.
In the worker
  1. Deduplicate, then process through an idempotent workflow.
  2. Fetch the current dispute from the provider and record the result against the case.
  3. Route failures to monitored retry and to reconciliation.

Do slow work, such as downloading evidence or calling a submission API, after step 5. Shopify allows only 1 second to connect and 5 seconds for the whole request, so slow work inside the handler there invites a retry. Timeouts, response codes and retry rules come from each provider's current documentation, as the provider details above show.

Make repeated deliveries harmless

Use two separate keys.

Delivery key

The delivery key answers whether you have already processed this notification: provider, account and the provider's event identifier where one is documented.

Action key

The action key answers whether you have already done the consequential thing: dispute ID, stage and action, such as "submit evidence". Reserve it durably before calling the submission API, so two workers or a replay cannot both submit.

Stripe says to log processed event IDs, and also notes that two separate Event objects can be sent for the same occurrence, in which case you match on the ID of data.object plus event.type. For Adyen, match on eventCode plus pspReference, because all events for one dispute share the same PSP reference. For Shopify, use X-Shopify-Webhook-Id, since each delivery has its own ID while X-Shopify-Event-Id repeats across deliveries from the same merchant action. For Checkout.com, key on the envelope id and keep the dispute ID from data.id as a separate field.

Two different events can trigger the same action, and an event can need reprocessing after a failed attempt, which is why one key is not enough.

Record the outcome of every delivery: ignored as already complete, resumed after failure, or inconsistent with current case state. An operator should be able to read that history without reconstructing it from logs.

Handle late, reordered and reopened events

Stripe states that it does not guarantee delivery in the order events were generated. Its snapshot events record created in whole seconds, so distinct events can share a timestamp, and Stripe advises against using created to order events. Its guidance is to retrieve the current object from the API instead (Stripe webhooks). Shopify likewise does not guarantee ordering within a topic or across topics for the same resource, so disputes/create and disputes/update for one dispute can arrive in either order, and Checkout.com guarantees at-least-once delivery with an order that may vary. The disputes lifecycle also produces states that look final and are not:

Three lifecycle details to handle
Late wins.

In rare cases a Stripe dispute changes from lost to won when an issuer credits or debits outside the regular lifecycle.

Reversals that are not final.

Adyen's CHARGEBACK_REVERSED returns the funds, and a second chargeback can still follow.

More than one dispute per payment.

Stripe distinguishes each dispute by its own ID, so key cases on the dispute ID and not on the charge.

Apply an event only after fetching the current record and checking that the transition is valid in that provider's model. If it is not, log it and flag the case instead of overwriting local state. Do not invent a universal sequence rule: some events announce separate facts, such as a funds movement, rather than a step in a straight line. Never make won or lost unreachable for correction.

Evidence packages need the same care. A ready notification for an earlier package should not trigger a submission after a corrected package has been reviewed, so store the package identifier, its version and its review status together.

How Do You Detect a Deadline Change With No New Case?

On Tuesday your platform stores a Friday 5:40 p.m. deadline. On Wednesday the processor’s case record shows Thursday at 11:25 a.m.. The case ID and disputed amount are unchanged. A system that compares only those two fields will miss the earlier deadline.

Read the current processor record, including its time zone. Move the reminder to the earlier cutoff and keep the old time in the audit history. A late delivery of Tuesday’s event must not restore Friday’s deadline. Stripe’s webhook guidance explains why Stripe events can arrive out of order.

Track the response deadline separately

Where to read the response deadline
Stripeevidence_details.due_by

On the dispute object, alongside has_evidence, past_due and submission_count (Stripe dispute object).

AdyendefensePeriodEndsAt

In its notification payloads.

ShopifyevidenceDueBy

On the dispute object, next to evidenceSentOn and finalizedOn, which stay null until evidence is sent or the dispute is resolved.

Checkout.comevidence_required_by

In dispute_evidence_required. Its dispute_received example does not include it.

Chargeflowdue_by

Supplied when a platform creates a dispute record. The documented evidence.ready payload does not list it, so read it from the dispute record.

Store the deadline as its own field and record which provider field it came from.

Stripe says you usually have 7 to 21 days to respond, depending on the card network, and that the issuer then usually takes 60 to 75 days to decide, for a full lifecycle of 2 to 3 months (Stripe, how disputes work). The card-network clocks behind these windows are covered in chargeback time limits. A webhook delayed by hours is minor against the longer windows and serious when due_by is close, so prioritize stuck work by time to deadline and not by event age.

Reconcile against the provider's record

A webhook is a push. Reconciliation is the pull that catches what the push missed. Run a scheduled job that lists open and recently closed disputes through the provider's API and compares status, amount and deadline with your records. Stripe lets you retrieve a dispute and list disputes filtered by charge or payment intent (Stripe, respond to disputes with the API), and Shopify's own guidance is to use reconciliation jobs that periodically fetch data so your app stays consistent with Shopify's. Include recently closed cases, because outcomes can change after closing. Define how far back to look and who owns each unresolved difference.

FailureRiesgoRecovery approach
Duplicate notificationRepeated actionDelivery key plus action key, with the result recorded
Delayed eventStale merchant view or a missed response windowCompare with current state and with time to deadline
Out-of-order eventLocal state moves backwardFetch the current record and apply only valid transitions
Consumer failure after a 2xxAccepted event is never completedDurable work tracking and controlled replay from the stored raw event
Missing notificationLocal case stays outdated after the provider stops retryingScheduled reconciliation of open and recently closed cases
Access errorRequired record cannot be retrievedNamed owner for credentials and integration health

After an outage, an empty queue does not prove every affected case reached the right state. Confirm it by comparison. For fee, payout and ledger-level matching, see chargeback reconciliation. For one canonical dispute record across several processors, see multi-processor chargeback recovery.

Monitor lag, deadlines and mismatches

What to monitor
Receipt lag and processing lag.

Measure them separately, because a prompt 2xx can sit in front of a long backlog.

Oldest unprocessed work.

Alert on the age of the oldest stored event that has no recorded result.

Time to deadline.

Weight alerts by how close a stuck case is to its response cutoff.

Unresolved mismatches.

Count differences found by reconciliation and assign each an owner and an action.

Before rollout, replay a batch of stored events, send duplicates and simulate an outage at realistic case volumes. Then check that case state, evidence versions and the merchant display are all correct. The embedded chargeback management guide sets out which merchant-facing status each event should produce.

Chargeflow platform event details

For platforms built on Chargeflow's Connect model, the events are listed in the platform webhook events documentation. Payload schemas live in the API reference, and signature verification and delivery behavior are on the webhooks reference. The platform webhook implementation guide applies these payload boundaries to durable receipt, resource-version checks and reconciliation.

EventoWhen it firesWhat the docs say to do
dispute.createdA dispute is created; the schema is in the API referenceSee the API reference
evidence.readyAn Evidence-as-a-Service PDF has been generated and can be downloaded. file_url expires 7 days after issueVerify the signature, download and store the PDF, and submit it to your PSP before the dispute's due_by. Store evidence.id and not the URL
evidence.errorGeneration failed after all automatic retries. Chargeflow does not retry again until Generate Evidence is calledRead error_code, fix the cause, then call POST /public/2025-04-01/evidence again
integration.access.errorChargeflow cannot access a merchant's PSP or data source; it mainly applies to White-LabelIdentify the merchant from integration.account_id or integration.ext_account_id, notify them and guide them to re-authorize

Source: Chargeflow platform webhook events.

Regenerating evidence re-fires evidence.ready with the same evidence.id and an incremented file_version. Key your delivery record on the pair of evidence ID and file version, not on the evidence ID alone, or a corrected package will look like a duplicate. Chargeflow's prose pages use snake_case names such as file_version, while the API reference schema uses camelCase (evidenceId, version, errorCode), so confirm exact key names against the schema before you code against them. An expired link is not a failed generation, so request a fresh link through the supported route instead of regenerating. The schema for evidence.ready includes a dispute ID, which lets you look up the dispute record.

The documented evidence.error codes call for different responses:

Choose the response by error code
504_generation_timeoutis described as transient, so retry the request.

409_generation_in_progress means a generation is already running, so wait for an evidence.ready or evidence.error event.

422_dispute_invalid_state means the dispute is not in needs_response, so check the case before any retry.

404_*_not_foundmeans the dispute was not found, so check the dispute and account IDs.
403_eaas_not_enabledmeans the key is not entitled to Evidence-as-a-Service, which your account manager enables.

Chargeflow responds to failed deliveries by retrying until it receives a 2XX status or reaches its retry limit. The documentation does not state an ordering guarantee, a retry count or a retry schedule, so apply the intake, deduplication and reconciliation patterns above and do not hard-code those values.

The evidence package itself is covered in automated chargeback evidence generation, and the calls that trigger it are in the chargeback API guide. Access errors matter most in white-label chargeback management, and the full platform picture is in chargeback management for payment platforms. For the sources a package should draw on, see the chargeback evidence source map.

Where a provider's own dispute handling is the starting point, the Adyen chargebacks guide and the Stripe chargebacks guide cover case routing by status, the Shopify chargebacks guide covers Shopify Payments disputes, the PayPal chargeback process explainer covers PayPal, and the payment service provider guide explains where each party sits in the flow.

Chargeflow has native integrations with Stripe, Adyen, PayPal, Shopify, Checkout.com and Braintree, so a team that does not want to run a dispute consumer for each provider can connect those accounts directly.

{{cta}}

Preguntas frecuentes

What is a webhook in a payment system?

A webhook in a payment system is an HTTP request that a provider sends to your server when something changes, such as a charge dispute opening. Your endpoint verifies the request, returns a 2xx status and then processes it, so your system does not have to poll the provider for changes.

What are examples of dispute webhook events?

Stripe sends charge.dispute.created, charge.dispute.updated and charge.dispute.closed. Adyen sends NOTIFICATION_OF_CHARGEBACK, CHARGEBACK and CHARGEBACK_REVERSED. PayPal sends CUSTOMER.DISPUTE.CREATED, CUSTOMER.DISPUTE.UPDATED and CUSTOMER.DISPUTE.RESOLVED. Shopify sends disputes/create and disputes/update, and Checkout.com sends dispute_received, dispute_evidence_required and dispute_resolved. Each marks a stage of a dispute, and the meaning differs by provider.

How do you handle dispute webhook failures?

Return a 2xx status only after the event is stored durably, process it from a queue and retry failed work from the stored copy. Providers retry failed deliveries on their own schedules, so processing must be idempotent, and a scheduled reconciliation job should cover failures that outlast those retries.

How long do payment providers retry failed dispute webhooks?

It varies widely. Shopify retries 8 times over 4 hours, and Checkout.com retries up to 8 times over about 30 hours. Stripe retries live deliveries for up to 3 days, PayPal makes up to 25 attempts over 3 days and Adyen retries for up to 30 days. Chargeflow retries until a 2XX response or an unpublished limit. A delivery that fails past the window is not sent again automatically, so a scheduled reconciliation job has to catch it.

Are dispute webhooks delivered in order?

Not reliably. Stripe, Shopify and Checkout.com state that they do not guarantee order, and the Adyen, PayPal and Chargeflow pages do not state an ordering guarantee. Fetch the current dispute record before applying a change instead of trusting arrival order or event timestamps.

How do you stop duplicate dispute events from repeating an action?

Record each processed event under a provider-specific key, such as Stripe's event ID or Adyen's eventCode plus pspReference, and reserve each consequential action, such as submitting evidence, under a dispute-and-stage key before performing it. A repeated delivery then finds the earlier result and does nothing.

How do you detect a missed dispute webhook?

Run a scheduled job that lists open and recently closed disputes through the provider's API and compares status, amount and deadline with your records. Any difference is a missed, failed or out-of-order event and needs an owner.

Which webhook topics cover Shopify Payments disputes?

Shopify provides the disputes/create and disputes/update topics for Shopify Payments disputes. Shopify can deliver the same webhook more than once, so deduplicate on the X-Shopify-Webhook-Id header and read the dispute's status, type and evidenceDueBy fields before acting.

Which webhook events does Chargeflow send to platforms?

Chargeflow's platform documentation lists dispute.created, evidence.ready, evidence.error and integration.access.error, and each request carries the x-chargeflow-hmac-sha256 signature header. The evidence.ready event identifies the evidence and its file version and carries a download link that expires 7 days after it is issued. The documented payload does not include the response deadline, so read due_by from the dispute record.

Build a recoverable dispute integration with Chargeflow Connect.

Chargeflow's Products

Recover Chargebacks Without the Paperwork

Chargeflow Automation builds and submits evidence for the chargebacks that still arrive.

COMPARTIR ESTE ARTÍCULO
Logotipo circular blanco con formas entrelazadas en el centro, rodeado de líneas elípticas superpuestas que parecen órbitas y rombos azules dispersos.

Contracargos?
Ya no es problema tuyo.

Recupera cuatro veces más Contracargos y prevención , hasta un 90 % de las entradas, gracias a IA y a una red global de 20 000 comercios.

Más de 600 opiniones
No hace falta tarjeta de crédito.
suscribirse

Las últimas novedades sobre « Contracargos », «fraude» y « ecommerce », directamente en tu bandeja de entrada. Cada semana.

¡Regístrate ahora y no te pierdas nunca las últimas tendencias!
Al facilitarnos tu dirección de correo electrónico, aceptas nuestras Condiciones de uso y nuestro Aviso de privacidad
Diagrama con líneas discontinuas y curvas que forman arcos segmentados, resaltados por tres marcadores en forma de rombo azul en el lado izquierdo.Diseño abstracto de cuadrícula circular con marcadores en forma de rombo azul sobre un fondo mitad negro y mitad blanco.