Create a custom PhaxCode




Name Type Description
metadata string Custom metadata to be associated with this barcode. If not present, the basic PhaxCode for your account will be used.
redirect boolean If present and true, the PhaxCode barcode image will be dumped in the response.
api_key string Your api key
api_secret string Your api secret


If the redirect parameter is not provided, a JSON object with success, message, and data attributes is returned. The data attribute contains a url where the PhaxCode barcode image can be accessed.

Otherwise, the image data is dumped in the response.