v1

latestOpenAPI 3.0.12026-07-26181265484.9 KB
StaticQR

Cortina StaticQR Start

post/Cortina/{integratorName}/start

Path parameters

integratorNamestring required

Integrator name assigned by Nayax

Request body

AppUserIdstring
  • Mandatory
  • Length: 40
  • Unique identifier of the consumer in Mobile App provider system
Balancenumber double
  • Optional
  • Decimal (max 3 digits for cents)
  • The balance of user's account.
Datastring
  • Data received from a third party and will be sent back in response
SecretTokenstring
  • Mandatory
  • Length: 64
  • Unique key for the your system. This value will be Provided by Nayax in advance. You should keep this value as a secret in your system.
TerminalIdstring
  • Conditional, must be sent if UniQR is not sent.
  • Length: 255
  • Unique Identifier for the vending machine printed on a sticker or encoded in the QR (HW-Serial of the device)
TransactionIdstring
  • Mandatory
  • Length: 40
  • Unique identifier for the transaction which will be echoed in further requests and responses. Minimum of 8 chars.
UniQRstring
  • Conditional, must be sent if TerminalId is not sent.
  • Machine reference unique qr number

Example request

{
  "AppUserId": 111111,
  "Balance": 0,
  "SecretToken": "43262a8f8136f704b3d42b3f116e4bb0c4bf69e6d3415aff6e2cb9dfe06630ff",
  "TerminalId": 77788,
  "TransactionId": 12345678
}

Response

Success

Example response

{
  "Status": {
    "StatusMessage": "Cortina V2 Stub Tester",
    "Verdict": "Approved"
  }
}