Stripe Subscriptions

Preview next invoice

Preview the next invoice for the workspace using Stripe Invoice.create_preview. Optionally preview invoice with addons (connectors, storage, user seats).

get/workspaces/{workspace_id}/subscription/preview-invoice

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/subscription/preview-invoice
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

workspace_idinteger required

Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.

Example:4

Query parameters

connector_idsstring nullable
additional_storage_gbinteger nullable
additional_user_seatsinteger nullable
plan_idinteger nullable
storage_gbinteger nullable

Response

Request fulfilled, document follows

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.