Disputes

Get file information

Retrieve information about a file that was previously uploaded.

get/files/{file_id}

Request

Path parameters

file_idstring required

The file identifier. It is always prefixed by file_.

Response

File information retrieved successfully

idstring

The file identifier

filenamestring

The filename, including its extension

purpose'dispute_evidence' | 'arbitration_evidence' | 'submitted_evidence'

The purpose of the file.

The value submitted_evidence represents the finalized evidence which was uploaded to the scheme portals.

sizeinteger

The size of the file upload object (in bytes)

uploaded_onstring date-time

The date and time file was uploaded (in UTC)

Example response

{
  "id": "file_6lbss42ezvoufcb2beo76rvwly",
  "filename": "receipt.jpg",
  "purpose": "dispute_evidence",
  "size": 1024,
  "uploaded_on": "2019-05-17T16:48:52.0000000+00:00",
  "_links": {
    "self": {
      "href": "https://{prefix}.api.checkout.com/files/file_6lbss42ezvoufcb2beo76rvwly"
    },
    "download": {
      "href": "https://file-bucket.s3.eu-west-1.amazonaws.com/ucdac/ucdac/6lbss42ezvoufcb2beo76rvwly?X-Amz-Expires=3600&x-amz-security-token=FQoDYXdzENL%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEa"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.