Skip to main content
POST
/
v1
/
payment
/
refund-decline
Decline a Payment Refund
curl --request POST \
  --url https://qa-lynx.nayax.com/operational/v1/payment/refund-decline \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "DeclineReason": "<string>",
  "TransactionId": 123,
  "SiteId": 123,
  "MachineAuTime": "2023-11-07T05:31:56Z"
}
'
{
  "Result": "<string>",
  "Status": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
DeclineReason
string | null

The reason for declining the refund request.

TransactionId
integer<int64>

The unique identifier of the transaction for which the refund is being declined.

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 refund decline request was successfully processed, and the response contains the result of the request.

Result
string | null

The result of the refund request, indicating success or failure.

Status
string | null

The current status of the refund request.