Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringstack-xyz/boringstack
/ billing.routes.ts
File
billing.routes.ts
apps/api/src/api/billing/billing.routes.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Elysia } from
"elysia"
;
2
3
import
{ ApiErrors, createSuccessResponse } from
"../../lib/errors"
;
4
import
{ errorHandler } from
"../../middleware/error-handler"
;
Callers
nothing calls this directly
Calls
12
requireAuth
Function · 0.90
errorHandler
Function · 0.90
getBillingService
Function · 0.90
resolveBillingAccount
Function · 0.90
createSuccessResponse
Function · 0.90
listPlans
Method · 0.80
getSubscription
Method · 0.80
createCheckoutSession
Method · 0.80
createPortalSession
Method · 0.80
constructWebhookEvent
Method · 0.80
handleWebhookEvent
Method · 0.80
get
Method · 0.45
Tested by
no test coverage detected