Workspaces

Charge all open invoices for workspace

Gets all open/pending/unpaid invoices for the workspace and attempts to pay them with the customer's default payment method.

post/workspaces/{workspace_id}/invoices/charge

Request

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

object required

Changes

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