{
  "opencollection": "1.0.0",
  "info": {
    "name": "Consents Account On File Account Controls (New) Account Controls (New) Behavioral Insights (New) API",
    "version": "v0.2.3"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Behavioral Insights (New)",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Behavioral Insights",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.leantech.me/insights/v3/behaviors",
            "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) of the analysis window. When omitted, defaults to the earliest debit transaction available for the entity."
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "The end date in UTC (in the format YYYY-MM-DD) of the analysis window (inclusive — transactions on this date are included). When omitted, defaults to the current time."
              }
            ]
          },
          "docs": "Enriches debit transactions with category, merchant, and location data, returning aggregated spend analytics  by category, merchant, and geography."
        }
      ]
    }
  ],
  "bundled": true
}