• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

You are viewing an old version of the API
List dispute evidence

GET /v2/disputes/{dispute_id}/evidence

Returns a list of evidence associated with a dispute.


Permissions
DISPUTES_READ
Try in API Explorer
Name Description
dispute_id
string

Required

The ID of the dispute.

Name Description
cursor
string

A pagination cursor returned by a previous call to this endpoint. Provide this cursor to retrieve the next set of results for the original query. For more information, see Pagination.

Response Fields

Name Description
evidence
DisputeEvidence [ ]

The list of evidence previously uploaded to the specified dispute.

errors
Error [ ]

Information about errors encountered during the request.

cursor
string

The pagination cursor to be used in a subsequent request. If unset, this is the final response. For more information, see Pagination.

Examples

You are viewing an old version of the API
GET /v2/disputes/{dispute_id}/evidence
cURL
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
  • Node.js
curl https://connect.squareup.com/v2/disputes/dispute_id0/evidence \
  -H 'Square-Version: 2021-10-20' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'
Response JSON
{
  "evidence": [
    {
      "id": "TOomLInj6iWmP3N8qfCXrB",
      "dispute_id": "bVTprrwk0gygTLZ96VX1oB",
      "evidence_text": "1Z8888888888888888",
      "evidence_type": "TRACKING_NUMBER",
      "uploaded_at": "2018-10-18T16:01:10.000Z"
    },
    {
      "evidence_id": "TOomLInj6iWmP3N8qfCXrB",
      "dispute_id": "bVTprrwk0gygTLZ96VX1oB",
      "evidence_file": {
        "filename": "evidence.tiff",
        "filetype": "image/tiff"
      },
      "evidence_type": "GENERIC_EVIDENCE",
      "uploaded_at": "2018-10-18T16:01:10.000Z"
    }
  ],
  "cursor": "G1aSTRm48CLjJsg6Sg3hQN1b1OMaoVuG"
}

Share feedback

Thanks for visiting the Square API documentation. What's on your mind?