Disputes

Upload file

Upload a file to use as evidence in a dispute. Your file must be in either JPEG/JPG, PNG or PDF format, and be no larger than 4MB.

post/files

Request

Request body multipart/form-data

filestring required

The path of the file to upload, and its type. <br><i>This must be a local path.</i>

purposestring required

The purpose of the file upload.

If the file is a supporting document for a dispute, set this to dispute_evidence. If the file is a supporting document for arbitration, set this to arbitration_evidence.

Example request

{
  "file": "file=@/path/receipt.png;type=image/png",
  "purpose": "dispute_evidence"
}

Response

File uploaded successfully

idstring

The file identifier

Example response

{
  "id": "file_6lbss42ezvoufcb2beo76rvwly",
  "_links": {
    "self": {
      "href": "https://{prefix}.api.checkout.com/files/file_6lbss42ezvoufcb2beo76rvwly"
    }
  }
}

Changes

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