Skip to main content
POST
/
v1
/
payment
/
upload-refund
Upload Refund Documentation
curl --request POST \
  --url https://qa-lynx.nayax.com/operational/v1/payment/upload-refund \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "FileName": "<string>",
  "FileData": "aSDinaTvuI8gbWludGxpZnk=",
  "TransactionId": 123,
  "SiteId": 123,
  "MachineAuTime": "2023-11-07T05:31:56Z"
}
'
{
  "FileURL": "<string>"
}

Authorizations

Authorization
string
header
required

Enter your API key. It's required to authenticate API requests.

Body

application/json
FileName
string | null

The name of the file being uploaded.

FileData
string<byte> | null

The base64-encoded content of the file being uploaded.

TransactionId
integer<int64>

The unique identifier of the transaction associated with the file.

SiteId
integer<int32>

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 - application/json

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

FileURL
string | null

The URL where the uploaded file can be accessed.