---
title: "Upload Refund Documentation"
method: POST
path: "/v1/payment/upload-refund"
tags: ["Payment"]
---

# Upload Refund Documentation

`POST /v1/payment/upload-refund`

## Request

- Base URL: `https://example.com:443`
- URL: `https://example.com:443/v1/payment/upload-refund`
- Auth: none required
- TypeScript: <https://skmtc.dev/nayax/apis/nayax-cortina-api/docs/v1/payment/upload-refund/post.ts> (a function with typed inputs; its response is checked against the schema)

Uploads a file related to a payment refund. The file could be documentation or other relevant data associated with the refund.

## Request body

- PaymentUploadFileRequestLynxModel
  - `FileName` string, nullable: The name of the file being uploaded.
  - `FileData` string, byte, nullable: The base64-encoded content of the file being uploaded.
  - `TransactionId` integer: The unique identifier of the transaction associated with the file.
  - `SiteId` integer: The unique identifier of the site where the transaction occurred.
  - `MachineAuTime` string, date-time: The machine's authorization time associated with the transaction.

## Response `200`

The file was successfully uploaded, and the response contains the URL to access the uploaded file.

- UploadFileLynxModelResponse
  - `FileURL` string, nullable: The URL where the uploaded file can be accessed.

---

[API](https://skmtc.dev/nayax/apis/nayax-cortina-api.md) - [All operations](https://skmtc.dev/nayax/apis/nayax-cortina-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nayax/apis/nayax-cortina-api/revisions/421f6f83c257?raw)
