Authorization command to notify the integrator about the result of a card tap in order 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 configuredAuthoirzation endpoint, which would be of the following format:
(customer's URL)/Cortina/StaticQR/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:| Field | Type | Description |
|---|---|---|
| Transaction Identifiers & Financial Details | ||
TransactionId | String(36) | The unique identifier for this transaction.
|
NayaxTransactionId | Int(64) | The Nayax internal unique ID for the transaction, echoed in further requests. |
Amount | Double | The payment amount (Decimal with max 3 digits for cents).
|
CurrencyCode | String(3) | Currency code in ISO 4217 Alpha-3 format. |
CurrencyNumeric | String(3) | Currency code in ISO 4217 Numeric-3 format. |
| Machine & Device Information | ||
SiteId | Int(16) | Region of the Nayax server. |
HwSerial | String | Nayax Device Hardware serial number. |
Type | String | Nayax Device Type. |
Id | Int(64) | Machine entity unique ID allocated in Nayax’s back office. |
Name | String(255) | Machine Name. |
TerminalId | String(255) | Terminal identifier. Contact Nayax TPOC to define. |
DecimalPlace | Int(64) | Decimal point location for amounts.
|
Offset | String(255) | UTC timezone offset. |
GroupId | String | For Nayax internal use only. |
ZipCode | String(255) | Machine Zip Code. |
| Country & Actor Details | ||
Name | String | Country Full Name (for machine location). |
NumericCode | String(3) | ISO-3166-1 Numeric-3 code. |
Alpha2Code | String(2) | ISO-3166-1 Alpha-2 code. |
Alpha3Code | String(3) | ISO-3166-1 Alpha-3 code. |
Id | Int(64) | Actor ID. |
Name | String(255) | Direct Merchant name. |
OperatorId | Int(64) | Merchant operator ID (Integer format). |
OperatorName | String | Merchant operator name. |
MerchantId | Int(64) | Merchant ID. Contact Nayax TPOC to define. |
OperatorId | String(255) | Merchant ID (String format). |
| Custom Data (JSON Strings) | ||
DirectActor | String | Direct actor custom data (String in JSON format). |
Operator | String | Operator custom data (String in JSON format). |
Distributor | String | Distributor custom data (String in JSON format). |
Actor | String | Actor custom data (String in JSON format). |
Machine | String | Machine custom data (String in JSON format). |
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:| Field | Type | Description |
|---|---|---|
| Transaction Status & Error Codes | ||
Verdict | String | The final status of the request. Must be one of the constant string values:
|
Code | Int(32) | The Decline Code. Conditional—only present if Verdict is ‘Declined’. Valid codes include:
|
StatusMessage | String(255) | A free text field containing the transaction status message or additional varying data regarding the outcome. |
CustomDeclineCode | String | Used for specifying a custom decline code (e.g., related to Soft Decline or Switch Interface). May reflect the acquirer’s response code. |
| Financial & Time Details | ||
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. |
AuthDateTime | String | The date and time the /Authorization took place. Format:ddMMyyHHmmss. |
SettDateTime | Double | The Settlement Date/Time. Irrelevant for the Authorization command. |
| Transaction Identifiers & References | ||
SrvTranId | String | The Integrator’s internal transaction ID.
|
AuthCode | String(40) | External Authorization Code (usually from the Card Issuer’s bank). |
RRN | String | Reference Retrieval Number (RRN). Highly recommended to be visible to the consumer/card holder for support. |
Token | String(256) | A unique token for the transaction. For Nayax internal use only. |
TraceNumber | String | Trace number. For Nayax internal use only. |
AuthSource | String(5) | For Nayax internal use only. |
InitiateTranReference | Int(64) | Conditional: Reflects the original Nayax Transaction ID for prepaid loyalty card re-attempts. |
| System & External Data | ||
IsGatewayTimeout | Bool | Indicates if a gateway timeout occurred (valid in the response). |
ProviderExternalData | String | External data from the provider in JSON format string. |
IsRevalueCard | Bool | Indication if card is allowed revalue. |