---
title: "Submit evidence files"
method: POST
path: "/dispute/disputes/{disputeId}/evidences/submit"
tags: ["Disputes"]
---

# Submit evidence files

`POST /dispute/disputes/{disputeId}/evidences/submit`

Finalize and submit previously uploaded evidence files for a dispute. Once submitted, the evidence is locked in and forwarded as part of your response to the dispute.

## Path parameters

- `disputeId` string, uuid, required

## Headers

- `x-idempotency-key` string, uuid, required

## Request body

- object
  - `evidenceIds` string[], required — List of evidence Ids.
  - `providerEvidenceTypeCodes` string[], required — List of type codes for each file entry on evidenceIds parameter.

## Response `200`

Evidence submitted successfully.

- object
  - `evidences` object[], required
    - `id` string, uuid, required — Unique identifier of the Dispute in Payrails.
    - `createdAt` string, date-time, required — Date and time when the Dispute was created in Payrails.
    - `updatedAt` string, date-time, required — Date and time when the Dispute was last updated in Payrails.
    - `displayTitle` string — Display title of the evidence, usually the file name.
    - `status` 'Active' | 'Inactive' | 'Unknown' — Status of the dispute evidence.
    - `provenance` 'Merchant' | 'Payrails' | 'Unknown' — Provenance of the dispute evidence.
    - `contentType` string — MIME type of the evidence content.
    - `contentLength` integer — Size of the evidence content in bytes.
    - `payload` object — Inline JSON payload for inline-context evidences. Present only for evidences created from `inlineContexts`; omitted for file-backed evidence.
    - `workspaceId` string, uuid — Workspace ID that the Dispute belongs to.
    - `labels` string[] — Labels assigned to this evidence for the dispute, used to categorise the document during representment.

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `429` — Too Many Requests.
- `500` — Internal Server Error.

---

[API](https://skmtc.net/payrails/apis/payrails-api-reference.md) · [All operations](https://skmtc.net/payrails/apis/payrails-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/payrails/payrails-api-reference/versions/9dd2f0158582/schema)
