ogmake

← All templates

Receipt

A serrated thermal-receipt strip with dotted-leader items, a real total and a decorative barcode.

Receipt template preview

Try it

POST /v1/images, Bearer-authenticated, with this template id and params — see the quickstart for how to get a key, and for a signed-URL example that links straight to a cacheable, cache-forever image URL without a server round trip.

curl https://ogmake.com/v1/images \
  -H "Authorization: Bearer og_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "template": "receipt",
  "params": {
    "store": "ogmake",
    "items": [
      "Renders this month=1,204",
      "Cached hits=1,098",
      "Overage=$0.00"
    ],
    "total": "TOTAL=$0.00",
    "footer": "Sep 19, 2026 · thanks for building"
  }
}'

This template requires an array field (items) — over a GET route (Public URLs, Signing) it's carried as bracket-indexed query keys instead of a JSON array; see the reference's "Array fields on GET routes". A working public-URL example (mint a real key in the dashboard to replace k_yourkeyid):

GET https://ogmake.com/p/k_yourkeyid/receipt?store=ogmake&items%5B0%5D=Renders+this+month%3D1%2C204&items%5B1%5D=Cached+hits%3D1%2C098&items%5B2%5D=Overage%3D%240.00&total=TOTAL%3D%240.00&footer=Sep+19%2C+2026+%C2%B7+thanks+for+building

More templates.