Developer reference / Connect-RPC
Billing API reference
Explore 12 Anchras Billing API procedures, request and response types, and download the OpenAPI contract for Connect-RPC clients.
Download OpenAPI schemaAll procedures use POST. Read the authentication and request guide before calling them. Authorization still applies to every operation; a published contract does not grant access.
| Procedure | Request | Response |
|---|---|---|
ChangePlan/anchras.billing.v1.BillingService/ChangePlan | anchras.billing.v1.ChangePlanRequest | anchras.billing.v1.ChangePlanResponse |
CreateCheckoutSession/anchras.billing.v1.BillingService/CreateCheckoutSession | anchras.billing.v1.CreateCheckoutSessionRequest | anchras.billing.v1.CreateCheckoutSessionResponse |
CreatePortalSession/anchras.billing.v1.BillingService/CreatePortalSession | anchras.billing.v1.CreatePortalSessionRequest | anchras.billing.v1.CreatePortalSessionResponse |
GetCurrentPlan/anchras.billing.v1.BillingService/GetCurrentPlan | anchras.billing.v1.GetCurrentPlanRequest | anchras.billing.v1.GetCurrentPlanResponse |
GetMarketplaceUsage/anchras.billing.v1.BillingService/GetMarketplaceUsage | anchras.billing.v1.GetMarketplaceUsageRequest | anchras.billing.v1.GetMarketplaceUsageResponse |
GetMeteredUsage/anchras.billing.v1.BillingService/GetMeteredUsage | anchras.billing.v1.GetMeteredUsageRequest | anchras.billing.v1.GetMeteredUsageResponse |
GetTailnetUsage/anchras.billing.v1.BillingService/GetTailnetUsage | anchras.billing.v1.GetTailnetUsageRequest | anchras.billing.v1.GetTailnetUsageResponse |
GetUsage/anchras.billing.v1.BillingService/GetUsage | anchras.billing.v1.GetUsageRequest | anchras.billing.v1.GetUsageResponse |
ListBillingEvents/anchras.billing.v1.BillingService/ListBillingEvents | anchras.billing.v1.ListBillingEventsRequest | anchras.billing.v1.ListBillingEventsResponse |
ListInvoices/anchras.billing.v1.BillingService/ListInvoices | anchras.billing.v1.ListInvoicesRequest | anchras.billing.v1.ListInvoicesResponse |
ListPlans/anchras.billing.v1.BillingService/ListPlans | anchras.billing.v1.ListPlansRequest | anchras.billing.v1.ListPlansResponse |
RecordMeteredEvent/anchras.billing.v1.BillingService/RecordMeteredEvent | anchras.billing.v1.RecordMeteredEventRequest | anchras.billing.v1.RecordMeteredEventResponse |
