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.