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.
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.
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:
- Log in to your Customer Area
- Go to Developers > Webhooks.
- Next to Standard webhook select the edit webhook icon **.
- Under Additional Settings > Risk select the edit icon **.
- Enable Include the originalReference for CHARGEBACK_REVERSED events, and then select Apply.
- Select Save changes.
NOTIFICATION_OF_FRAUD
For possible values for thereason and nofReasonCode fields, refer to Dispute reason codes.
REQUEST_FOR_INFORMATION
For possible values for thereason and rfiReasonCode fields, refer to Dispute reason codes.
NOTIFICATION_OF_CHARGEBACK
For a list of all values forreason and chargebackReasonCode fields, refer to Dispute reason codes.
INFORMATION_SUPPLIED
For a list of all values forreason and chargebackReasonCode fields, refer to Dispute reason codes.
CHARGEBACK
For a list of all values forreason and chargebackReasonCode fields, refer to Dispute reason codes.
SECOND_CHARGEBACK
For a list of all values forreason and chargebackReasonCode fields, refer to Dispute reason codes.
To return the originalReference in the SECOND_CHARGEBACK webhook:
- Log in to your Customer Area
- Go to Developers > Webhooks.
- Next to Standard webhook select the edit webhook icon **.
- Under Additional Settings > Risk select the edit icon **.
- Enable Include the originalReference for CHARGEBACK_REVERSED events, and then select Apply.
- Select Save changes.
CHARGEBACK_REVERSED
To return theoriginalReference in the CHARGEBACK_REVERSED webhook:
- Log in to your Customer Area
- Go to Developers > Webhooks.
- Next to Standard webhook select the edit webhook icon **.
- Under Additional Settings > Risk select the edit icon **.
- Enable Include the originalReference for CHARGEBACK_REVERSED events, and then select Apply.
- Select Save changes.
PREARBITRATION_WON
To return theoriginalReference in the PREARBITRATION_WON webhook:
- Log in to your Customer Area
- Go to Developers > Webhooks.
- Next to Standard webhook select the edit webhook icon **.
- Under Additional Settings > Risk select the edit icon **.
- Enable Include the originalReference for CHARGEBACK_REVERSED events, and then select Apply.
- Select Save changes.
PREARBITRATION_LOST
To return theoriginalReference in the PREARBITRATION_LOST webhook:
- Log in to your Customer Area
- Go to Developers > Webhooks.
- Next to Standard webhook select the edit webhook icon **.
- Under Additional Settings > Risk select the edit icon **.
- Enable Include the originalReference for CHARGEBACK_REVERSED events, and then select Apply.
- Select Save changes.