Skip to main content
POST
/
Cortina
/
Prepaid
/
Authorization
Cortina Prepaid Authorization
curl --request POST \
  --url https://{domain}:{port}/api/Cortina/Prepaid/Authorization \
  --header 'Content-Type: application/*+json' \
  --data '
{
  "BasicInfo": {
    "Amount": 5,
    "CurrencyCode": "ILS",
    "CurrencyNumeric": "376",
    "TransactionId": "N99O4XURDQYJZIK4OTCAWF1RHHA40TZWVCRB",
    "AgeLimitation": 18,
    "AuditNumber": 342,
    "BillingProviderId": 1,
    "IsDeferredAuthorization": true,
    "IsProductSelected": true,
    "IsSoftDeclineCompletion": true,
    "MachineAuTime": 71221132914,
    "NayaxRRN": "111111",
    "NayaxTransactionId": 3584697384,
    "PaymentMethodID": 1,
    "SiteId": 1,
    "TimeoutMS": 15000,
    "TransitElement": {
      "DenyListIndication": 0,
      "TransitTransactionType": 1
    }
  },
  "DeviceInfo": {
    "FWVersion": "4.0.0.22-RC01 - Aug 25 2021",
    "HwSerial": 434324119376526,
    "Type": "Onyx"
  },
  "MachineInfo": {
    "City": "Abbeville",
    "Country": {
      "Alpha2Code": "US",
      "Alpha3Code": "USA",
      "Intra": "Europe",
      "Name": "UNITED STATES",
      "NumericCode": "840"
    },
    "DecimalPlace": 2,
    "ExternalId": "OperatorExternalID",
    "GeoLocation": {
      "Address": "River",
      "City": "Zambezi",
      "CountryCode": "ZM",
      "Latitude": 51.0003431,
      "Longitude": 23.745245,
      "State": "Alabama",
      "ZipCode": "234234"
    },
    "GroupId": "String",
    "Id": 106791869,
    "Name": "Itai_TestPayCC V2",
    "Offset": "3.00",
    "OperatorId": 2001537302,
    "Region": "EU",
    "TerminalId": "8888888844",
    "Type": "machine type",
    "ZipCode": "22448Z"
  },
  "ActorInfo": {
    "Country": {
      "Alpha2Code": "US",
      "Alpha3Code": "USA",
      "Intra": "Europe",
      "Name": "UNITED STATES",
      "NumericCode": "840"
    },
    "DynamicURL": "https://www.nayax.com/alternativeURL",
    "GeoLocation": {
      "Address": "River",
      "City": "Zambezi",
      "CountryCode": "ZM",
      "Latitude": 51.0003431,
      "Longitude": 23.745245,
      "State": "Alabama",
      "ZipCode": "234234"
    },
    "Id": 2001537302,
    "MCC": 455,
    "MerchantId": 999999888885,
    "Name": "TestPayCC V2 OP",
    "OperatorId": 2001537302,
    "OperatorName": "TestPayCC V2 OP _ Sub Merchant",
    "SubMerchantId": 999999888886
  },
  "CustomData": {
    "Actor": "String",
    "DirectActor": "String",
    "Distributor": "String",
    "Machine": "String",
    "Operator": "String",
    "SoftDecline": "String"
  },
  "CardData": {
    "BrandInfo": {
      "PrimaryDescription": "VISA",
      "PrimaryId": "6",
      "SecondaryDescription": "string",
      "SecondaryId": "0"
    },
    "CVV2": "****",
    "CardHolderName": "Test Card Holder",
    "CardNumber": "****",
    "EMVData": "string",
    "EntryMode": "MCR",
    "ExpMonth": "01",
    "ExpYear": "23",
    "IDNumber": "****",
    "IsDebitCard": true,
    "RandomNumber": "string"
  },
  "PaymentInfo": {
    "SrvTranId": "3584697388",
    "AuthCode": "333333",
    "AuthAmount": 5.5,
    "SettAmount": 5.5,
    "RRN": "111111",
    "Token": "string",
    "AuthDateTime": "071221133300",
    "SettDateTime": "071221133330",
    "TraceNumber": "4444",
    "AdditionalData": "string",
    "IsGatewayTimeout": false,
    "ProviderExternalData": "string",
    "InitiateTranReference": 11223344,
    "IsRevalueCard": false
  }
}
'
{
  "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,
    "StatusMessage": "string",
    "Verdict": "Approved"
  }
}
Checks the balance and authorizes a prepaid card. This endpoint verifies if a prepaid card is valid and has enough funds (or credits) for the purchase. It returns the approval decision along with the card’s current balance or remaining uses.

Body

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.

Status
object

Transaction status