Stripe Subscriptions

Get the plan change waiting for payment

The plan, storage or billing-cycle change a failed card payment holds until its invoice is paid; payment_url is the Stripe page that pays it. A change paid since is applied first, so this answers 404 once the change has landed or is gone.

get/workspaces/{workspace_id}/subscription/held-change

Request

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

plan_idinteger required
plan_namestring required
storage_gbinteger nullable
billing_cyclestring required
changes_planboolean required
payment_urlstring required

Changes

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