Optionaloptions: { env?: string; host?: string; token?: string }ProtectedenvProtectedhostProtectedtokenAlias for transactions() — reads more naturally at call sites that
only care about billing (platform.billing().getBalance()).
Convenience factory for the Integrations gateway façade.
Integrations live behind a different gateway (INTEGRATION_API /
host/luma/integrations) than the rest of the platform API, so this
returns an independently-configured Integrations client (it does not
reuse this.client, whose base URL points at the platform host). The
Platform's resolved token/env/host are propagated so the child client
carries the same credentials.
Convenience factory for the Satellites (custom JSON-RPC integrations) client.
Same gateway note as integrations() — Satellites talks to the
integrations gateway, not the platform host, so a fresh, independently
configured client is returned, with the Platform's credentials propagated.
Transactions (billing) client — subscriptions, invoices, credits/balance,
usage pricing and billing-mode overrides. Reached through the platform
gateway (transactions/…), so it reuses this.client like the other
native/proxied-service factories.
This is the billing service — not distributed/database transactions.
Base client for the platform API Classes that extend PlatformBaseClient have intentins of only working in platform context
PlatformBaseClient
Param: client
The axios instance to use for the client
Example