use /:hash to generate a receipt PDF