Skip to main content
Adyen sends you a webhook message when a payment is disputed. You can use these webhook messages to alert staff of (pending) chargebacks, so that they can take appropriate action. A dispute webhook message contains:
  • eventCode: Indicates an event type in the dispute process.
  • pspReference: The PSP reference of the dispute. All events related to a dispute have the same PSP reference.
  • originalReference: The PSP reference of the disputed payment.
Most webhook messages also contain a dispute status in the additionalData object. The disputeStatus field gives more information about the status of the dispute at the time of the event. For example, if the dispute was won, lost, has expired or is pending. The disputeStatus is not returned in webhook messages for disputed payments processed in Brazil.

Requirements

Before you begin, take into account the following requirements and limitations.

Dispute events

The following tables show an overview of the dispute event types, what they mean, and where applicable, the possible values for the dispute status:

Enable webhooks

Make sure that you set up a Standard webhook, and that you select all dispute events. For details on how to configure and manage webhooks, refer to Webhooks. A dispute webhook message can contain two PSP references:
  • pspReference: The PSP reference of the dispute. All events related to a dispute have the same PSP reference.
  • originalReference: The PSP reference of the disputed payment.
To return the PSP reference of the payment in the originalReference field, and the PSP reference of the dispute in the pspReference for the event types CHARGEBACK_REVERSED, SECOND_CHARGEBACK, PREARBITRATION_WON and PREARBITRATION_LOST, follow these steps:
  1. Log in to your Customer Area
  2. Go to Developers > Webhooks.
  3. Next to Standard webhook select the edit webhook icon **.
  4. Under Additional Settings > Risk select the edit icon **.
  5. Enable Include the originalReference for CHARGEBACK_REVERSED events, and then select Apply.
  6. Select Save changes.

NOTIFICATION_OF_FRAUD

For possible values for the reason and nofReasonCode  fields, refer to Dispute reason codes.

REQUEST_FOR_INFORMATION

For possible values for the reason and rfiReasonCode  fields, refer to Dispute reason codes.

NOTIFICATION_OF_CHARGEBACK

For a list of all values for reason and chargebackReasonCode  fields, refer to Dispute reason codes.

INFORMATION_SUPPLIED

For a list of all values for reason and chargebackReasonCode  fields, refer to Dispute reason codes.

CHARGEBACK

For a list of all values for reason and chargebackReasonCode  fields, refer to Dispute reason codes.

SECOND_CHARGEBACK

For a list of all values for reason and chargebackReasonCode  fields, refer to Dispute reason codes. To return the originalReference in the SECOND_CHARGEBACK webhook:
  1. Log in to your Customer Area
  2. Go to Developers > Webhooks.
  3. Next to Standard webhook select the edit webhook icon **.
  4. Under Additional Settings > Risk select the edit icon **.
  5. Enable Include the originalReference for CHARGEBACK_REVERSED events, and then select Apply.
  6. Select Save changes.

CHARGEBACK_REVERSED

To return the originalReference in the CHARGEBACK_REVERSED webhook:
  1. Log in to your Customer Area
  2. Go to Developers > Webhooks.
  3. Next to Standard webhook select the edit webhook icon **.
  4. Under Additional Settings > Risk select the edit icon **.
  5. Enable Include the originalReference for CHARGEBACK_REVERSED events, and then select Apply.
  6. Select Save changes.

PREARBITRATION_WON

To return the originalReference in the PREARBITRATION_WON webhook:
  1. Log in to your Customer Area
  2. Go to Developers > Webhooks.
  3. Next to Standard webhook select the edit webhook icon **.
  4. Under Additional Settings > Risk select the edit icon **.
  5. Enable Include the originalReference for CHARGEBACK_REVERSED events, and then select Apply.
  6. Select Save changes.

PREARBITRATION_LOST

To return the originalReference in the PREARBITRATION_LOST webhook:
  1. Log in to your Customer Area
  2. Go to Developers > Webhooks.
  3. Next to Standard webhook select the edit webhook icon **.
  4. Under Additional Settings > Risk select the edit icon **.
  5. Enable Include the originalReference for CHARGEBACK_REVERSED events, and then select Apply.
  6. Select Save changes.

PREARBITRATION_OPEN

Applies only when you handle pre-arbitration cases yourself.

PREARBITRATION_ACCEPTED

Applies only when you handle pre-arbitration cases yourself.

PREARBITRATION_DECLINED

Applies only when you handle pre-arbitration cases yourself.

PREARBITRATION_ISSUER_WITHDRAWN

Applies only when you handle pre-arbitration cases yourself. This webhook message is sent when the issuer has withdrawn the pre-arbitration case.

SCHEME_ARBITRATION

Applies only when you handle pre-arbitration cases yourself. This webhook message can be sent before you have made a decision to accept or decline, or after you have declined the pre-arbitration case.

SCHEME_ARBITRATION_WON

Applies only when you handle pre-arbitration cases yourself. The payment scheme has ruled that the issuer is liable for the dispute.

SCHEME_ARBITRATION_LOST

Applies only when you handle pre-arbitration cases yourself. The payment scheme has ruled that you are liable for the dispute.

DISPUTE_DEFENSE_PERIOD_ENDED

See Dispute timeframes for an overview of the defense periods for different schemes.

ISSUER_RESPONSE_TIMEFRAME_EXPIRED

ISSUER_COMMENTS

For examples of which issuer comments you can receive, see issuer comments.

See also