paypal automatic dispute integration

blcksys
Contributor
Contributor

how do i integrate paypal, and make it so when a user open a dispute, an action on my website where the order has happened can be made?

I don't find any documentation on this regard.

 

I wanted to make that if a user opens a dispute/chargeback, their account on my website would then be locked automatically for inspection, but I can't find documentation about this possible function/api.

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @blcksys,

 

Thank you for your post and welcome to the Community Forum.

 

Yes, you can achieve your business requirement by integrating PayPal Webhooks event notification service and handle their internal website using Disputes Webhooks events. 

 

Event                                                  Trigger                                     Related method

CUSTOMER.DISPUTE.CREATEDA dispute is created.N/A
CUSTOMER.DISPUTE.RESOLVEDA dispute is resolved.Settle dispute
CUSTOMER.DISPUTE.UPDATEDA dispute is updated.Partially update dispute
RISK.DISPUTE.CREATEDA risk dispute is created.The CUSTOMER.DISPUTE.CREATED event type supersedes and deprecates this event type.

 

https://developer.paypal.com/api/rest/webhooks/event-names/#disputes 

https://developer.paypal.com/api/rest/webhooks/ 

 

NoteOccasionally, something goes wrong with a customer's order. To dispute a charge, a customer can create a dispute with PayPal. PayPal merchants, partners, and external developers can use the PayPal Disputes API to manage customer disputes.

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.