{
  "opencollection": "1.0.0",
  "info": {
    "name": "WSO2 API Manager - Admin Advanced Policy (Collection) Advanced Policy (Collection) API Monetization API",
    "version": "v4"
  },
  "items": [
    {
      "info": {
        "name": "API Monetization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Details of a Pending Invoice for a Monetized Subscription with Metered Billing.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apis.wso2.com/api/am/admin/v4/subscriptions/:subscriptionId/usage",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path",
                "description": "Subscription Id\n"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "resource_owner_password_credentials",
              "accessTokenUrl": "https://localhost:9443/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "This operation can be used to get details of a pending invoice for a monetized subscription with metered billing.\n"
        }
      ]
    }
  ],
  "bundled": true
}