{
  "opencollection": "1.0.0",
  "info": {
    "name": "Consents Account On File Account Controls (New) Account Controls (New) Freelancer API",
    "version": "v0.2.3"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Freelancer",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Freelancer Cashflow Data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.leantech.me/insights/v2/assets/freelancers/cashflows",
            "params": [
              {
                "name": "entity_id",
                "value": "",
                "type": "query",
                "description": "The `entity_id` you're querying for."
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "The start date in UTC (in the format YYYY-MM-DD) you want to query transactions for. Defaults to start_date of consent transaction range."
              },
              {
                "name": "async",
                "value": "",
                "type": "query",
                "description": "When true the API will return a results_id which can be fetched from the /data/v2/results endpoint when ready. Note: it''s recommended to use the sync flow (async=false) for all requests by adapting the data workflow for connected entities."
              }
            ]
          },
          "docs": "The Freelancer Cashflow Insights API provides access to freelancers' certified income data.\nIt offers insights into total and monthly cash inflows (filtered based on income verification logic) and outflows.\n"
        }
      ]
    }
  ],
  "bundled": true
}