Skip to main content

Get Smart Ticket QR code

GET{{server}}/api/v1/dispenser/smartTicketQrCode

This endpoint returns the Smart Ticket QR code as a PNG image. It's a dynamic QR code, you should recall it to get a fresh one before the expiration. The expiration is in the validityTime property in the settings response.

Request​

Authorization​

HeaderValue
AuthorizationApikey {{dispenserApikey}}

Headers​

KeyValue
Acceptapplication/json
X-WSID{{dispenserWsID}}

Code snippets​

curl -X GET '{{server}}/api/v1/dispenser/smartTicketQrCode' \
-H 'Accept: application/json' \
-H 'X-WSID: {{dispenserWsID}}' \
-H 'Authorization: Apikey {{dispenserApikey}}'