billing
7 procedures defined in packages/api/src/routers/billing.ts.
billing.getSubscription
Section titled “billing.getSubscription”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| query | protected (auth required) | billing.getSubscription — 60 / 60s | packages/api/src/routers/billing.ts:226 |
Input
billingSubjectInput.default({})billing.previewChange
Section titled “billing.previewChange”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| query | protected (auth required) | billing.previewChange — 30 / 60s | packages/api/src/routers/billing.ts:257 |
Input
previewChangeInputbilling.catalog
Section titled “billing.catalog”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| query | protected (auth required) | billing.catalog — 60 / 60s | packages/api/src/routers/billing.ts:271 |
No input.
billing.checkout
Section titled “billing.checkout”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| mutation | protected (auth required) | billing-checkout — 5 / 60s | packages/api/src/routers/billing.ts:282 |
Input
checkoutInputbilling.portalSession
Section titled “billing.portalSession”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| mutation | protected (auth required) | billing-portal — 10 / 60s | packages/api/src/routers/billing.ts:322 |
Input
portalSessionInputbilling.changePlan
Section titled “billing.changePlan”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| mutation | protected (auth required) | billing-plan-change — 5 / 60s | packages/api/src/routers/billing.ts:348 |
Input
previewChangeInputbilling.cancelPendingChange
Section titled “billing.cancelPendingChange”| Kind | Auth | Rate limit | Source |
|---|---|---|---|
| mutation | protected (auth required) | billing-plan-change — 5 / 60s | packages/api/src/routers/billing.ts:371 |
Input
billingSubjectInput.default({})