Start Sessioncommand to notify the integrator about the initialization of the transaction request with the Cortina payment provider.
Important: For Cortina Static QR (SQR), the
Start command is being used instead of StartSession, and Start is sent from the Cortina payment provider to Nayax, not the other way around (as mentioned in here).Request
Nayax’s servers send a POST request to your configuredStartSessionendpoint, which would be of the following format:
(customer's URL)/Cortina/StartSession
The payload includes the following details:
Request Parameters
The following table describes all the parameters of the request:| Field | Type | Required | Description |
|---|---|---|---|
TokenId | String | Yes | The 3rd party Secret Token reference number. |
RandomNumber | String | Yes | A unique 27-character random number generated by Nayax. |
DynamicURL | String(255) | No | The Actor-level URL configuration. Supports routing to different URLs. |
DirectActor Inside CustomData | String | No | Custom data for the Direct Actor in JSON format. Contact Nayax TPOC for definition. |
Operator Inside CustomData | String | No | Custom data for the Operator in JSON format. Contact Nayax TPOC for definition. |
Distributor Inside CustomData | String | No | Custom data for the Distributor in JSON format. Contact Nayax TPOC for definition. |
Actor Inside CustomData | String | No | Custom data for the Actor in JSON format. Contact Nayax TPOC for definition. |
Machine Inside CustomData | String | No | Custom data for the Machine in JSON format. Contact Nayax TPOC for definition. |
SoftDecline Inside CustomData | String | No | Custom data related to a Soft Decline in JSON format. Contact Nayax TPOC for definition. |
Response
TheStartSession Response that the customer’s payment method would send to Nayax’s servers.The payload should look as follows:
Request Parameters
The following table describes all the parameters of the request:| Field | Type | Required | Description |
|---|---|---|---|
TranIDCipher | String(36) | Yes | The encrypted transaction ID used for authentication in the /StartSession request.
|
Verdict inside Status | String | Yes | Constant string representing the final status of the request:
|
Code inside Status | Int(32) | No | The Decline Code. Conditional—only present if Verdict is ‘Declined’. Valid decline codes include:
|
StatusMessage inside Status | String(255) | No | A free text field containing the transaction status message or additional varying data regarding the outcome. |
CustomDeclineCode inside Status | String | No | Used for specifying a custom decline code (e.g., related to Soft Decline or Switch Interface). May reflect the acquirer’s response code. |