action squareup_list_dispute_evidence { label: "ListDisputeEvidence" description: "Returns a list of evidence associated with a dispute." provider: squareup method: GET path: "/v2/disputes/{dispute_id}/evidence" encoding: json input: { type: "object" properties: { cursor: { type: "string" } dispute_id: { type: "string" } } required: ["dispute_id"] additionalProperties: false } output: { type: "object" description: "Defines the fields in a `ListDisputeEvidence` response." properties: { cursor: { type: "string" description: "The pagination cursor to be used in a subsequent request.\nIf unset, this is the final response. For more information, see [Pagination](https://developer.squareup.com/docs/basics/api101/pagination)." } errors: { type: "array" description: "Information about errors encountered during the request." items: { type: "object" description: "Represents an error encountered during a request to the Connect API.\n\nSee [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) for more information." required: ["category", "code"] properties: { category: { type: "string" description: "The high-level category for the error." } code: { type: "string" description: "The specific code of the error." } detail: { type: "string" description: "A human-readable description of the error for debugging purposes." } field: { type: "string" description: "The name of the field provided in the original request (if any) that\nthe error pertains to." } } } } evidence: { type: "array" description: "The list of evidence previously uploaded to the specified dispute." items: { type: "object" properties: { dispute_id: { type: "string" description: "The ID of the dispute the evidence is associated with." } evidence_file: { type: "object" description: "A file to be uploaded as dispute evidence." properties: { filename: { type: "string" description: "The file name including the file extension. For example: \"receipt.tiff\"." } filetype: { type: "string" description: "Dispute evidence files must be application/pdf, image/heic, image/heif, image/jpeg, image/png, or image/tiff formats." } } } evidence_id: { type: "string" description: "The Square-generated ID of the evidence." } evidence_text: { type: "string" description: "Raw text" } evidence_type: { type: "string" description: "The type of the evidence." } id: { type: "string" description: "The Square-generated ID of the evidence." } uploaded_at: { type: "string" description: "The time when the next action is due, in RFC 3339 format." } } } } } } }