Self-hosting
The cloud edition (the Stripe App) is the simplest. If you want full control, KSeF Kit also runs on your own server — using a restricted Stripe API key instead of the Marketplace app.
Two editions, one mechanism
The Stripe link has two variants behind one interface:
| Edition | Stripe authentication | Hosting |
|---|---|---|
Cloud (app) |
Stripe App (per-install credential) | us |
Self-hosted (restricted_key) |
a restricted API key | you |
In the self-hosted edition, calls to Stripe (reading invoices, writing the KSeF number back) go directly through your restricted key, not through a connected-account context.
Restricted-permission key
Create a Stripe restricted API key with the minimum scope needed to:
- read invoices and credit notes,
- write back (
metadata,footer,memo) on invoices and credit notes.
The key is stored encrypted. The narrower the scope, the better — that's the whole point of the self-hosted edition.
What you host
The KSeF Kit Rails app and PostgreSQL. You host it on your own infrastructure — invoices, data, and your KSeF token stay with you.
Managed deployment
Don't want to host it yourself? We can deploy and configure KSeF Kit on your servers — 1500 zł net one-time, plus an optional 250 zł net per updated version installed. Your code and data stay with you. Email [email protected].