# Upload dispute evidence

Uploads one evidence file (multipart) to a dispute that is still open. Callable by the paying organization or the merchant owner; at most 5 files per dispute, 5 MB each.

`POST /v1/disputes/{id}/files`

Uploads one evidence file (multipart) to a dispute that is still open. Callable by the paying organization or the merchant owner; at most 5 files per dispute, 5 MB each.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | Dispute id (dsp_...). |

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **404**: The resource does not exist or belongs to another organization.
- **409**: Conflicts with the current state, for example a reused Idempotency-Key or an illegal state change.

Example 200 response:

```json
{
  "file": {
    "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "dispute_id": "dsp_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "name": "Example",
    "content_type": "string",
    "size": 1,
    "uploaded_by": "string",
    "created_at": "2026-11-16T12:00:00Z"
  },
  "dispute": {
    "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "org_id": "org_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "receipt_id": "rcpt_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "intent_id": "pi_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "merchant_id": "mch_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "merchant_name": "string",
    "merchant_tier": "VERIFIED",
    "reason": "not_delivered",
    "description": "Example",
    "status": "active",
    "resolution": "string",
    "merchant_response": "string",
    "amount_base_units": "50000",
    "amount_display": "string"
  }
}
```
