---
title: "Atrium: Hotel plan and subscription API | VulCode"
description: "The Atrium integration with the VulCode client panel is an internal API through which the panel runs a hotel's subscription: state, plan and suspension."
url: "https://vulcode.com/en/portfolio/integrations/atrium"
lang: "en"
---

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

# Atrium

Hotel plan and subscription API

The internal API linking Atrium to the VulCode client panel: the panel reads a hotel's state, sets its plan and suspends it with a stated reason. The hotel pays in the panel, and Atrium applies what comes from there.

[Service: Integrations and automation](https://vulcode.com/en/services/api-integrations)

## About the project

The Atrium integration with the VulCode client panel is an internal API through which the panel runs a hotel's subscription: state, plan and suspension. The hotel pays in that panel, so it cannot change the plan in its own settings. A hotel on a smaller plan or suspended loses no data: it all stays readable and exportable, and only adding and saving is held back. A secret shared by the two services guards access, and with none configured the API answers 503 instead of running unauthenticated.

## The challenge

The plan and the suspension have to come from the VulCode client panel, where the hotel pays, not from settings the client can change on their own. The channel between the two services must also never open by mistake when the secret is missing on the server, and a suspended hotel must not lose access to its own data.

## What we did

- Reading a hotel's state, setting the plan and suspending it through three API calls

- A free or pro plan, with a paid plan always carrying the end of the paid period

- A return to the free plan on the next request once the period ends, with no scheduler

- Nothing disappears on a smaller plan: a hotel over a limit keeps everything and only stops adding more

- A suspended hotel stays fully readable and exportable, and every write is answered with 402

- A shared secret in a request header and every change in the hotel's activity log under the name VulCode

## Related projects

- [**Atrium hotel panel** The panel where the front desk and the owner run a hotel's whole day: from arrivals and room cleaning to the restaurant, inventory and the team schedule. Plus bookings on a timeline and a guest portal with no account.](https://vulcode.com/en/portfolio/panels/atrium)

- [**Atrium** The Atrium hotel panel laid out for a phone, for the front desk, housekeepers and the owner: arrivals, cleaning, repairs and bookings at hand. A guest gets a separate link for sending requests without creating an account.](https://vulcode.com/en/portfolio/mobile/atrium)

- [**Atrium** The desktop app of the Atrium hotel panel, made for the front desk: bookings, room status, housekeeping and room bills in one window that stays open for the whole shift, next to email and the phone.](https://vulcode.com/en/portfolio/desktop/atrium)

- [**Atrium** Online software for guesthouses and small hotels: a floor plan with current room status, bookings, housekeeping, maintenance, restaurant, inventory, staff rota and a guest portal in one panel.](https://vulcode.com/en/portfolio/platforms/atrium)

## 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)
