{ "opencollection": "1.0.0", "info": { "name": "Monta Public Authentication Charges API", "version": "2023-09-14" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Charges", "type": "folder" }, "items": [ { "info": { "name": "List charges.", "type": "http" }, "http": { "method": "GET", "url": "https://public-api.monta.com/api/v1/charges", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page number to retrieve (starts with 0)." }, { "name": "perPage", "value": "", "type": "query", "description": "Number of items per page (between 1 and 100, default 10)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a paginated list of charges (charging sessions). Required scope: `charge-transactions`." }, { "info": { "name": "Start a charge.", "type": "http" }, "http": { "method": "POST", "url": "https://public-api.monta.com/api/v1/charges", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Starts a charge (charging session) on a given charge point. Required scope: `control-charging`." }, { "info": { "name": "Get a single charge.", "type": "http" }, "http": { "method": "GET", "url": "https://public-api.monta.com/api/v1/charges/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a single charge (charging session) by its identifier. Required scope: `charge-transactions`." }, { "info": { "name": "Stop a charge.", "type": "http" }, "http": { "method": "POST", "url": "https://public-api.monta.com/api/v1/charges/:id/stop", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Stops an active charge (charging session). Required scope: `control-charging`." }, { "info": { "name": "Get kWh consumption for a charge.", "type": "http" }, "http": { "method": "GET", "url": "https://public-api.monta.com/api/v1/charges/:id/kwh-consumption", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns the energy consumption (kWh) data for a given charge. Required scope: `charge-transactions`." } ] } ], "bundled": true }