{
  "item": [
    {
      "id": "5af74809-54a0-4bbb-80ab-0b317debd59c",
      "name": "Account",
      "description": {
        "content": "The key in use and its limits.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "2a495802-7cf5-45a6-8471-62be2b06f195",
          "name": "The key in use",
          "request": {
            "name": "The key in use",
            "description": {
              "content": "Returns the team, scopes, limits and environment of the key that made the call. Needs no scope; use it to test a new key.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "me"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "e90e3249-5a88-49e3-8f01-e1cb465d110c",
              "name": "OK",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "me"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "ID of this request. Quote it when contacting support.",
                  "key": "X-Request-Id",
                  "value": "ff213e76-18f5-0f08-b21a-2fb0dc16d1f8"
                },
                {
                  "disabled": false,
                  "description": "`live` for a live key, `sandbox` for a test key.",
                  "key": "X-OneCharge-Environment",
                  "value": "sandbox"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per minute.",
                  "key": "RateLimit-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left in the current minute.",
                  "key": "RateLimit-Remaining",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Seconds until the minute window resets.",
                  "key": "RateLimit-Reset",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per day (Asia/Bangkok day).",
                  "key": "X-Quota-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left today.",
                  "key": "X-Quota-Remaining",
                  "value": "770"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": {\n    \"team\": {\n      \"id\": 101,\n      \"name\": \"EV Power Energy\"\n    },\n    \"key\": {\n      \"id\": \"839a2db8-a67a-a326-18d3-2294dd4c59fa\",\n      \"prefix\": \"ock_live_a1b2c3d4\",\n      \"label\": \"EVPE data warehouse\",\n      \"scopes\": [\n        \"meter:read\",\n        \"sessions:read\"\n      ],\n      \"expires_at\": \"1954-04-16T12:03:52.963Z\"\n    },\n    \"limits\": {\n      \"per_minute\": 60,\n      \"per_day\": 20000\n    },\n    \"environment\": \"live\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "f9283a93-9af0-48f4-94d0-57de0a6c7f1c",
              "name": "The key is missing, wrong, expired or revoked.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "me"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"unauthorized\",\n    \"message\": \"Invalid API key\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "16c49253-c4f3-4057-acf0-f9286ac2e46c",
              "name": "The key is valid but may not do this: `insufficient_scope`, `ip_not_allowed` or\n`client_suspended`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "me"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"insufficient_scope\",\n    \"message\": \"This key lacks the scope meter:read\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "3f45c097-4210-4118-b81d-282c5ed1f8a1",
              "name": "`rate_limited` (per-minute limit) or `quota_exceeded` (daily quota). Wait `Retry-After` seconds.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "me"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "key": "Retry-After",
                  "value": "770",
                  "description": ""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"rate_limited\",\n    \"message\": \"Too many requests\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "9eda3353-1318-4d5a-83b4-d9136c4c3f6a",
      "name": "Stations",
      "description": {
        "content": "Stations, chargers, connectors and live connector status.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "6448a6bd-0c80-485a-b4a4-490d43758496",
          "name": "List stations",
          "request": {
            "name": "List stations",
            "description": {
              "content": "All stations of the team, each with its chargers and connectors. Scope `stations:read`.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "stations"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "50"
                },
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "",
                  "description": "`pagination.next_cursor` from the previous page."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "9bd90faa-28b1-408a-b936-f18f0e6d6e68",
              "name": "OK",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "stations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "ID of this request. Quote it when contacting support.",
                  "key": "X-Request-Id",
                  "value": "ff213e76-18f5-0f08-b21a-2fb0dc16d1f8"
                },
                {
                  "disabled": false,
                  "description": "`live` for a live key, `sandbox` for a test key.",
                  "key": "X-OneCharge-Environment",
                  "value": "sandbox"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per minute.",
                  "key": "RateLimit-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left in the current minute.",
                  "key": "RateLimit-Remaining",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Seconds until the minute window resets.",
                  "key": "RateLimit-Reset",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per day (Asia/Bangkok day).",
                  "key": "X-Quota-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left today.",
                  "key": "X-Quota-Remaining",
                  "value": "770"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"station_no\": \"EVPE-NBI-01\",\n      \"name\": \"EVPE Nonthaburi\",\n      \"is_active\": true,\n      \"chargers\": [\n        {\n          \"id\": 11,\n          \"online\": false,\n          \"connectors\": [\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ocpp_connector_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"name\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"rated_power_kw\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"max_current_a\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reported_status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status_changed_at\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ocpp_connector_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"name\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"rated_power_kw\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"max_current_a\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reported_status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status_changed_at\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"charger_no\": \"NBI-DC1\",\n          \"name\": \"DC 120kW #1\",\n          \"charge_point_id\": \"EVPE-NBI-DC1\",\n          \"vendor\": \"Autel\",\n          \"model\": \"MaxiCharger DC\",\n          \"firmware_version\": \"1.4.2\",\n          \"ocpp_version\": \"1.6\",\n          \"rated_power_kw\": 120,\n          \"last_heartbeat_at\": \"2004-06-18T16:54:55.850Z\"\n        },\n        {\n          \"id\": 11,\n          \"online\": true,\n          \"connectors\": [\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ocpp_connector_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"name\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"rated_power_kw\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"max_current_a\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reported_status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status_changed_at\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ocpp_connector_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"name\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"rated_power_kw\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"max_current_a\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reported_status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status_changed_at\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"charger_no\": \"NBI-DC1\",\n          \"name\": \"DC 120kW #1\",\n          \"charge_point_id\": \"EVPE-NBI-DC1\",\n          \"vendor\": \"Autel\",\n          \"model\": \"MaxiCharger DC\",\n          \"firmware_version\": \"1.4.2\",\n          \"ocpp_version\": \"1.6\",\n          \"rated_power_kw\": 120,\n          \"last_heartbeat_at\": \"1957-06-03T17:52:09.290Z\"\n        }\n      ],\n      \"name_th\": \"อีวีพี นนทบุรี\",\n      \"address\": \"Nonthaburi\",\n      \"location\": {\n        \"latitude\": 13.8621,\n        \"longitude\": 100.5144\n      },\n      \"created_at\": \"1960-11-10T00:18:11.268Z\",\n      \"updated_at\": \"1990-12-26T21:41:35.263Z\"\n    },\n    {\n      \"id\": 1,\n      \"station_no\": \"EVPE-NBI-01\",\n      \"name\": \"EVPE Nonthaburi\",\n      \"is_active\": true,\n      \"chargers\": [\n        {\n          \"id\": 11,\n          \"online\": true,\n          \"connectors\": [\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ocpp_connector_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"name\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"rated_power_kw\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"max_current_a\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reported_status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status_changed_at\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ocpp_connector_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"name\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"rated_power_kw\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"max_current_a\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reported_status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status_changed_at\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"charger_no\": \"NBI-DC1\",\n          \"name\": \"DC 120kW #1\",\n          \"charge_point_id\": \"EVPE-NBI-DC1\",\n          \"vendor\": \"Autel\",\n          \"model\": \"MaxiCharger DC\",\n          \"firmware_version\": \"1.4.2\",\n          \"ocpp_version\": \"1.6\",\n          \"rated_power_kw\": 120,\n          \"last_heartbeat_at\": \"2021-08-15T16:39:26.874Z\"\n        },\n        {\n          \"id\": 11,\n          \"online\": true,\n          \"connectors\": [\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ocpp_connector_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"name\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"rated_power_kw\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"max_current_a\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reported_status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status_changed_at\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ocpp_connector_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"name\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"connector_type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"rated_power_kw\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"max_current_a\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reported_status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status_changed_at\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"charger_no\": \"NBI-DC1\",\n          \"name\": \"DC 120kW #1\",\n          \"charge_point_id\": \"EVPE-NBI-DC1\",\n          \"vendor\": \"Autel\",\n          \"model\": \"MaxiCharger DC\",\n          \"firmware_version\": \"1.4.2\",\n          \"ocpp_version\": \"1.6\",\n          \"rated_power_kw\": 120,\n          \"last_heartbeat_at\": \"1962-04-26T22:35:30.330Z\"\n        }\n      ],\n      \"name_th\": \"อีวีพี นนทบุรี\",\n      \"address\": \"Nonthaburi\",\n      \"location\": {\n        \"latitude\": 13.8621,\n        \"longitude\": 100.5144\n      },\n      \"created_at\": \"2000-05-17T14:49:17.858Z\",\n      \"updated_at\": \"1966-09-20T19:36:01.381Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 100,\n    \"has_more\": true,\n    \"next_cursor\": \"eyJ0IjoiMjAyNi0xMC0wNyIsImlkIjo0NDF9\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a5c90d5b-2538-4ad3-a3b8-7fabbbbe7853",
              "name": "A parameter is missing or invalid.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "stations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"invalid_request\",\n    \"message\": \"The range from–to may be at most 31 days\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "251eddf1-6323-4d58-9bec-3f1e5b4fc373",
              "name": "The key is missing, wrong, expired or revoked.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "stations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"unauthorized\",\n    \"message\": \"Invalid API key\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ce61fd95-1f8c-4cff-84a3-71a23cf142bb",
              "name": "The key is valid but may not do this: `insufficient_scope`, `ip_not_allowed` or\n`client_suspended`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "stations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"insufficient_scope\",\n    \"message\": \"This key lacks the scope meter:read\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "4b15dd28-971f-4422-a7d0-3c9c5562a632",
              "name": "`rate_limited` (per-minute limit) or `quota_exceeded` (daily quota). Wait `Retry-After` seconds.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "stations"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "50"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "key": "Retry-After",
                  "value": "770",
                  "description": ""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"rate_limited\",\n    \"message\": \"Too many requests\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "b8381869-f4f5-4ea0-9cf4-45b8840c506e",
          "name": "Get a station",
          "request": {
            "name": "Get a station",
            "description": {
              "content": "One station with its chargers and connectors. Scope `stations:read`.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "stations",
                ":station_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "{{station_id}}",
                  "key": "station_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "e19c177b-3f17-4440-9287-7a6016db3f6f",
              "name": "OK",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "stations",
                    ":station_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "1",
                      "key": "station_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "ID of this request. Quote it when contacting support.",
                  "key": "X-Request-Id",
                  "value": "ff213e76-18f5-0f08-b21a-2fb0dc16d1f8"
                },
                {
                  "disabled": false,
                  "description": "`live` for a live key, `sandbox` for a test key.",
                  "key": "X-OneCharge-Environment",
                  "value": "sandbox"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per minute.",
                  "key": "RateLimit-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left in the current minute.",
                  "key": "RateLimit-Remaining",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Seconds until the minute window resets.",
                  "key": "RateLimit-Reset",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per day (Asia/Bangkok day).",
                  "key": "X-Quota-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left today.",
                  "key": "X-Quota-Remaining",
                  "value": "770"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": 1,\n    \"station_no\": \"EVPE-NBI-01\",\n    \"name\": \"EVPE Nonthaburi\",\n    \"is_active\": true,\n    \"chargers\": [\n      {\n        \"id\": 11,\n        \"online\": true,\n        \"connectors\": [\n          {\n            \"id\": 111,\n            \"status\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"ocpp_connector_id\": 1,\n            \"connector_code\": \"A\",\n            \"name\": \"CCS2 A\",\n            \"connector_type\": \"CCS2\",\n            \"rated_power_kw\": 120,\n            \"max_current_a\": 200,\n            \"reported_status\": \"Available\",\n            \"status_changed_at\": \"2010-07-21T09:37:10.198Z\"\n          },\n          {\n            \"id\": 111,\n            \"status\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"ocpp_connector_id\": 1,\n            \"connector_code\": \"A\",\n            \"name\": \"CCS2 A\",\n            \"connector_type\": \"CCS2\",\n            \"rated_power_kw\": 120,\n            \"max_current_a\": 200,\n            \"reported_status\": \"Available\",\n            \"status_changed_at\": \"2010-03-07T13:26:09.971Z\"\n          }\n        ],\n        \"charger_no\": \"NBI-DC1\",\n        \"name\": \"DC 120kW #1\",\n        \"charge_point_id\": \"EVPE-NBI-DC1\",\n        \"vendor\": \"Autel\",\n        \"model\": \"MaxiCharger DC\",\n        \"firmware_version\": \"1.4.2\",\n        \"ocpp_version\": \"1.6\",\n        \"rated_power_kw\": 120,\n        \"last_heartbeat_at\": \"1953-10-29T00:54:42.121Z\"\n      },\n      {\n        \"id\": 11,\n        \"online\": false,\n        \"connectors\": [\n          {\n            \"id\": 111,\n            \"status\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"ocpp_connector_id\": 1,\n            \"connector_code\": \"A\",\n            \"name\": \"CCS2 A\",\n            \"connector_type\": \"CCS2\",\n            \"rated_power_kw\": 120,\n            \"max_current_a\": 200,\n            \"reported_status\": \"Available\",\n            \"status_changed_at\": \"1958-11-02T00:33:17.542Z\"\n          },\n          {\n            \"id\": 111,\n            \"status\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"ocpp_connector_id\": 1,\n            \"connector_code\": \"A\",\n            \"name\": \"CCS2 A\",\n            \"connector_type\": \"CCS2\",\n            \"rated_power_kw\": 120,\n            \"max_current_a\": 200,\n            \"reported_status\": \"Available\",\n            \"status_changed_at\": \"1972-12-02T04:58:12.595Z\"\n          }\n        ],\n        \"charger_no\": \"NBI-DC1\",\n        \"name\": \"DC 120kW #1\",\n        \"charge_point_id\": \"EVPE-NBI-DC1\",\n        \"vendor\": \"Autel\",\n        \"model\": \"MaxiCharger DC\",\n        \"firmware_version\": \"1.4.2\",\n        \"ocpp_version\": \"1.6\",\n        \"rated_power_kw\": 120,\n        \"last_heartbeat_at\": \"1987-07-23T23:50:06.129Z\"\n      }\n    ],\n    \"name_th\": \"อีวีพี นนทบุรี\",\n    \"address\": \"Nonthaburi\",\n    \"location\": {\n      \"latitude\": 13.8621,\n      \"longitude\": 100.5144\n    },\n    \"created_at\": \"1992-02-21T11:29:13.915Z\",\n    \"updated_at\": \"1972-10-01T07:50:56.031Z\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ba1babcd-3236-4db8-9880-b7f5fa01ae16",
              "name": "The key is missing, wrong, expired or revoked.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "stations",
                    ":station_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "1",
                      "key": "station_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"unauthorized\",\n    \"message\": \"Invalid API key\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "a0bb6a50-066d-4e4e-a2f5-4b520888c48b",
              "name": "The key is valid but may not do this: `insufficient_scope`, `ip_not_allowed` or\n`client_suspended`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "stations",
                    ":station_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "1",
                      "key": "station_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"insufficient_scope\",\n    \"message\": \"This key lacks the scope meter:read\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0c9adffc-0043-4650-9510-c89ea70c6610",
              "name": "No such object for this team. Another team's objects also return 404.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "stations",
                    ":station_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "1",
                      "key": "station_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"not_found\",\n    \"message\": \"Session not found\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "25bb3b1f-925f-4514-9d8b-5dc878e84465",
              "name": "`rate_limited` (per-minute limit) or `quota_exceeded` (daily quota). Wait `Retry-After` seconds.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "stations",
                    ":station_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "1",
                      "key": "station_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "key": "Retry-After",
                  "value": "770",
                  "description": ""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"rate_limited\",\n    \"message\": \"Too many requests\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "c60bee8c-ee61-4e30-91b9-1ff050253826",
          "name": "Live connector status",
          "request": {
            "name": "Live connector status",
            "description": {
              "content": "The current status of one connector and when it last changed. Scope `stations:read`.\n\n`status` is grouped as on the Partner Web Connectors page; `reported_status` is the\nvalue the charger sent. `status` is `Offline` when the charger has sent no heartbeat\nfor 3 minutes, whatever the connector last reported.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "connectors",
                ":connector_id",
                "status"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "{{connector_id}}",
                  "key": "connector_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "d1f0e445-2758-46c5-92dd-3d8d9ee3b3af",
              "name": "OK",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "connectors",
                    ":connector_id",
                    "status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "111",
                      "key": "connector_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "ID of this request. Quote it when contacting support.",
                  "key": "X-Request-Id",
                  "value": "ff213e76-18f5-0f08-b21a-2fb0dc16d1f8"
                },
                {
                  "disabled": false,
                  "description": "`live` for a live key, `sandbox` for a test key.",
                  "key": "X-OneCharge-Environment",
                  "value": "sandbox"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per minute.",
                  "key": "RateLimit-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left in the current minute.",
                  "key": "RateLimit-Remaining",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Seconds until the minute window resets.",
                  "key": "RateLimit-Reset",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per day (Asia/Bangkok day).",
                  "key": "X-Quota-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left today.",
                  "key": "X-Quota-Remaining",
                  "value": "770"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": {\n    \"connector_id\": 111,\n    \"charger_id\": 11,\n    \"station_id\": 1,\n    \"status\": \"Charging\",\n    \"reported_status\": \"Available\",\n    \"status_changed_at\": \"1965-03-12T18:25:43.769Z\",\n    \"charger_online\": true,\n    \"charger_last_heartbeat_at\": \"1973-06-11T13:14:35.326Z\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "ebfb3871-8f04-45bc-9770-d6e26687f498",
              "name": "The key is missing, wrong, expired or revoked.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "connectors",
                    ":connector_id",
                    "status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "111",
                      "key": "connector_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"unauthorized\",\n    \"message\": \"Invalid API key\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "1a122a7d-7ce2-4d5c-acc2-adbc72278814",
              "name": "The key is valid but may not do this: `insufficient_scope`, `ip_not_allowed` or\n`client_suspended`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "connectors",
                    ":connector_id",
                    "status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "111",
                      "key": "connector_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"insufficient_scope\",\n    \"message\": \"This key lacks the scope meter:read\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "04c74043-14dd-413c-be67-4d8d1bd3f0ee",
              "name": "No such object for this team. Another team's objects also return 404.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "connectors",
                    ":connector_id",
                    "status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "111",
                      "key": "connector_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"not_found\",\n    \"message\": \"Session not found\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c67bac17-4b36-4aa4-b4d7-05a5be70b71e",
              "name": "`rate_limited` (per-minute limit) or `quota_exceeded` (daily quota). Wait `Retry-After` seconds.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "connectors",
                    ":connector_id",
                    "status"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "111",
                      "key": "connector_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "key": "Retry-After",
                  "value": "770",
                  "description": ""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"rate_limited\",\n    \"message\": \"Too many requests\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "47d027ba-f84f-4483-b8e3-89fae5ec0d5a",
      "name": "Sessions",
      "description": {
        "content": "Charging sessions and the meter readings taken during them.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "31598652-3bf6-40b2-83ea-159fd1a15753",
          "name": "List sessions",
          "request": {
            "name": "List sessions",
            "description": {
              "content": "Sessions at the team's stations that started within `from`–`to`, newest first.\nThe range may be at most 31 days. Scope `sessions:read`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "sessions"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "from",
                  "value": "{{from}}",
                  "description": "(Required) Start of the range (inclusive), ISO 8601."
                },
                {
                  "disabled": false,
                  "key": "to",
                  "value": "{{to}}",
                  "description": "(Required) End of the range (exclusive), ISO 8601. At most 31 days after `from`."
                },
                {
                  "disabled": true,
                  "key": "station_id",
                  "value": "{{station_id}}"
                },
                {
                  "disabled": true,
                  "key": "charger_id",
                  "value": ""
                },
                {
                  "disabled": true,
                  "key": "status",
                  "value": "processing"
                },
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "100"
                },
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "",
                  "description": "`pagination.next_cursor` from the previous page."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "b50f02c8-faa2-420b-8840-3ff3d4495b93",
              "name": "OK",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "2026-10-01T00:00:00+07:00"
                    },
                    {
                      "key": "to",
                      "value": "2026-10-08T00:00:00+07:00"
                    },
                    {
                      "key": "station_id",
                      "value": "770"
                    },
                    {
                      "key": "charger_id",
                      "value": "770"
                    },
                    {
                      "key": "status",
                      "value": "processing"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "ID of this request. Quote it when contacting support.",
                  "key": "X-Request-Id",
                  "value": "ff213e76-18f5-0f08-b21a-2fb0dc16d1f8"
                },
                {
                  "disabled": false,
                  "description": "`live` for a live key, `sandbox` for a test key.",
                  "key": "X-OneCharge-Environment",
                  "value": "sandbox"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per minute.",
                  "key": "RateLimit-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left in the current minute.",
                  "key": "RateLimit-Remaining",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Seconds until the minute window resets.",
                  "key": "RateLimit-Reset",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per day (Asia/Bangkok day).",
                  "key": "X-Quota-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left today.",
                  "key": "X-Quota-Remaining",
                  "value": "770"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": 441,\n      \"order_no\": \"OC26100714220501101\",\n      \"status\": \"failed\",\n      \"station_id\": 1,\n      \"charger_id\": 11,\n      \"connector_id\": 111,\n      \"started_at\": \"2020-11-11T01:10:21.847Z\",\n      \"ended_at\": \"2014-11-26T14:34:08.177Z\",\n      \"duration_seconds\": 2700,\n      \"energy_kwh\": 32.418,\n      \"meter_start_wh\": 1000000,\n      \"meter_stop_wh\": 1032418,\n      \"soc_start\": 22,\n      \"soc_stop\": 87,\n      \"status_detail\": \"Completed\",\n      \"failure_reason\": \"UNKNOWN\",\n      \"trigger_type\": \"QR\",\n      \"payment_method_type\": \"WALLET\",\n      \"currency\": \"THB\",\n      \"amount\": 243.14,\n      \"discount_amount\": 0,\n      \"amount_after_discount\": 243.14,\n      \"payment_status\": \"pending\",\n      \"payment_status_detail\": \"Paid\",\n      \"stop_reason\": \"EVDisconnected\",\n      \"updated_at\": \"1960-10-30T07:42:15.329Z\"\n    },\n    {\n      \"id\": 441,\n      \"order_no\": \"OC26100714220501101\",\n      \"status\": \"pending\",\n      \"station_id\": 1,\n      \"charger_id\": 11,\n      \"connector_id\": 111,\n      \"started_at\": \"1969-06-07T23:27:46.706Z\",\n      \"ended_at\": \"1960-03-27T16:34:20.325Z\",\n      \"duration_seconds\": 2700,\n      \"energy_kwh\": 32.418,\n      \"meter_start_wh\": 1000000,\n      \"meter_stop_wh\": 1032418,\n      \"soc_start\": 22,\n      \"soc_stop\": 87,\n      \"status_detail\": \"Completed\",\n      \"failure_reason\": \"SYSTEM_ERROR\",\n      \"trigger_type\": \"QR\",\n      \"payment_method_type\": \"WALLET\",\n      \"currency\": \"THB\",\n      \"amount\": 243.14,\n      \"discount_amount\": 0,\n      \"amount_after_discount\": 243.14,\n      \"payment_status\": \"not_charged\",\n      \"payment_status_detail\": \"Paid\",\n      \"stop_reason\": \"EVDisconnected\",\n      \"updated_at\": \"1984-03-16T10:54:07.672Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 100,\n    \"has_more\": true,\n    \"next_cursor\": \"eyJ0IjoiMjAyNi0xMC0wNyIsImlkIjo0NDF9\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "713e6e9b-808d-47f8-b8e8-1ebb3f0d966d",
              "name": "A parameter is missing or invalid.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "2026-10-01T00:00:00+07:00"
                    },
                    {
                      "key": "to",
                      "value": "2026-10-08T00:00:00+07:00"
                    },
                    {
                      "key": "station_id",
                      "value": "770"
                    },
                    {
                      "key": "charger_id",
                      "value": "770"
                    },
                    {
                      "key": "status",
                      "value": "processing"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"invalid_request\",\n    \"message\": \"The range from–to may be at most 31 days\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "bb852abb-f096-4171-a3d7-87a6377cf423",
              "name": "The key is missing, wrong, expired or revoked.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "2026-10-01T00:00:00+07:00"
                    },
                    {
                      "key": "to",
                      "value": "2026-10-08T00:00:00+07:00"
                    },
                    {
                      "key": "station_id",
                      "value": "770"
                    },
                    {
                      "key": "charger_id",
                      "value": "770"
                    },
                    {
                      "key": "status",
                      "value": "processing"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"unauthorized\",\n    \"message\": \"Invalid API key\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "d64b8be2-7edd-4f22-b4d7-447b333fc885",
              "name": "The key is valid but may not do this: `insufficient_scope`, `ip_not_allowed` or\n`client_suspended`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "2026-10-01T00:00:00+07:00"
                    },
                    {
                      "key": "to",
                      "value": "2026-10-08T00:00:00+07:00"
                    },
                    {
                      "key": "station_id",
                      "value": "770"
                    },
                    {
                      "key": "charger_id",
                      "value": "770"
                    },
                    {
                      "key": "status",
                      "value": "processing"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"insufficient_scope\",\n    \"message\": \"This key lacks the scope meter:read\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "5bcd7a90-4553-4886-a017-7eef1b8a564b",
              "name": "`rate_limited` (per-minute limit) or `quota_exceeded` (daily quota). Wait `Retry-After` seconds.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "2026-10-01T00:00:00+07:00"
                    },
                    {
                      "key": "to",
                      "value": "2026-10-08T00:00:00+07:00"
                    },
                    {
                      "key": "station_id",
                      "value": "770"
                    },
                    {
                      "key": "charger_id",
                      "value": "770"
                    },
                    {
                      "key": "status",
                      "value": "processing"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "key": "Retry-After",
                  "value": "770",
                  "description": ""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"rate_limited\",\n    \"message\": \"Too many requests\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "dd718875-4676-4e32-879d-9ec9ec7bb7cf",
          "name": "Get a session",
          "request": {
            "name": "Get a session",
            "description": {
              "content": "Scope `sessions:read`.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "sessions",
                ":session_id"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "{{session_id}}",
                  "key": "session_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "0223596e-fd7d-4aed-9e45-ffcc7faa641b",
              "name": "OK",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions",
                    ":session_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "441",
                      "key": "session_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "ID of this request. Quote it when contacting support.",
                  "key": "X-Request-Id",
                  "value": "ff213e76-18f5-0f08-b21a-2fb0dc16d1f8"
                },
                {
                  "disabled": false,
                  "description": "`live` for a live key, `sandbox` for a test key.",
                  "key": "X-OneCharge-Environment",
                  "value": "sandbox"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per minute.",
                  "key": "RateLimit-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left in the current minute.",
                  "key": "RateLimit-Remaining",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Seconds until the minute window resets.",
                  "key": "RateLimit-Reset",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per day (Asia/Bangkok day).",
                  "key": "X-Quota-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left today.",
                  "key": "X-Quota-Remaining",
                  "value": "770"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": 441,\n    \"order_no\": \"OC26100714220501101\",\n    \"status\": \"completed\",\n    \"station_id\": 1,\n    \"charger_id\": 11,\n    \"connector_id\": 111,\n    \"started_at\": \"2026-01-09T05:48:44.440Z\",\n    \"ended_at\": \"1971-03-09T22:04:29.178Z\",\n    \"duration_seconds\": 2700,\n    \"energy_kwh\": 32.418,\n    \"meter_start_wh\": 1000000,\n    \"meter_stop_wh\": 1032418,\n    \"soc_start\": 22,\n    \"soc_stop\": 87,\n    \"status_detail\": \"Completed\",\n    \"failure_reason\": \"SYSTEM_ERROR\",\n    \"trigger_type\": \"QR\",\n    \"payment_method_type\": \"WALLET\",\n    \"currency\": \"THB\",\n    \"amount\": 243.14,\n    \"discount_amount\": 0,\n    \"amount_after_discount\": 243.14,\n    \"payment_status\": \"pending\",\n    \"payment_status_detail\": \"Paid\",\n    \"stop_reason\": \"EVDisconnected\",\n    \"updated_at\": \"2004-04-30T23:54:04.691Z\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e7f1f3d4-ad36-40f7-8599-9ad2e51f7f62",
              "name": "The key is missing, wrong, expired or revoked.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions",
                    ":session_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "441",
                      "key": "session_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"unauthorized\",\n    \"message\": \"Invalid API key\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "c37ddbd6-13d4-41c5-b2b7-0e4f4baa12fd",
              "name": "The key is valid but may not do this: `insufficient_scope`, `ip_not_allowed` or\n`client_suspended`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions",
                    ":session_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "441",
                      "key": "session_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"insufficient_scope\",\n    \"message\": \"This key lacks the scope meter:read\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "e37c118b-ce9c-420d-a222-d91fe79d3672",
              "name": "No such object for this team. Another team's objects also return 404.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions",
                    ":session_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "441",
                      "key": "session_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"not_found\",\n    \"message\": \"Session not found\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b8db84c8-fdcc-43c6-a321-a38d640ddc32",
              "name": "`rate_limited` (per-minute limit) or `quota_exceeded` (daily quota). Wait `Retry-After` seconds.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions",
                    ":session_id"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "441",
                      "key": "session_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "key": "Retry-After",
                  "value": "770",
                  "description": ""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"rate_limited\",\n    \"message\": \"Too many requests\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        },
        {
          "id": "f7937322-1f68-4ec6-8bd6-f11ee039c0d4",
          "name": "Meter readings of a session",
          "request": {
            "name": "Meter readings of a session",
            "description": {
              "content": "The readings the charger reported during the session (as often as the charger sends them: every few seconds on most DC chargers),\noldest first, with a summary. Fields a charger does not report are `null`.\nAt most 5,000 readings are returned. Scope `meter:read`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "sessions",
                ":session_id",
                "meter-values"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": [
                {
                  "disabled": false,
                  "type": "any",
                  "value": "{{session_id}}",
                  "key": "session_id",
                  "description": "(Required) "
                }
              ]
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "e665efbf-21c4-4fba-bd2d-b228518a378d",
              "name": "OK",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions",
                    ":session_id",
                    "meter-values"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "441",
                      "key": "session_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "ID of this request. Quote it when contacting support.",
                  "key": "X-Request-Id",
                  "value": "ff213e76-18f5-0f08-b21a-2fb0dc16d1f8"
                },
                {
                  "disabled": false,
                  "description": "`live` for a live key, `sandbox` for a test key.",
                  "key": "X-OneCharge-Environment",
                  "value": "sandbox"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per minute.",
                  "key": "RateLimit-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left in the current minute.",
                  "key": "RateLimit-Remaining",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Seconds until the minute window resets.",
                  "key": "RateLimit-Reset",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per day (Asia/Bangkok day).",
                  "key": "X-Quota-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left today.",
                  "key": "X-Quota-Remaining",
                  "value": "770"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": {\n    \"session_id\": 441,\n    \"summary\": {\n      \"reading_count\": 46,\n      \"first_reading_at\": \"2011-01-28T09:55:58.596Z\",\n      \"last_reading_at\": \"1986-04-23T01:06:28.702Z\",\n      \"energy_delivered_kwh\": 40.5,\n      \"peak_power_kw\": 49.8,\n      \"avg_power_kw\": 40.1,\n      \"soc_start\": 22,\n      \"soc_end\": 67,\n      \"max_temperature_c\": 58.2,\n      \"truncated\": false\n    },\n    \"readings\": [\n      {\n        \"timestamp\": \"1973-05-16T16:34:58.439Z\",\n        \"energy_register_wh\": 1000900,\n        \"energy_delivered_kwh\": 0.9,\n        \"power_kw\": 43.7,\n        \"voltage_v\": 396.1,\n        \"current_a\": 87.7,\n        \"soc_percent\": 48,\n        \"temperature_c\": 38\n      },\n      {\n        \"timestamp\": \"2017-03-22T21:09:33.889Z\",\n        \"energy_register_wh\": 1000900,\n        \"energy_delivered_kwh\": 0.9,\n        \"power_kw\": 43.7,\n        \"voltage_v\": 396.1,\n        \"current_a\": 87.7,\n        \"soc_percent\": 48,\n        \"temperature_c\": 38\n      }\n    ]\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "fc4eb78c-36fb-4358-9f55-9dfefe42593d",
              "name": "The key is missing, wrong, expired or revoked.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions",
                    ":session_id",
                    "meter-values"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "441",
                      "key": "session_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"unauthorized\",\n    \"message\": \"Invalid API key\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "2b5e4be4-d504-42d2-98e8-ecf5e43e4de7",
              "name": "The key is valid but may not do this: `insufficient_scope`, `ip_not_allowed` or\n`client_suspended`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions",
                    ":session_id",
                    "meter-values"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "441",
                      "key": "session_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"insufficient_scope\",\n    \"message\": \"This key lacks the scope meter:read\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "59e1731b-4f04-49b0-84c3-05b650900972",
              "name": "No such object for this team. Another team's objects also return 404.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions",
                    ":session_id",
                    "meter-values"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "441",
                      "key": "session_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Not Found",
              "code": 404,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"not_found\",\n    \"message\": \"Session not found\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "cb577425-2c68-4ba8-b64e-24a481ab63cc",
              "name": "`rate_limited` (per-minute limit) or `quota_exceeded` (daily quota). Wait `Retry-After` seconds.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "sessions",
                    ":session_id",
                    "meter-values"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "disabled": false,
                      "type": "any",
                      "value": "441",
                      "key": "session_id",
                      "description": "(Required) "
                    }
                  ]
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "key": "Retry-After",
                  "value": "770",
                  "description": ""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"rate_limited\",\n    \"message\": \"Too many requests\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    },
    {
      "id": "83ae54e5-2ada-48f4-a611-ff5c5ac4396d",
      "name": "Revenue",
      "description": {
        "content": "Money per session, for reconciliation.",
        "type": "text/plain"
      },
      "item": [
        {
          "id": "9faddd16-d688-45b8-be85-eb2d67442f4d",
          "name": "List revenue per session",
          "request": {
            "name": "List revenue per session",
            "description": {
              "content": "Amount, VAT, OneCharge fee and net revenue of each session that started within\n`from`–`to`, newest first. The range may be at most 31 days. Scope `revenue:read`.\n",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "v1",
                "transactions"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "key": "from",
                  "value": "{{from}}",
                  "description": "(Required) Start of the range (inclusive), ISO 8601."
                },
                {
                  "disabled": false,
                  "key": "to",
                  "value": "{{to}}",
                  "description": "(Required) End of the range (exclusive), ISO 8601. At most 31 days after `from`."
                },
                {
                  "disabled": true,
                  "key": "station_id",
                  "value": "{{station_id}}"
                },
                {
                  "disabled": true,
                  "key": "payment_status",
                  "value": "not_charged"
                },
                {
                  "disabled": true,
                  "key": "limit",
                  "value": "100"
                },
                {
                  "disabled": true,
                  "key": "cursor",
                  "value": "",
                  "description": "`pagination.next_cursor` from the previous page."
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET"
          },
          "response": [
            {
              "id": "5afd743f-f2c3-4be7-b14b-be1b0249747e",
              "name": "OK",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "transactions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "2026-10-01T00:00:00+07:00"
                    },
                    {
                      "key": "to",
                      "value": "2026-10-08T00:00:00+07:00"
                    },
                    {
                      "key": "station_id",
                      "value": "770"
                    },
                    {
                      "key": "payment_status",
                      "value": "not_charged"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "disabled": false,
                  "description": "ID of this request. Quote it when contacting support.",
                  "key": "X-Request-Id",
                  "value": "ff213e76-18f5-0f08-b21a-2fb0dc16d1f8"
                },
                {
                  "disabled": false,
                  "description": "`live` for a live key, `sandbox` for a test key.",
                  "key": "X-OneCharge-Environment",
                  "value": "sandbox"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per minute.",
                  "key": "RateLimit-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left in the current minute.",
                  "key": "RateLimit-Remaining",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Seconds until the minute window resets.",
                  "key": "RateLimit-Reset",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests allowed per day (Asia/Bangkok day).",
                  "key": "X-Quota-Limit",
                  "value": "770"
                },
                {
                  "disabled": false,
                  "description": "Requests left today.",
                  "key": "X-Quota-Remaining",
                  "value": "770"
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"session_id\": 441,\n      \"order_no\": \"OC26100714220501101\",\n      \"station_id\": 1,\n      \"started_at\": \"2018-06-19T08:04:57.435Z\",\n      \"paid_at\": \"1985-05-21T04:25:53.830Z\",\n      \"currency\": \"THB\",\n      \"gross_amount\": 397.6,\n      \"discount_amount\": 0,\n      \"vat_amount\": 26.01,\n      \"fee\": {\n        \"type\": \"string\",\n        \"rate\": 4,\n        \"before_vat\": 15.9,\n        \"vat\": 1.11,\n        \"total\": 17.01\n      },\n      \"withholding_tax\": {\n        \"rate\": 0,\n        \"amount\": 0\n      },\n      \"net_revenue\": 380.59,\n      \"payment_method_type\": \"WALLET\",\n      \"payment_status\": \"paid\",\n      \"payment_status_detail\": \"Paid\",\n      \"reconcile_status\": \"pending\"\n    },\n    {\n      \"session_id\": 441,\n      \"order_no\": \"OC26100714220501101\",\n      \"station_id\": 1,\n      \"started_at\": \"1966-04-03T01:28:34.248Z\",\n      \"paid_at\": \"1983-05-12T14:31:09.397Z\",\n      \"currency\": \"THB\",\n      \"gross_amount\": 397.6,\n      \"discount_amount\": 0,\n      \"vat_amount\": 26.01,\n      \"fee\": {\n        \"type\": \"string\",\n        \"rate\": 4,\n        \"before_vat\": 15.9,\n        \"vat\": 1.11,\n        \"total\": 17.01\n      },\n      \"withholding_tax\": {\n        \"rate\": 0,\n        \"amount\": 0\n      },\n      \"net_revenue\": 380.59,\n      \"payment_method_type\": \"WALLET\",\n      \"payment_status\": \"pending\",\n      \"payment_status_detail\": \"Paid\",\n      \"reconcile_status\": \"pending\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 100,\n    \"has_more\": true,\n    \"next_cursor\": \"eyJ0IjoiMjAyNi0xMC0wNyIsImlkIjo0NDF9\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "b3499350-c77b-44f3-a1ea-3c1aa33065da",
              "name": "A parameter is missing or invalid.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "transactions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "2026-10-01T00:00:00+07:00"
                    },
                    {
                      "key": "to",
                      "value": "2026-10-08T00:00:00+07:00"
                    },
                    {
                      "key": "station_id",
                      "value": "770"
                    },
                    {
                      "key": "payment_status",
                      "value": "not_charged"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Bad Request",
              "code": 400,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"invalid_request\",\n    \"message\": \"The range from–to may be at most 31 days\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "22fc8949-2d7c-4ce3-b5af-a1cecc5e6fca",
              "name": "The key is missing, wrong, expired or revoked.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "transactions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "2026-10-01T00:00:00+07:00"
                    },
                    {
                      "key": "to",
                      "value": "2026-10-08T00:00:00+07:00"
                    },
                    {
                      "key": "station_id",
                      "value": "770"
                    },
                    {
                      "key": "payment_status",
                      "value": "not_charged"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Unauthorized",
              "code": 401,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"unauthorized\",\n    \"message\": \"Invalid API key\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "0b26af89-da37-4892-bbbd-c5c43db28caf",
              "name": "The key is valid but may not do this: `insufficient_scope`, `ip_not_allowed` or\n`client_suspended`.\n",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "transactions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "2026-10-01T00:00:00+07:00"
                    },
                    {
                      "key": "to",
                      "value": "2026-10-08T00:00:00+07:00"
                    },
                    {
                      "key": "station_id",
                      "value": "770"
                    },
                    {
                      "key": "payment_status",
                      "value": "not_charged"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Forbidden",
              "code": 403,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"insufficient_scope\",\n    \"message\": \"This key lacks the scope meter:read\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            },
            {
              "id": "fae5e5f6-0a03-4a04-90ec-2b43ef35d574",
              "name": "`rate_limited` (per-minute limit) or `quota_exceeded` (daily quota). Wait `Retry-After` seconds.",
              "originalRequest": {
                "url": {
                  "path": [
                    "v1",
                    "transactions"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "key": "from",
                      "value": "2026-10-01T00:00:00+07:00"
                    },
                    {
                      "key": "to",
                      "value": "2026-10-08T00:00:00+07:00"
                    },
                    {
                      "key": "station_id",
                      "value": "770"
                    },
                    {
                      "key": "payment_status",
                      "value": "not_charged"
                    },
                    {
                      "key": "limit",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "string"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {}
              },
              "status": "Too Many Requests",
              "code": 429,
              "header": [
                {
                  "disabled": false,
                  "key": "Retry-After",
                  "value": "770",
                  "description": ""
                },
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"error\": {\n    \"code\": \"rate_limited\",\n    \"message\": \"Too many requests\",\n    \"request_id\": \"3f0c9d1e-8a51-4c0e-9d4b-1b2c3d4e5f60\"\n  }\n}",
              "cookie": [],
              "_postman_previewlanguage": "json"
            }
          ],
          "event": [],
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          }
        }
      ],
      "event": []
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [
          "const day = 864e5, thai = d => new Date(Date.parse(new Date(d.getTime() + 7 * 36e5).toISOString().slice(0, 10) + 'T00:00:00+07:00')).toISOString().replace('.000', '')",
          "if (!pm.environment.get('from') && !pm.collectionVariables.get('from')) pm.variables.set('from', thai(new Date(Date.now() - 7 * day)))",
          "if (!pm.environment.get('to') && !pm.collectionVariables.get('to')) pm.variables.set('to', thai(new Date(Date.now() + day)))"
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://open-api.onecharge.co.th"
    },
    {
      "key": "station_id",
      "value": "9001"
    },
    {
      "key": "connector_id",
      "value": "900111"
    },
    {
      "key": "session_id",
      "value": "1"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "info": {
    "_postman_id": "35f7c520-482c-436b-8e94-8797f98c95cd",
    "name": "OneCharge Partner API v1",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Read-only access to your own stations, sessions, meter values and revenue.\n\n1. Pick the environment \"OneCharge Partner API – Sandbox\" (or Production).\n2. Put your key in the environment variable apiKey (ock_test_… for the sandbox).\n3. Send \"The key in use\" (GET /v1/me) to check the key.\n\nfrom/to default to the last 7 days (set by the collection pre-request script). Full docs: /docs"
  }
}
