# Upload Files as Dispute Evidence Upload a file as evidence for a . - You can upload up to 8 files; the total size of the uploaded files combined cannot exceed 10 MB. - The allowed file formats include JPEG, PDF. - Individual JPEG and PDG files can't exceed 1 MB. Endpoint: POST /disputes/{dispute_id}/evidence Version: 2022-02-01 Security: BasicAuth ## Path parameters: - `dispute_id` (string, required) ID of to mange evidence for. ## Request fields (multipart/form-data): - `file` (string) The binary contents of the file. ## Response 201 fields (application/json): - `id` (string) The ID of the resource. Example: "DFxxxxxxxxxxxxxxxxxx" - `created_at` (string) Timestamp of when the object was created. - `updated_at` (string) Timestamp of when the object was last updated. - `application` (string) The ID of the resource that the was created under. Example: "APgPDQrLD52TYvqazjHJJchM" - `dispute` (string) The ID of the associated with the evidence. - `state` (string) Result of the evidence uploaded. - : The evidence file has not yet been submitted to the Processor. No user action is required. - : The evidence file has been successfully sent to the Processor. No further user action is required. - : The evidence file upload was not completed due to user action. - : An issue occurred. User action is required. Any of the following issues could have occurred: - There was an error in the system and the user should retry uploading their evidence file. - There is an issue with the file and the user should retry uploading a different file. - There is an issue and the user should contact Support. Enum: "PENDING", "SUCCEEDED", "CANCELED", "FAILED" - `identity` (string) - The ID of the seller's resource. - This is the resource that was used to create the seller's . Example: "IDpYDM7J9n57q849o9E9yNrG" - `merchant` (string) - The ID of the seller's resource. - This is the account the was filed against. Example: "MUucec6fHeaWo3VHYoSkUySM" - `tags` (object,null) Include up to 50 pairs to annotate requests with custom metadata. - Maximum character length for individual is 40. - Maximum character length for individual is 500. (For example, , , ) - `_links` (object) For your convenience, every response includes several URLs which link to resources relevant to the request. You can use these to make your follow-up requests and quickly access relevant IDs. - `_links.self` (object) Link to the resource that was used in the request. - `_links.self.href` (string) ## Response 401 fields (application/json): - `total` (integer) - `_embedded` (object) - `_embedded.errors` (array) - `_embedded.errors.code` (string) Enum: "UNKNOWN" - `_embedded.errors.logref` (object) - `_embedded.errors.message` (string) - `_embedded.errors._links` (object) - `_embedded.errors._links.self` (object) - `_embedded.errors._links.self.href` (string) - `_embedded.errors._links.source` (object) ## Response 403 fields (application/json): - `total` (integer) - `_embedded` (object) - `_embedded.errors` (array) - `_embedded.errors.code` (string) Enum: "FORBIDDEN" - `_embedded.errors.logref` (object) - `_embedded.errors.message` (string) - `_embedded.errors._links` (object) - `_embedded.errors._links.source` (object) - `_embedded.errors._links.source.href` (string) ## Response 404 fields (application/json): - `total` (integer) - `_embedded` (object) - `_embedded.errors` (array) - `_embedded.errors.code` (string) Enum: "NOT_FOUND" - `_embedded.errors.logref` (object) - `_embedded.errors.message` (string) - `_embedded.errors._links` (object) - `_embedded.errors._links.source` (object) - `_embedded.errors._links.source.href` (string) ## Response 406 fields (application/json): - `total` (integer) - `_embedded` (object) - `_embedded.errors` (array) - `_embedded.errors.code` (string) Enum: "NOT_FOUND" - `_embedded.errors.logref` (object) - `_embedded.errors.message` (string) - `_embedded.errors._links` (object) - `_embedded.errors._links.source` (object) - `_embedded.errors._links.source.href` (string)