Skip to main content

SubscriptionStatusController

The organization's subscription status for the header badge.

Base path/api/billing
ModuleBilling & Platform
Endpoints1
OpenAPI tagBilling
Sourcebackend/src/main/java/com/motorph/payroll/controller/SubscriptionStatusController.java

Endpoints​

MethodPathRequiresHandler
GET/api/billing/status@platformAccess.erpTenantOf(authentication) != null — any authenticated usergetStatus()

Notes​

  • GET /api/billing/status — Any tenant member; never a platform operator or a portal customer, who belong to no tenant.

Call chain​

Dependencies​

Constructor-injected by Lombok's @RequiredArgsConstructor: SubscriptionStatusService.

Tables reached​

EntityTableTenant-scoped
BillingSubscriptionbilling_subscription—
Tenanttenant—

Generated page

This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.