An A5 receipt for a payment already made: the amount paid up top, order and payment method, items with quantity × unit price, shipping and taxes.
| Category | Receipts |
|---|---|
| Page size | A5 (148 × 210 mm) |
| Orientation | Portrait |
| Template engine | Handlebars (HTML + print CSS, Chromium renderer) |
| Gallery JSON | GET /v1/templates/gallery/receipt-paid (public, no key needed) |
| Sample PDF | Download receipt-paid.pdf (78 KB) |
Copy receipt-paid to your Shotmint key (free) and render PDFs with your own JSON data (1 credit per PDF). Get a free key with curl -X POST https://shotmint.creasework.com/v1/keys/free — 25 free renders every month, no signup, no card.
# 1. Copy the template to your key and publish v1 (free)
TPL=$(curl -s -X POST https://shotmint.creasework.com/v1/templates \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"gallery":"receipt-paid","publish":true}' | node -e "console.log(JSON.parse(require('fs').readFileSync(0,'utf8')).id)")
# 2. Render a PDF with your JSON data (1 credit)
curl -X POST https://shotmint.creasework.com/v1/pdf \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d "{\"template_id\":\"$TPL\"}" -o receipt-paid.pdf
Pass your own template_data JSON object in step 2 (omit it to render with the built-in sample data). Inspect every field in GET /v1/templates/gallery/receipt-paid.
// 1. Copy & publish from the gallery
create_template_draft({ "gallery": "receipt-paid", "publish": true })
// 2. Render with your JSON payload
render_pdf({ "template_id": "<returned id>", "template_data": { ... } })
Connect to https://shotmint.creasework.com/mcp (streamable HTTP) and call get_template_contract or list_gallery_templates without a key. MCP setup guide · Authoring contract (JSON).
Copy the receipt template to your key, pass your order items and totals to POST /v1/pdf, and deliver instant PDFs. Free key in one call: POST https://shotmint.creasework.com/v1/keys/free. Prepaid packs: €5 for 2,000 renders, €19 for 10,000, €59 for 50,000 — credits never expire, no subscription.