Skip to content
Build with Mammoth › CLI reference: open the docs menu

mammoth billing

GENERATED from mammoth schema list and mammoth capability list (mammoth-cli 2.4.0, released 2026-10-29)—do not edit; run npm run docs:capabilities.

27 commands, grouped by blast radius.

"Off a terminal" is what a command's confirmation policy requires when nothing can answer a prompt, as in an agent or CI run: --yes, plus --confirm with the exact target for confirm_target commands. TARGET stands for the id or name the command acts on; the CLI's confirmation_required error names it.

The SDK symbol and API operation come from mammoth capability list. A command that list does not map to one shows — in both columns; mammoth schema get <command.id> describes any command in full.

Destructive

CommandScopeBlast radiusConfirmationOff a terminalWaitPaginationSDK symbolAPI operation
mammoth billing stripe held-change cancelworkspaceDestructiveconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_held_change_cancelPOST /workspaces/{workspace_id}/subscription/held-change/cancel (CancelHeldChange)

High impact

CommandScopeBlast radiusConfirmationOff a terminalWaitPaginationSDK symbolAPI operation
mammoth billing hosted-pageworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.hosted_pagePOST /workspaces/{workspace_id}/subscription_v1/hosted-page (FetchHostedPage)
mammoth billing invoice chargeworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.invoice_chargePOST /workspaces/{workspace_id}/invoices/charge (ChargeWorkspaceInvoices)
mammoth billing stripe cancelworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_cancelPOST /workspaces/{workspace_id}/subscription/cancel (CancelWorkspaceSubscription)
mammoth billing stripe checkout-urlworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_checkout_urlPOST /workspaces/{workspace_id}/subscription/create-checkout (CreateCheckoutUrl)
mammoth billing stripe createworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_createPOST /workspaces/{workspace_id}/subscription (CreateWorkspaceSubscription)
mammoth billing stripe end-trialworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_end_trialPOST /workspaces/{workspace_id}/subscription/end-trial (EndTrialAndStartSubscription)
mammoth billing stripe payment-method deleteworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_payment_method_deleteDELETE /workspaces/{workspace_id}/subscription/payment-methods/{payment_method_id} (DeletePaymentMethod)
mammoth billing stripe payment-method set-defaultworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_payment_method_set_defaultPOST /workspaces/{workspace_id}/subscription/payment-methods/default (SetDefaultPaymentMethod)
mammoth billing stripe portal-urlworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_portal_urlPOST /workspaces/{workspace_id}/subscription/customer-portal (CreateCustomerPortalUrl)
mammoth billing stripe resumeworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_resumePOST /workspaces/{workspace_id}/subscription/resume (ResumeWorkspaceSubscription)
mammoth billing stripe retry-paymentworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_retry_paymentPOST /workspaces/{workspace_id}/subscription/retry-payment (RetryPayment)
mammoth billing stripe storage setworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_storage_updatePUT /workspaces/{workspace_id}/subscription/storage (UpdateSubscriptionStorage)
mammoth billing stripe syncworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.stripe_syncPOST /workspaces/{workspace_id}/subscription/sync (SyncSubscription)
mammoth billing subscription updateworkspaceHigh impactconfirm_target--yes --confirm TARGETnot_asyncnonemammoth.api.billing.BillingAPI.subscription_updatePATCH /workspaces/{workspace_id}/subscription_v1 (UpdateSubscriptionDetail)

Benign mutation

CommandScopeBlast radiusConfirmationOff a terminalWaitPaginationSDK symbolAPI operation
mammoth billing stripe recheck-limitsworkspaceBenign mutationnone—not_asyncnonemammoth.api.billing.BillingAPI.stripe_recheck_limitsPOST /workspaces/{workspace_id}/subscription/recheck-limits (RecheckWorkspaceLimits)

Read

CommandScopeBlast radiusConfirmationOff a terminalWaitPaginationSDK symbolAPI operation
mammoth billing chargebee-planworkspaceReadnone—not_asyncnonemammoth.api.billing.BillingAPI.chargebee_planGET /workspaces/{workspace_id}/chargebee-plan (GetChargebeePlan)
mammoth billing invoice listworkspaceReadnone—not_asyncsingle_page——
mammoth billing stripe getworkspaceReadnone—not_asyncnonemammoth.api.billing.BillingAPI.stripe_getGET /workspaces/{workspace_id}/subscription (GetWorkspaceSubscription)
mammoth billing stripe held-change getworkspaceReadnone—not_asyncnonemammoth.api.billing.BillingAPI.stripe_held_change_getGET /workspaces/{workspace_id}/subscription/held-change (GetHeldChange)
mammoth billing stripe historyworkspaceReadnone—not_asyncnonemammoth.api.billing.BillingAPI.stripe_historyGET /workspaces/{workspace_id}/subscription/billing-history (GetWorkspaceBillingHistory)
mammoth billing stripe payment-method listworkspaceReadnone—not_asyncsingle_pagemammoth.api.billing.BillingAPI.stripe_payment_method_listGET /workspaces/{workspace_id}/subscription/payment-methods (GetPaymentMethods)
mammoth billing stripe preview-invoiceworkspaceReadnone—not_asyncnonemammoth.api.billing.BillingAPI.stripe_preview_invoiceGET /workspaces/{workspace_id}/subscription/preview-invoice (PreviewInvoice)
mammoth billing stripe statusworkspaceReadnone—not_asyncnonemammoth.api.billing.BillingAPI.stripe_statusGET /workspaces/{workspace_id}/subscription/status (GetWorkspaceSubscriptionStatus)
mammoth billing stripe upcoming-invoiceworkspaceReadnone—not_asyncnonemammoth.api.billing.BillingAPI.stripe_upcoming_invoiceGET /workspaces/{workspace_id}/subscription/upcoming-invoice (GetUpcomingInvoice)
mammoth billing stripe usageworkspaceReadnone—not_asyncnonemammoth.api.billing.BillingAPI.stripe_usageGET /workspaces/{workspace_id}/subscription/usage (GetWorkspaceUsage)
mammoth billing subscription getworkspaceReadnone—not_asyncnonemammoth.api.billing.BillingAPI.subscription_getGET /workspaces/{workspace_id}/subscription_v1 (GetWkspSubscriptionDetail)

Report an issue · support@mammoth.io