账户 API 参考
Orbit API 中 账户 的全部 10 个端点:方法与路径、所需令牌权限、参数,以及对应的命令行命令与 MCP 工具。
共 4 个端点,其中 2 个只读。每一个都同时是 orbit 命令行中的命令、SDK 中的方法和 MCP 服务器上的工具。
| 端点 | 权限 | 参数 | CLI · MCP 工具 |
|---|---|---|---|
GET /billingSubscription status and the packs on sale | 只读 | — | orbit billing statusbilling_status |
POST /billing/checkoutBuy or switch to a pack: a checkout URL, or an in-place change of the running subscription | 读写 仅控制台 | 请求体: plan* string | orbit billing checkoutbilling_checkout |
POST /billing/portalBilling portal URL (payment method, cancel, invoices) | 读写 仅控制台 | — | orbit billing portalbilling_portal |
GET /billing/invoicesInvoices (newest first, up to 24) | 只读 | — | orbit billing invoicesbilling_invoices |