Skip to content
PDF · USE CASE

Receipt PDF Generator API

Generate receipt PDFs at checkout from the same markup your app renders. Compact page sizes, thermal-style layouts, and instant signed URLs.

Generate receipt PDFs at checkout from the same markup your app renders. Compact page sizes, thermal-style layouts, and instant signed URLs.

How it works

POSTpdf.sh
curl https://api.renderkit.tech/v1/pdf \
  -H "x-api-key: $RENDERKIT_API_KEY" \
  -H "content-type: application/json" \
  -d '{ "url": "https://example.com", "format": "A4", "print_background": true }'

What you get

  • Custom small/thermal page sizes
  • Render from HTML or a React component
  • Fast p50 generation for checkout flows
  • Signed URL to email or attach immediately

More

Full HTML to PDF API docs · JSX-to-PDF · compare RenderKit vs PDFShift.

Common questions

POST the receipt HTML or component to /v1/pdf with a custom page size. The signed PDF URL comes back in the response.

RenderKit starts at $9/mo, with 500 free renders to start. PDF, screenshot, and markdown all draw from one meter.

Ship your first render in 60 seconds.

500 free renders to start. No card. Cancel by ignoring it.

Get your free key$npm i renderkit-sdk