Authorization command to notify about the result of a card tap to initiate the authorization process with the Cortina payment provider.
This command is essential for proceeding to transaction confirmation or rejection handling.
Request
Nayax’s servers send a POST request to your configuredAuthorization endpoint, which would be of the following format:
(customer's URL)/Cortina/PrePaid/Authorization
The payload includes the full result of the card scan operation:
Request Parameters
The following table describes the parameters included in the request body:Reference Fields
Reference Fields
| Field | Type | Description |
|---|---|---|
TransactionId | String(36) | The unique identifier for this transaction.
|
NayaxTransactionId | Int(64) | The Nayax internal unique identifier for the transaction. This ID is echoed in further related requests. |
Amount | Double | The payment amount (Decimal with max 3 digits for cents).
|
CurrencyCode | String(3) | The currency represented by its ISO 4217 Alpha-3 code (e.g., USD, EUR). |
CurrencyNumeric | String(3) | The currency represented by its ISO 4217 Numeric-3 code (e.g., 840 for USD). |
SiteId | Int(16) | The identifier for the Nayax server region hosting the transaction. |
MachineAuTime | String | The Machine Authorization Timestamp. |
TimeoutMS | Int(32) | The Nayax Server Timeout configuration, specified in milliseconds. |
IsProductSelected | Bool | Indication of whether the product was pre-selected before the payment process began. |
PaymentMethodID | Int(32) | The Nayax identifier for the specific payment provider used. |
BillingProviderId | Int(32) | The Nayax identifier for the associated billing provider. |
AuditNumber | Int(64) | Field reserved for Nayax internal use only. |
NayaxRRN | String | A Reference Number used as an External Transaction Identification for external parties.
|
IsDeferredAuthorization | Bool | Boolean indicator. Further information is unavailable. |
AgeLimitation | Int(16) | The minimum age required to permit the transaction. |
IsSoftDeclineCompletion | Bool | Boolean indicator. Further information is unavailable. |
TransitTransactionType | Int(32) | The transaction type for transit payments (Enum values):
|
DenyListIndication | Int(32) | Indicates the effect on the consumer’s Deny List status (Enum values):
|
HwSerial | String | The Nayax Device Hardware serial number. |
FWVersion | String | The device Firmware version number. |
Type | String | The Nayax Device Type. |
Id | Int(64) | The unique machine entity ID allocated in Nayax’s back office system. |
Name | String(255) | The Machine Name as configured in Nayax’s back office. |
ExternalId | String(200) | The Machine External ID (Machine number - operator) provided by the operator in Nayax’s back office. |
Type | String(50) | The Machine Type as defined in Nayax’s back office. |
TerminalId | String(255) | The Terminal identifier. Contact Nayax TPOC for definition. |
DecimalPlace | Int(64) | The decimal point location for amounts used on this machine.
|
Offset | String(255) | The UTC timezone offset for the machine’s location. |
GroupId | String | Field reserved for Nayax internal use only. |
OperatorId | String(255) | The Merchant ID as defined in Nayax’s back office. |
Region | String(255) | The Region as defined in Nayax’s back office. |
City | String(255) | The machine’s City as defined in Nayax’s back office. |
ZipCode | String(255) | The machine’s Zip Code as defined in Nayax’s back office. |
Name | String | The Country Full Name. |
NumericCode | String(3) | The ISO-3166-1 Numeric-3 code for the country (e.g., 840). |
Alpha2Code | String(2) | The ISO-3166-1 Alpha-2 code for the country (e.g., US). |
Alpha3Code | String(3) | The ISO-3166-1 Alpha-3 code for the country (e.g., USA). |
Intra | String | The Intra Region for geographical diversification. |
State | String | The Actor geo state code. |
City | String(255) | The City associated with the actor. |
CountryCode | String | The Country code (ISO3). |
ZipCode | String(255) | The Zip Code associated with the actor. |
Address | String(255) | The Address associated with the actor. |
Latitude | String | The Machine Location Latitude. |
Longitude | String | The Machine Location Longitude. |
Id | Int(64) | The Actor ID. |
Name | String(255) | The Direct Merchant Name. |
OperatorId | Int(64) | The Merchant Operator ID. |
OperatorName | String | The Merchant Operator Name. |
MerchantId | Int(64) | The Merchant ID. Contact Nayax TPOC to define. |
DynamicURL | String | The Actor level URL configuration. |
Name | String | The Country Full Name. |
NumericCode | String(3) | The ISO-3166-1 Numeric-3 code. |
Alpha2Code | String(2) | The ISO-3166-1 Alpha-2 code. |
Alpha3Code | String(3) | The ISO-3166-1 Alpha-3 code. |
Intra | String | The Intra Region for geographical diversification. |
State | String | The Actor geo state code. |
City | String(255) | The City associated with the actor. |
CountryCode | String | The Country code (ISO3). |
ZipCode | String(255) | The Zip Code associated with the actor. |
Address | String(255) | The Address associated with the actor. |
Latitude | String | The Machine Location Latitude. |
Longitude | String | The Machine Location Longitude. |
MCC | Int(32) | Merchant Category Code. Used to classify merchants by the type of goods or services provided. |
SubMerchantId | String(255) | The Sub Merchant identifier. Contact Nayax TPOC to define. |
DirectActor | String | Custom data for the Direct Actor in JSON format. |
Operator | String | Custom data for the Operator in JSON format. |
Distributor | String | Custom data for the Distributor in JSON format. |
Actor | String | Custom data for the Actor in JSON format. |
Machine | String | Custom data for the Machine in JSON format. |
SoftDecline | String | Custom data related to a Soft Decline in JSON format. |
CardNumber | String | Card details sent based on transaction type:
|
EntryMode | String(4) | Indicates how the card details were read. Common values include:
|
ExpYear | String | The card’s expiration year (YY format). Conditional: Only sent when Interface is 1 or 10. |
ExpMonth | String | The card’s expiration month (MM format). Conditional: Only sent when Interface is 1 or 10. |
EMVData | String | A string containing EMV tags in TLV (Tag-Length-Value) format. |
CVV2 | String | The Card Verification Value 2 (CVV2). |
IDNumber | String | The ID Number associated with the cardholder or transaction. |
RandomNumber | String | Further information is unavailable. |
PrimaryId | String | The Primary Brand Id. |
PrimaryDescription | String | The Primary Brand Description. |
SecondaryId | String | The Secondary Brand Id (if applicable). |
SecondaryDescription | String | The Secondary Brand Description (if applicable). |
CardHolderName | String | The Card Holder Name. |
IsDebitCard | Bool | Indication if card is a Debit or Prepaid card. |
SrvTranId | String | The Integrator’s internal transaction ID.
|
AuthCode | String(40) | The External Authorization Code (usually from the Card Issuer’s bank). |
AuthAmount | Double | The original amount requested in the /Authorization request. |
SettAmount | Double | The original amount requested in the /Settlement or /Sale process. Irrelevant for Authorization. |
RRN | String | Reference Retrieval Number. Highly recommended to be visible to the end consumer/card holder. |
Token | String(256) | A unique token for the transaction. For Nayax Internal use only. |
AuthDateTime | String | The date and time string when the /Authorization took place. Format:ddMMyyHHmmss. |
SettDateTime | Double | The Settlement Date/Time. Irrelevant for Authorization. |
TraceNumber | String | The Trace Number. For Nayax Internal use only. |
AuthSource | String(5) | For Nayax Internal use only. |
AdditionalData | String | Additional data sent as a JSON format string. |
IsGatewayTimeout | Bool | Indication of whether a gateway timeout occurred. |
ProviderExternalData | String | External data from the provider in JSON format string. |
InitiateTranReference | Int(64) | Conditional. Reflects the original Nayax Transaction ID for prepaid loyalty card re-attempts. |
IsRevalueCard | Bool | Indication of whether the card is allowed to be revalued. |
Response
The Authorization Response that the customer’s payment method would send to Nayax’s servers. The payload should look as follows:Response Parameters
The following table describes the fields returned in the API response:Reference Fields
Reference Fields
| Field | Type | Description |
|---|---|---|
Verdict | String | The constant string status of the request:
|
Code | Int(32) | Conditional: Only returned if Verdict is Declined. The mandatory decline codes:
|
StatusMessage | String(255) | The transaction status message, provided as a free text field or for additional varying data. |
CustomDeclineCode | String | Used to specify a custom decline code (e.g., for Soft Decline or Switch Interface). This value may be the acquirer’s response code or composed of other data. |
SrvTranId | String | The Integrator’s internal transaction ID.
|
AuthCode | String(40) | The External Authorization Code (usually from the Card Issuer’s bank). |
AuthAmount | Double | The original amount requested in the /Authorization Request. |
SettAmount | Double | The original amount requested in the /Settlement or /Sale process. Irrelevant for Authorization. |
RRN | String | Reference Retrieval Number. Highly recommended to be visible to the end consumer/card holder for support. |
Token | String(256) | A unique token for the transaction. For Nayax Internal use only. |
AuthDateTime | String | The date and time string when the /Authorization took place. Format:ddMMyyHHmmss. |
SettDateTime | Double | The Settlement Date/Time. Irrelevant for Authorization. |
TraceNumber | String | The Trace Number. For Nayax Internal use only. |
AuthSource | String(5) | For Nayax Internal use only. |
AdditionalData | String | Additional data sent as a JSON format string. Contact Nayax TPOC to define. |
IsGatewayTimeout | Bool | Indication (valid in response) of whether a gateway timeout occurred. |
ProviderExternalData | String | External data from the provider in JSON format string. |
InitiateTranReference | Int(64) | Conditional: Reflects the original Nayax Transaction ID for prepaid loyalty card re-attempts. |
IsRevalueCard | Bool | Indication of whether the card is allowed to be revalued (have funds added). |
RegularCreditType | Int(32) | Defines what the RegularCredit field represents (Enum values):
|
RegularCredit | Double | The Regular Credit amount or number of transactions based on RegularCreditType. Decimal place 2. |
RevalueCredit | Int(32) | The Revalue Credit amount. Only available if the card is configured as revalue-able. Decimal place 2. |