Skip to main content
POST
/
Cortina
/
StaticQR
/
Refund
Cortina StaticQR Refund
curl --request POST \
  --url https://{domain}:{port}/api/Cortina/StaticQR/Refund \
  --header 'Content-Type: application/*+json' \
  --data '
{
  "ActorInfo": {
    "Id": 2001102296,
    "MerchantId": 10011,
    "Name": "Far East Dev Zone",
    "OperatorId": 2000305191,
    "OperatorName": "TanyaT_OP"
  },
  "BasicInfo": {
    "Amount": 0.1,
    "CurrencyCode": "USD",
    "CurrencyNumeric": 376,
    "SiteId": 12,
    "TransactionId": "236584335969834429321847829253667359,"
  },
  "CustomData": {
    "Actor": 12312312,
    "DirectActor": 12312312,
    "Distributor": "superDistributor",
    "Machine": 131231348,
    "Operator": 123121434134
  },
  "MachineInfo": {
    "Country": {
      "Alpha2Code": "US",
      "Alpha3Code": "USA",
      "Name": "United States of America",
      "NumericCode": 840
    },
    "DecimalPlace": 2,
    "GroupId": "Beverages",
    "Id": 869761713,
    "Name": "TestPayStaticQR V2",
    "Offset": 2,
    "OperatorId": 12345,
    "TerminalId": 987654321,
    "ZipCode": 10001
  },
  "PaymentInfo": {
    "AdditionalData": "string",
    "AuthAmount": 0,
    "AuthCode": "string",
    "AuthDateTime": "string",
    "AuthSource": "string",
    "IsGatewayTimeout": true,
    "RRN": "string",
    "SettAmount": 0,
    "SettDateTime": "string",
    "SrvTranId": "string",
    "Token": "string",
    "TraceNumber": "string"
  },
  "ReasonText": "string"
}
'
{
  "Status": {
    "StatusMessage": "Cortina V2 Stub Tester",
    "Verdict": "Approved"
  }
}
Returns a full or partial refund for a completed Static QR payment. This endpoint sends money back to the customer after a transaction completes successfully. It is typically triggered by a customer complaint (via the Nayax web system) and allows for specific refund reasons to be recorded.

Body

ActorInfo
object

Merchant (Actor) details.

BasicInfo
object

Basic transaction information.

CustomData
object

Custom Fields Information, Contact Nayax TPOC to define.

MachineInfo
object

Information about the machine involved in the transaction.

PaymentInfo
object

Identifies transaction information and references. Included in all response messages for payment calls. When used in requests (e.g. /Settlement, /Void, /Refund, /Inquiry), this object should match the PaymentInfo returned in a previous call.

ReasonCode
integer<int16>
  • Optional
  • Refund reason code (by nayax system table of error codes)
ReasonText
string
  • Optional
  • Length: 255
  • Refund reason description (by nayax system table of error codes)

Response

Success

PaymentInfo
object

Identifies transaction information and references. Included in all response messages for payment calls. When used in requests (e.g. /Settlement, /Void, /Refund, /Inquiry), this object should match the PaymentInfo returned in a previous call.

Status
object

Transaction status