Budget Integration Boundary
mageb2b/sublogin-budget does not register REST or SOAP routes. Endpoints such as /V1/sublogin-budget are not part of the current package and should not be used in an integration plan.
What is available
The Budget package exposes PHP interfaces for Magento modules running inside the same application. Custom code can use those service contracts through dependency injection to read or work with budget records while keeping the owning module's validation in place.
This is an internal Magento extension point, not a remote API contract.
If an external system must manage budgets
Build a small integration module that:
- defines explicit Magento Web API routes;
- uses dedicated Admin ACL resources;
- validates customer, sublogin, budget type, period, amount and website scope;
- calls the Budget service layer instead of writing its tables directly;
- returns stable data-transfer objects rather than exposing models;
- records operational errors without logging credentials or sensitive account data.
Do not expose generic model save operations or direct database access over HTTP.
Sublogin record API
The separate mageb2b/sublogin-api package does provide supported CRUD endpoints for sublogin records. It does not add budget fields or budget routes.
See Sublogin Web API and Budget Management.