Stripe Subscriptions

Get workspace subscription status

get/workspaces/{workspace_id}/subscription/status

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/subscription/status
  • 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

Response

Request fulfilled, document follows

workspace_idinteger required
subscription_statusstring nullable
has_active_subscriptionboolean required
stripe_subscription_idstring nullable
stripe_customer_idstring nullable
plan_idinteger nullable
billing_cyclestring nullable
checkout_infoobject nullable
needs_checkoutboolean required
checkout_in_progressboolean required
next_actionstring
next_action_messagestring nullable
next_action_urlstring nullable
trial_days_remaininginteger
is_trial_expiredboolean
payment_action_requiredboolean
days_until_workspace_deletioninteger nullable
scheduled_change_atinteger nullable
storage_gbinteger nullable
storage_allowance_gbinteger

Changes

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