PublicBillingController
Unauthenticated billing config for the marketing site: provider-hosted checkout links for self-serve orders.
| Base path | /api/public/billing |
| Module | Billing & Platform |
| Endpoints | 1 |
| OpenAPI tag | Billing |
| Source | backend/src/main/java/com/motorph/payroll/controller/PublicBillingController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/public/billing/checkout-links | Public — no authentication | getCheckoutLinks() |
Notes
GET /api/public/billing/checkout-links— planCode -> checkout link.
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: BillingProperties.
Tables reached
None through a Spring Data repository — this controller is stateless, or its work is delegated to a component that reaches storage another way.
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/.