documentSettings - A JSON object which contains the settings of the template (pageHEXColour, documentHeight, documentWidth).
pageHEXColour - An optional string which contains the HEX page colour of the document in HEX. The default value is 'FFFFFF'.
documentHeight - An optional string relating to the height of the document (in cm). The default value is '10cm'.
documentWidth - An optional string relating to the width of the document (in cm). The default value is '10cm'.
documentContent - A JSON object which contains the content of the template (encodeData, showText, showStars, textVerticalPosition, textHorizontalPosition).
encodeData - A required string which contains the encoded data for the Barcode.
showText - An optional boolean variable which controls whether to show the text in the barcode.
showStars - An optional boolean variable which controls whether to show the stars around the text of the barcode.
textVerticalPosition - An optional string which contains the vertical position of the text in the Barcode. Possible options are 'top' and 'bottom'.
textHorizontalPosition - An optional string which contains the horizontal position of the text in the Barcode. Possible options are 'center', 'right', 'left' and 'spaced'.