{
  "opencollection": "1.0.0",
  "info": {
    "name": "TensorDock Marketplace Billing API",
    "version": "0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "api_key",
      "value": "{{api_key}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Billing",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve Balance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://marketplace.tensordock.com/api/v0/billing/balance",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Retrieve the current account balance for the calling organization."
        },
        {
          "info": {
            "name": "Retrieve Revenue",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://marketplace.tensordock.com/api/v0/billing/revenue",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Retrieve revenue history for a hosting provider account."
        },
        {
          "info": {
            "name": "Retrieve Monthly Summary",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://marketplace.tensordock.com/api/v0/billing/summary",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Retrieve a monthly billing summary for the calling organization."
        }
      ]
    }
  ],
  "bundled": true
}