{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kong Enterprise Admin ACLs OpenMeter Billing API",
    "version": "3.14.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Kong-Admin-Token",
      "value": "{{Kong-Admin-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "OpenMeter Billing",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List billing profiles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/openmeter/profiles",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Determines which page of the collection to retrieve."
              }
            ]
          },
          "docs": "List billing profiles."
        },
        {
          "info": {
            "name": "Create a new billing profile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{protocol}://{hostname}:{port}{path}/v3/openmeter/profiles",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new billing profile.\n\nBilling profiles contain the settings for billing and controls invoice generation.\nAn organization can have multiple billing profiles defined.\nA billing profile is linked to a specific app. This association is established during the billing profile's creation and remains immutable."
        },
        {
          "info": {
            "name": "Get a billing profile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/openmeter/profiles/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a billing profile."
        },
        {
          "info": {
            "name": "Update a billing profile",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{protocol}://{hostname}:{port}{path}/v3/openmeter/profiles/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a billing profile."
        },
        {
          "info": {
            "name": "Delete a billing profile",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}:{port}{path}/v3/openmeter/profiles/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a billing profile.\n\nOnly such billing profiles can be deleted that are:\n- not the default profile\n- not pinned to any customer using customer overrides\n- only have finalized invoices"
        }
      ]
    }
  ],
  "bundled": true
}