{
  "opencollection": "1.0.0",
  "info": {
    "name": "Paigo Customers Invoices API",
    "version": "v1.10"
  },
  "items": [
    {
      "info": {
        "name": "Invoices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get an Invoice by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.prod.paigo.tech/invoices/:invoiceId",
            "params": [
              {
                "name": "invoiceId",
                "value": "7c71590b-3368-4d53-b9cb-5203605b4946",
                "type": "path",
                "description": "The invoice ID assigned by Paigo"
              },
              {
                "name": "download",
                "value": "true",
                "type": "query",
                "description": "Get a download link for the invoice in the response"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://auth.paigo.tech/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Find an Invoice\n<br><br> Download links for invoices are valid for 7 days."
        },
        {
          "info": {
            "name": "Create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.prod.paigo.tech/invoices",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://auth.paigo.tech/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          }
        }
      ]
    }
  ],
  "bundled": true
}