v1

latestOpenAPI 3.0.12026-07-26181265484.9 KB
Cortina Credit Card

Cortina Credit Card Void

post/Cortina/CreditCard/Void

Request body

ReasonCodeinteger
ReasonTextstring

Example request

{
  "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": 3.9,
    "CurrencyCode": "ILS",
    "CurrencyNumeric": "376",
    "MachineAuTime": 81221130018,
    "NayaxTransactionId": 3584701816,
    "PaymentMethodID": 1,
    "SiteId": 1,
    "TimeoutMS": 15000,
    "TransactionId": "12345"
  },
  "CardData": {
    "BrandInfo": {
      "PrimaryDescription": "MASTERCARD",
      "PrimaryId": "8",
      "SecondaryDescription": "",
      "SecondaryId": "0"
    },
    "CardHolderName": "Test Card Holder",
    "CardNumber": "****",
    "EntryMode": "MCR",
    "ExpMonth": "01",
    "ExpYear": "23"
  },
  "CustomData": {
    "Actor": "****",
    "Machine": "****"
  },
  "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": 3.9,
    "AuthCode": "12345",
    "AuthDateTime": "12345",
    "AuthSource": "12345",
    "IsGatewayTimeout": false,
    "RRN": "12345",
    "SettAmount": 3.9,
    "SettDateTime": "12345",
    "SrvTranId": "12345",
    "Token": "12345",
    "TraceNumber": "12345"
  },
  "ReasonCode": 50
}

Response

Success

Example response

{
  "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,
    "CustomDeclineCode": 0,
    "StatusMessage": "Cortina V2 Stub Tester",
    "Verdict": "Approved"
  }
}