Skip to main content
POST
/
Cortina
/
CreditCard
/
Cancel
Cortina Credit Card Cancel
curl --request POST \
  --url https://{domain}:{port}/api/Cortina/CreditCard/Cancel \
  --header 'Content-Type: application/*+json' \
  --data '
{
  "ActorInfo": {
    "Country": {
      "Alpha2Code": "US",
      "Alpha3Code": "USA",
      "Name": "UNITED STATES",
      "NumericCode": "840"
    },
    "DynamicURL": "",
    "GeoLocation": {
      "Address": "River",
      "City": "Zambezi",
      "CountryCode": "ZM",
      "State": "State",
      "ZipCode": "234234"
    },
    "Id": 2001537302,
    "MerchantId": "999999888885",
    "Name": "TestPayCC V2 OP"
  },
  "BasicInfo": {
    "Amount": 0.1,
    "CurrencyCode": "ILS",
    "CurrencyNumeric": "376",
    "MachineAuTime": "291121220832",
    "NayaxTransactionId": 3584688030,
    "PaymentMethodID": 1,
    "SiteId": 1,
    "TimeoutMS": 15000
  },
  "CardData": {
    "BrandInfo": {
      "PrimaryDescription": "MASTERCARD",
      "PrimaryId": "8",
      "SecondaryDescription": "",
      "SecondaryId": "0"
    },
    "CardHolderName": "Test Card Holder",
    "CardNumber": "****",
    "EntryMode": "MCR",
    "ExpMonth": "01",
    "ExpYear": "23"
  },
  "CustomData": {
    "Actor": "****"
  },
  "DeviceInfo": {
    "FWVersion": "",
    "HwSerial": "0000000000000100"
  },
  "MachineInfo": {
    "City": "Abbeville",
    "Country": {
      "Alpha2Code": "US",
      "Alpha3Code": "USA",
      "Name": "UNITED STATES",
      "NumericCode": "840"
    },
    "DecimalPlace": 2,
    "GeoLocation": {
      "Address": "River",
      "City": "Zambezi",
      "CountryCode": "ZM",
      "ZipCode": "234234"
    },
    "Id": 106791869,
    "Name": "Itai_TestPayCC V2",
    "Offset": "3.00",
    "TerminalId": "8888888844",
    "ZipCode": "54321"
  },
  "PaymentInfo": {
    "AuthAmount": 0.1,
    "AuthCode": "333333",
    "AuthDateTime": "291121220832",
    "AuthSource": "55555",
    "IsGatewayTimeout": false,
    "RRN": "111111",
    "SettDateTime": "11/29/2021 7",
    "Token": "Cortina V2 Stub Tester Token",
    "TraceNumber": "4444"
  },
  "ReasonCode": 0,
  "ReasonText": "Unknown Error"
}
'
{
  "Status": {
    "Code": 0,
    "StatusMessage": "Cortina V2 Stub Tester",
    "Verdict": "Approved"
  }
}
Stops a transaction that hasn’t finished yet. This endpoint cancels a credit card payment that was authorized but not yet finalized. It stops the process, releases the held funds back to the customer, and records the reason for the cancellation.

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.)

Products
object[]
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.

EncryptInfo
object

Contains encryption metadata used for secure transmission.

Response

Success

Status
object

Transaction status