---
title: "Upload Dispute Evidence File"
method: POST
path: "/v1/payments/{payment_number}/dispute_evidence/files"
tags: ["Payments"]
---

# Upload Dispute Evidence File

`POST /v1/payments/{payment_number}/dispute_evidence/files`

Upload an evidence file for a payment.

## Path parameters

- `payment_number` string, required

## Request body

- DisputeEvidenceFileCreate
  - `file_name` string, required — Original file name, kept as part of the stored object name.
  - `file_type` string — MIME type of the file, e.g. `application/pdf`.
  - `file_base64_content` string, required — Base64-encoded file content.

## Response `201`

Successful Response

- DisputeEvidenceRead
  - `id` string, required — The ID of the dispute evidence record.
  - `payment_number` string, required — The payment number the evidence belongs to.
  - `purchase_used` boolean — Whether the purchased goods were consumed.
  - `used_at` integer — Unix timestamp when the purchased goods were consumed.
  - `usage_id` string — Partner-side identifier of the event where the goods were consumed, e.g. a match, session or quest id.
  - `file_ids` string[] — IDs of the uploaded evidence files.
  - `comment` string — Free-form note for support.
  - `modified_at` integer — Unix timestamp when the evidence was last modified.
  - `player_attributes` DisputeEvidencePlayerRead, required
    - `registered_at` integer — Unix timestamp when the player registered in the game.
    - `last_active_at` integer — Unix timestamp of the player's last activity on the platform.
    - `first_login_ip` string — IP address of the player's first login in the game.
    - `is_verified` boolean — Whether the player's account is verified on the game side.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/aghanim/apis/aghanim-server-to-server-api.md) · [All operations](https://skmtc.net/aghanim/apis/aghanim-server-to-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aghanim/aghanim-server-to-server-api/revisions/a14f6ce6d187/schema)
