Skip to content

Voucher template

A voucher template contains information such as time and usage allocations. Vouchers are provided to users who are requesting access to your network through a voucher-type hotspot. You can create a voucher template using your preferred page layout or word processor and saving as PDF. Templates support variables that are replaced during voucher generation. Refer to the voucher template in Wireless > Hotspot settings for usage examples.

Name Definition
<?ssid0?>, <?ssid1?>, <?ssid2?>, ... Wireless network SSID(s) as defined in Wireless networks.
<?psk0?>, <?psk1?>, <?psk2?>, ... Wireless network passphrase/PSK(s) as defined in Wireless networks
<?code?> Voucher code
<?validity?> Voucher validity period as defined in Hotspot voucher definition.
<?datalimit?> Voucher data volume as defined in Hotspot voucher definition.
<?timelimit?> Voucher time quota as defined in Hotspot voucher definition.
<?comment?> Description as defined in Hotspot voucher definition.
<?qr0?> QR code with the hotspot access data encoded

Recommendations

  • Place each variable on a separate line.
  • Use only standard system fonts.
  • Define the character set on the last line of your PDF file. This string will be removed during voucher generation. For more information, see the example template.