List Dispute Evidence Files

attention

This API is available for Finix Flex and Finix Core customers.

List all uploaded Dispute evidence files.

Copy
Copied
curl https://finix.sandbox-payments-api.com/disputes/DIs7yQRkHDdMYhurzYz72SFk/evidence \
    -H "Content-Type: application/vnd.json+api" \
    -u  USsRhsHYZGBPnQw8CByJyEQW:8a14c2f9-d94b-4c72-8f5c-a62908e5b30e

Example Response:

Copy
Copied
{
  "_embedded" : {
    "evidences" : [ {
      "id" : "DFnA9eVoYxRnxxLKzgcGGxYL",
      "tags" : {
        "file-extension" : ".pdf",
        "content-type" : "application/pdf",
        "file-name" : "testfile.pdf"
      },
      "dispute" : "DIs7yQRkHDdMYhurzYz72SFk",
      "state" : "PENDING",
      "created_at" : "2022-01-27T07:43:56.13Z",
      "updated_at" : "2022-01-27T07:43:55.90Z",
      "_links" : {
        "self" : {
          "href" : "https://finix.sandbox-payments-api.com/disputes/DIs7yQRkHDdMYhurzYz72SFk/evidence/DFnA9eVoYxRnxxLKzgcGGxYL"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://finix.sandbox-payments-api.com/disputes/DIs7yQRkHDdMYhurzYz72SFk/evidence?offset=0&limit=20&sort=created_at,desc&sort=id,desc"
    }
  },
  "page" : {
    "offset" : 0,
    "limit" : 20,
    "count" : 1
  }
}

HTTP Request

GET https://finix.sandbox-payments-api.com/disputes/:DISPUTE_ID/evidence

URL Parameters

Parameter Description
:DISPUTE_ID ID of the Dispute

Response

Field Type Description
id string ID of the Dispute evidence file
content_type string Specifies the data being sent to and from the client
dispute string ID of the Dispute
file_extension string File format type
file_name string Dispute file name
state string The state of the evidence upload. There are four available values: PENDING, SUCCEEDED, CANCELED, or FAILED
tags object Key value pair for annotating custom metadata
created_at string Timestamp of when the Dispute evidence file was created
updated_at string Timestamp of when the Dispute evidence file was updated