Disputes API

Disputes API

Automate the process of retrieving and challenging disputes to save sellers time and money

Customer disputes can be frustrating for sellers. Sellers may have to manage numerous chargebacks at once, or need to submit multiple forms of evidence to challenge disputes. Until recently, sellers had to do this manually through their Square Disputes Dashboard, which can be time-consuming and resource-intensive for those with high chargeback volumes.

We’re excited to announce Disputes API to help automate the process of retrieving and challenging disputes. With this new API, you can build solutions that programmatically send dispute notifications to sellers (using webhooks) and automatically submit evidence to help sellers improve their win-rate.

Plus, you can enable sellers to get insights into the items that are most frequently disputed, the most common reasons for customer disputes, and the financial impact disputes have on their business.

Submitting Evidence

The most critical factor in winning a dispute is finding the right evidence to support a case. That’s why Square makes it easy with a set of predefined evidence types (evidence_type) based on what the customer’s bank requires.

Here’s an example of the REBUTTAL_EXPLANATION evidence type:

curl -X POST \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {{ACCESS_TOKEN}}' \
-H 'Content-Type: application/json' \
-d '{
      "evidence_text":"the customer ordered the item twice; on date-1 and date-2"
    }' \

And an example response:

      "evidence_text": "the customer ordered the item twice; on date-1 and date-2",

After a seller uploads evidence, Square packages the evidence, adds helpful information of our own (when available), and submits it all to the bank.

Retrieving Disputes Status

Once a seller has submitted evidence, Square will keep them informed of the response from their customer’s bank (Square does not decide who wins or loses the dispute). Once the dispute status has been provided, Square will change the status to WON, LOST, or EVIDENCE_REQUIRED.

To verify the status, call RetrieveDispute.

curl -X GET \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {{ACCESS_TOKEN}}' \
-H 'Content-Type: application/json' \

Here’s an example response, showing the state has been updated to “WON”.


Get Started

Disputes API is available in the U.S., Canada, UK, Ireland, Australia, and Japan for all developers building a payment integration with Square. Check out the docs site and technical references to learn how to get started.

As always, please share your feedback in our community Slack channel or Square Developer Forums. If you want to keep up to date with the rest of our content, be sure to follow this blog and our Twitter account!

Table Of Contents
View More Articles ›