Skip to main content
POST
/
Cortina
/
Prepaid
/
Void
Cortina Prepaid Void
curl --request POST \
  --url https://{domain}:{port}/api/Cortina/Prepaid/Void \
  --header 'Content-Type: application/*+json' \
  --data '
{
  "ActorInfo": {
    "Country": {
      "Alpha2Code": "string",
      "Alpha3Code": "string",
      "Name": "string",
      "NumericCode": "string"
    },
    "GeoLocation": {
      "Address": "string",
      "City": "string",
      "CountryCode": "string",
      "Latitude": "double",
      "Longitude": "double",
      "State": "string",
      "ZipCode": "string"
    },
    "Id": 2001102296,
    "MerchantId": 10011,
    "Name": "Far East Dev Zone",
    "OperatorId": 2000305191,
    "OperatorName": "TanyaT_OP"
  },
  "BasicInfo": {
    "Amount": 0.1,
    "CurrencyCode": "USD",
    "CurrencyNumeric": 376,
    "IsProductSelected": true,
    "MachineAuTime": "string",
    "NayaxTransactionId": 0,
    "SiteId": 12,
    "TimeoutMS": 15000,
    "TransactionId": 2.3658433596983443e+35
  },
  "CardData": {
    "BrandInfo": {
      "PrimaryDescription": "string",
      "PrimaryId": "string",
      "SecondaryDescription": "string",
      "SecondaryId": "string"
    },
    "CardNumber": "string",
    "EMVData": "string",
    "EntryMode": "string",
    "ExpMonth": "string",
    "ExpYear": "string",
    "IDNumber": "string",
    "RandomNumber": "string"
  },
  "CustomData": {
    "Actor": 12312312,
    "DirectActor": 12312312,
    "Distributor": "superDistributor",
    "Machine": 131231348,
    "Operator": 123121434134
  },
  "DeviceInfo": {
    "FWVersion": "string",
    "HwSerial": "string",
    "Type": "ONYX"
  },
  "MachineInfo": {
    "City": "string",
    "Country": {
      "Alpha2Code": "US",
      "Alpha3Code": "USA",
      "Name": "United States of America",
      "NumericCode": 840
    },
    "DecimalPlace": 2,
    "GeoLocation": {
      "Address": "string",
      "City": "string",
      "CountryCode": "string",
      "Latitude": "double",
      "Longitude": "double",
      "State": "string",
      "ZipCode": "string"
    },
    "GroupId": "Beverages",
    "Id": 869761713,
    "Name": "TestPayStaticQR V2",
    "Offset": 2,
    "OperatorId": 12345,
    "Region": "string",
    "TerminalId": 987654321,
    "ZipCode": 10001
  },
  "PaymentInfo": {
    "AdditionalData": "string",
    "AuthAmount": 0.1,
    "AuthCode": 333333,
    "AuthDateTime": 230221101008,
    "AuthSource": 555555,
    "IsGatewayTimeout": true,
    "RRN": 111111,
    "SettAmount": 0.1,
    "SettDateTime": 230221101009,
    "SrvTranId": 2.3658433596983443e+35,
    "Token": "string",
    "TraceNumber": 4444
  },
  "ReasonCode": 999,
  "ReasonText": "General exception"
}
'
{
  "Balance": {
    "RegularCredit": 0,
    "RegularCreditType": 0,
    "RevalueCredit": 0
  },
  "PaymentInfo": {
    "AuthAmount": 0.1,
    "AuthCode": "333333",
    "AuthDateTime": "230221101008",
    "AuthSource": "55555",
    "IsGatewayTimeout": false,
    "RRN": "111111",
    "SettAmount": 0.1,
    "SettDateTime": "230221101009",
    "SrvTranId": "236584335969834429321847829253667359",
    "Token": "",
    "TraceNumber": "4444"
  },
  "Status": {
    "Code": 0,
    "StatusMessage": "string",
    "Verdict": "Approved"
  }
}
Reverses an authorized prepaid payment. This endpoint cancels a transaction that was approved but not finalized. It releases the hold on the prepaid funds or credits, immediately updating the card’s balance to reflect the reversal.

Body

ReasonCode
integer<int16>
ReasonText
string
BasicInfo
object

Basic transaction information.

DeviceInfo
object

Hardware and firmware information of the Nayax device.

MachineInfo
object

Information about the machine involved in the transaction.

ActorInfo
object

Merchant (Actor) details.

CustomData
object

Custom Fields Information, Contact Nayax TPOC to define.

CardData
object

Additional data we read from the card (EMV data, expiration date, cvv2, etc.)

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.

Response

Success

Balance
object

Type of Balance object Optional Pre-Paid balance details

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.

PosDisplay
object
Status
object

Transaction status