• 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/bVTprrwk0gygTLZ96VX1oB/evidence \
  -H 'Square-Version: 2022-11-16' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json'
Response JSON
{
  "evidence": [
    {
      "dispute_id": "bVTprrwk0gygTLZ96VX1oB",
      "evidence_file": {
        "filename": "customer-interaction",
        "filetype": "JPG"
      },
      "uploaded_at": "2022-05-10T15:57:13.802Z",
      "evidence_type": "CARDHOLDER_COMMUNICATION",
      "id": "CpfnkwGselCwS8QFvxN6"
    },
    {
      "dispute_id": "bVTprrwk0gygTLZ96VX1oB",
      "evidence_file": {
        "filename": "",
        "filetype": ""
      },
      "uploaded_at": "2022-05-18T16:01:10.000Z",
      "evidence_type": "REBUTTAL_EXPLANATION",
      "id": "TOomLInj6iWmP3N8qfCXrB"
    }
  ]
}