{
  "opencollection": "1.0.0",
  "info": {
    "name": "Autopay Accounting Vehicle API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api-auth.autopay.io/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Vehicle",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Look up vehicle permit and active session in a zone",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.autopay.io/vehicle/v1/permit",
            "params": [
              {
                "name": "vehicle",
                "value": "",
                "type": "query",
                "description": "Vehicle registration / license plate"
              },
              {
                "name": "zone_id",
                "value": "",
                "type": "query",
                "description": "Parking zone ID (can be repeated for multiple zones)"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-auth.autopay.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Look up vehicle permit and active session in a zone"
        }
      ]
    }
  ],
  "bundled": true
}