v1

latestOpenAPI 3.0.12026-07-26181265484.9 KB
Cortina Prepaid

Cortina Prepaid Sale

post/Cortina/Prepaid/Sale

Request body

Example request

{
  "ActorInfo": {
    "Country": {
      "Alpha2Code": "string",
      "Alpha3Code": "string",
      "Name": "string",
      "NumericCode": "string"
    },
    "GeoLocation": {
      "Address": "string",
      "City": "string",
      "CountryCode": "string",
      "Latitude": 32.8198988,
      "Longitude": 34.998819,
      "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"
    },
    "CardHolderName": "Test Card Holder",
    "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": 32.8198988,
      "Longitude": 34.998819,
      "State": "string",
      "ZipCode": "string"
    },
    "GroupId": "Beverages",
    "Id": 869761713,
    "Name": "TestPayStaticQR V2",
    "Offset": 2,
    "OperatorId": 12345,
    "Region": "string",
    "TerminalId": 987654321,
    "Type": "Food",
    "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
  },
  "Products": [
    {
      "Code": 11,
      "Measurement": false,
      "Name": "Stella",
      "Price": 0.1,
      "UnitOfMeasurement": "USD"
    },
    {
      "Code": 12,
      "Measurement": false,
      "Name": "expensiveSprite",
      "Price": 6,
      "UnitOfMeasurement": "USD"
    }
  ]
}

Response

Success

Example response

{
  "Balance": {
    "RegularCredit": 0,
    "RegularCreditType": 0,
    "RevalueCredit": 0
  },
  "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
  },
  "Status": {
    "Code": 0,
    "CustomDeclineCode": 0,
    "StatusMessage": "string",
    "Verdict": "Approved"
  }
}