Case File 10 / 21 · EV Charging

    Vega Charge

    Vega Charge: QR-and-UPI software for walk-up EV charging

    Scan the QR, pay by UPI, charge — no app and no account

    Our role
    Platform Engineering · Charging Software & Payments
    Industry
    EV Charging
    Outcome
    A driver goes from QR scan to charging with one UPI payment, and the unused balance is refunded automatically.

    The engagement

    What Vega Charge needed

    Rootlex built the charging-station management system for Vega Charge's walk-up EV charging stations. A driver scans the QR sticker on a connector, pays a prepaid amount by UPI on a web page and starts charging, with no app to install and no account to create. Whatever is not used is refunded automatically with a GST invoice. Station staff run their chargers, sessions, pricing and payouts from one operator web app.

    What we built

    • A mobile web pay page for every connector: scan, choose an amount, pay by UPI, charge.
    • A live session screen for the driver, with automatic stop and refund of unused balance.
    • An operator console for stations, chargers, sessions, pricing, payments and payouts.
    • A charger gateway that speaks OCPP 1.6J directly to the hardware.
    • A commissioning wizard that proves each charger can take and refund a payment before it goes live.

    Impact

    A driver goes from QR scan to charging with one UPI payment, and the unused balance is refunded automatically.

    The challenge

    Why it had to be built

    Public chargers usually make a driver install an app, create an account or load a wallet before they can plug in, which is a poor fit for someone who simply pulls up to a station. Walk-up charging should work like any other shop counter: pay and go. The system lets a driver pay a prepaid amount by UPI straight from a QR scan and returns whatever they do not use, and it gives the station operator a single place to watch chargers, sessions, money and staff.

    Who uses it

    Drivers
    Scan, pay and charge from a phone browser. They are identified by mobile number only.
    Station technicians
    Commission chargers, watch their status and send remote commands.
    Managers and branch admins
    Run the stations in their branch, handle sessions and issue refunds within their limits.
    Owners
    Set pricing and see payments, payouts and performance across the company.
    Platform admins
    Oversee every operating company on the platform.

    Inside the product

    What Vega Charge does

    • 01

      QR walk-up pay page

      Each connector has its own link. The page shows whether a vehicle is plugged in, offers preset amounts or a full charge, takes a mobile number and opens UPI checkout.

    • 02

      Live session screen

      Energy delivered, cost, power and time update every few seconds. The driver can add money or stop charging.

    • 03

      Automatic stop and refund

      Charging stops when the prepaid amount runs out, and any unused balance is refunded to the driver's UPI account.

    • 04

      GST invoices

      A PDF invoice is generated for every session with the correct tax details for the station's state.

    • 05

      Sessions console

      Live, needs-attention and all-sessions views, search by mobile number, vehicle, session or payment, a timeline for each session, operator stop, goodwill refunds and retry of failed refunds.

    • 06

      Station and charger management

      Live connector status and remote commands such as reset, unlock and take out of service.

    • 07

      Commissioning wizard

      A new charger gets a one-time password and must pass a checklist, including a real test charge and refund on every connector, before it can take money.

    • 08

      QR stickers

      Print-ready sticker sheets for every connector.

    • 09

      Pricing

      Draft, check and publish a price per unit of energy for the network, with overrides per station for AC or DC charging.

    • 10

      Payments and payouts

      Payment and refund lists with export, and weekly payout statements for each operating company.

    • 11

      Roles and access

      Companies, branches and five roles, refund limits per role, masked phone numbers and one-time invite links.

    • 12

      Charger message logs

      Every message to and from each charger is stored and can be watched live when diagnosing a fault.

    • 13

      Audit log

      A permanent record of who changed what.

    Under the hood

    How it is engineered

    A charger protocol stack of our own
    The OCPP 1.6J gateway is implemented directly on WebSockets, and every message from a charger is validated against the official protocol schemas.
    Orderly commands to hardware
    Each charger has its own first-in, first-out command queue with timeouts, and a reconnecting charger cleanly takes over from its stale connection.
    A session state machine backed by an outbox
    A session moves through explicit, stored states, and every money or session transition is written to a transactional outbox before it is acted on, so nothing is lost if a process restarts.
    Enforced architecture
    Domain, application and infrastructure code are kept apart, and the pipeline fails any change that crosses those boundaries.
    Security
    Modern password hashing for staff and chargers, rotating sign-in tokens with reuse detection, signature-verified payment webhooks and rate limits.
    Billing tested with generated cases
    Billing arithmetic is covered by property-based tests, alongside unit tests, end-to-end browser tests and a charger simulator.
    A full pipeline on every change
    Dependency audit, lint, type check, database migration check, tests, build and end-to-end tests all run before a change is merged.

    Forward Deployed Engineering

    Embedded with Vega Charge, not working at arm's length

    Rootlex engagements are run by forward deployed engineers (FDEs) who join the client's team, learn the business first-hand, and own the platform in production.

    • Embedded in your team: your repos, tools, channels and stand-ups
    • Accountable for the outcome in production, not just the code
    • Backed by our AI, cloud, embedded and security practices

    Get in touch

    Planning something similar?

    Tell us where you’re headed — we’ll bring the architecture, the team, and the partnership to get there.