---
title: "Flaem: Payments, KSeF and WHMCS migration | VulCode"
description: "The Flaem integrations are the hosting platform's built-in connections to payments, e-invoicing, domains, DDoS protection and migration tools."
url: "https://vulcode.com/en/portfolio/integrations/flaem"
lang: "en"
---

[Integrations & scripts](https://vulcode.com/en/portfolio/integrations)

# Flaem

Payments, KSeF and WHMCS migration

Ready-made connections between the Flaem hosting platform and payment gateways, KSeF, domain registrars, DDoS protection, text messages and Discord. Each is switched on separately, with keys in the operator panel.

[Case study: Flaem](https://vulcode.com/en/work/case-studies/flaem) [Service: Integrations and automation](https://vulcode.com/en/services/api-integrations)

## About the project

The Flaem integrations are the hosting platform's built-in connections to payments, e-invoicing, domains, DDoS protection and migration tools. Gateways take BLIK (a Polish mobile payment) in the panel, invoices go to KSeF (Poland's e-invoicing system), and registrars have a fallback order. Migration always starts with a dry run and its report, and a billing bridge keeps you on WHMCS, Blesta, HostBill or Paymenter. The rest connects via the REST API, signed webhooks, Terraform or an MCP server.

## The challenge

Before a hosting company sells its first server, it has to connect the panel to payment gateways, KSeF, domain registrars, a DDoS protection provider, text messages and Discord, and then move clients over from the old system. Each of these connections usually means a separate module from another author, and the risk that a migration overwrites data halfway or invoices someone by mistake.

## What we did

- 01 Stripe, Przelewy24, Tpay, PayU, PayPal, paysafecard, SimPay and BTCPay Server, with BLIK entered in the panel

- 02 KSeF with a background queue, VAT number checks in VIES, exchange rates from the NBP (the National Bank of Poland) and a JPK file (Poland's standard audit file for tax) for the accountant

- 03 Registrars with a fallback order for every extension, NASK for .pl domains, PowerDNS, Cloudflare and mailcow

- 04 DDoS protection at Path.net, OVH, Cloudflare Magic Transit and NeoProtect, set per service

- 05 Import from WHMCS, Pterodactyl, Convoy, Virtualizor, cPanel and DirectAdmin, always with a dry run report

- 06 A REST API described in OpenAPI 3.1, signed webhooks, a TypeScript client, Terraform, a CLI and an MCP server

## Related projects

- [**Flaem** A multi-page website for Flaem, a control panel for hosting companies, in Polish and English. Built on React 19, Vite, Tailwind 4 and Motion, with panel screens in a laptop and a phone, and installable as an app.](https://vulcode.com/en/portfolio/websites/flaem)

- [**Flaem** A platform a hosting company uses to sell and run game servers, VPSs, websites, domains and mail, installed on that company's servers. Written in Rust, Go, Elixir and TypeScript, with native apps for phone and desktop.](https://vulcode.com/en/portfolio/platforms/flaem)

- [**Flaem operator panel** The panel a hosting company runs its whole Flaem installation from: machines, offer, money, network and team. Risky actions need a second signature, and each team member has only the permissions they were given.](https://vulcode.com/en/portfolio/panels/flaem-operator)

- [**Flaem reseller panel** The panel where a reseller sells the operator's servers as their own offer: with their logo, domain, pricing and invoices under their own tax ID. The panel guards the margin and keeps the reseller within their own clients.](https://vulcode.com/en/portfolio/panels/flaem-reseller)

- [**Flaem client panel** The panel where a hosting company's client buys and runs game servers, VPSs, websites, domains and mail on their own, under the operator's or reseller's brand. The wallet, invoices and tickets sit in the same place.](https://vulcode.com/en/portfolio/panels/flaem-client)

- [**Flaem** Two native apps of the Flaem hosting platform, for Android and for iOS: the operator has on-call alerts on the phone, and the client buys a server, pays with BLIK and controls their services.](https://vulcode.com/en/portfolio/mobile/flaem)

- [**Flaem** A native app of the Flaem hosting platform for Windows and Linux, for people who work in the panel all day: the same view as in the browser, but as an ordinary program. Written in C# on Avalonia.](https://vulcode.com/en/portfolio/desktop/flaem)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)

## Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.

[Free quote](https://vulcode.com/en/quote) [Free consultation](https://vulcode.com/en/consultation)

- [hello@vulcode.com](mailto:hello@vulcode.com)

- [+48 576 043 920](tel:+48576043920)

- [discord.gg/vulcode](https://discord.gg/vulcode)
