Download OpenAPI specification:Download
The Transactions API offers an interface to access detailed information on charging sessions, referred to as "transactions". It provides a comprehensive view of transaction data across individual or all charging stations, for both ongoing and completed charging sessions.
A "transaction" in this context encapsulates the entire process of an electric vehicle charging session. It initially begins when a user plugs the charging cable into their vehicle, or by the user identifying themselves (e.g. RFID) or performing payment some other means. It ends upon disconnection of the cable from the vehicle.
The transaction object contains all details happening during that process, including that of plugging in the cable, user authentication, payment authorization (if applicable), the handshake between the vehicle and charger, the actual energy transfer, and payment processing, and disconnecting the cable.
Transactions are uniquely identified by their id, the txId
field. Each transaction is attached to a charging station, identified by stationId
.
Card payment data for e-receipts can be found under the paymentDetails
object.
Returns an array of latest transactions occuring across all charging stations, with optional filtering. Each object in the response contains transaction details including the ID, status, associated timestamps, charged energy amounts, and other such information.
OK
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (TransactionsSummary) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (Transaction) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
|
Unauthorized - Authorization: Bearer header is missing, invalid, expired, or user has no permission
{- "summary": {
- "count": 1,
- "chargedEnergyKwh": 44.792,
- "chargingTimeMs": 2621201,
- "occupiedTimeMs": 2662113
}, - "transactions": [
- {
- "stationId": "CSxxEyjiTya",
- "txId": "0d725c84-b7c1-4fb8-a74b-b6c0094b8c5c",
- "sequenceNumber": 10000405,
- "evseId": "22",
- "locationUid": "LexRgg3yty",
- "locationId": "120076R",
- "actualEVSEId": 2,
- "evseMaxPowerKw": 150,
- "status": "Ended",
- "idToken": {
- "idToken": ":sha256:bTKh0b05Fw+D4tr/tiDAWBB/CE1oFCp5d/yJtK2alkU=",
- "type": "ISO15693"
}, - "sessionDurationMs": 2662113,
- "chargingDurationMs": 2621201,
- "startTime": "2023-05-10T08:55:39.543Z",
- "activeStartTime": "2023-05-10T08:56:09.969Z",
- "chargingStartTime": "2023-05-10T08:56:09.962Z",
- "chargingEndTime": "2023-05-10T09:39:51.163Z",
- "endTime": "2023-05-10T09:40:01.656Z",
- "chargingStartReason": "CablePluggedIn",
- "chargingEndReason": "StoppedByEV",
- "endReasonDescription": "StoppedByEV",
- "cableConnected": true,
- "authenticated": true,
- "authorizationMethod": "EMV",
- "current": 0,
- "voltage": 0,
- "power": 0,
- "powerKw": 0,
- "maxPowerKw": 104,
- "chargedEnergyKwh": 44.792,
- "targetCurrent": 20,
- "targetVoltage": 500,
- "powerLimitation": "Vehicle",
- "soc": 100,
- "socStart": 47,
- "socEnd": 100,
- "evRunId": "04:E7:7E:00:F0:FA:00:00",
- "evMacAddress": "04:E7:7E:00:F0:FA",
- "evMaximumCurrent": 310,
- "evMaximumVoltage": 825,
- "timeToBulk": 0,
- "timeToFull": 0,
- "evIdentify": {
- "seqNo": 401,
- "clusteringTimestamp": "2023-05-10T09:39:55.909Z",
- "displayName": "Kia EV6 77.4 kWh"
}, - "evCluster": {
- "matchScore": 100,
- "closestMatchId": "ccs-825-04e77e-t-500-310-000000-1",
- "initialClusterId": "ccs-825-04e77e-t-500-310-000000",
- "batterySizeEstimate": 82.1,
- "closestMatchClusterName": "Kia EV6 77.4 kWh",
- "displayName": "Kia EV6 77.4 kWh",
- "clusterName": "Kia EV6 77.4 kWh",
- "clusterId": "ccs-825-04e77e-t-500-310-000000-1",
- "batteryChargeEstimate": 658240.7
}, - "triggerReason": "ChargingStateChanged",
- "updateTime": "2023-05-10T09:40:01.656Z",
- "chargingForecast": {
- "histogram": [ ],
- "chargeTimes": { },
- "chargeTimesSeconds": { }
}, - "evseName": "B-2",
- "endReason": "EVDisconnected",
- "evseType": "CCS",
- "startReason": "CablePluggedIn",
- "ambientTemp": 19,
- "maxCostCents": 4500,
- "totalCostCents": 3539,
- "paymentReference": 1683708940,
- "paymentSessionId": 3629,
- "paymentCurrency": "GBP",
- "waitingForPaymentReservation": false
}
]
}
Returns an array of latest transactions occuring across all charging stations, with optional filtering. Each object in the response contains transaction details including the ID, status, associated timestamps, charged energy amounts, and other such information.
OK
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (TransactionsSummary) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | Array of objects (Transaction) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
|
Unauthorized - Authorization: Bearer header is missing, invalid, expired, or user has no permission
{- "summary": {
- "count": 1,
- "chargedEnergyKwh": 44.792,
- "chargingTimeMs": 2621201,
- "occupiedTimeMs": 2662113
}, - "transactions": [
- {
- "stationId": "CSxxEyjiTya",
- "txId": "0d725c84-b7c1-4fb8-a74b-b6c0094b8c5c",
- "sequenceNumber": 10000405,
- "evseId": "22",
- "locationUid": "LexRgg3yty",
- "locationId": "120076R",
- "actualEVSEId": 2,
- "evseMaxPowerKw": 150,
- "status": "Ended",
- "idToken": {
- "idToken": ":sha256:bTKh0b05Fw+D4tr/tiDAWBB/CE1oFCp5d/yJtK2alkU=",
- "type": "ISO15693"
}, - "sessionDurationMs": 2662113,
- "chargingDurationMs": 2621201,
- "startTime": "2023-05-10T08:55:39.543Z",
- "activeStartTime": "2023-05-10T08:56:09.969Z",
- "chargingStartTime": "2023-05-10T08:56:09.962Z",
- "chargingEndTime": "2023-05-10T09:39:51.163Z",
- "endTime": "2023-05-10T09:40:01.656Z",
- "chargingStartReason": "CablePluggedIn",
- "chargingEndReason": "StoppedByEV",
- "endReasonDescription": "StoppedByEV",
- "cableConnected": true,
- "authenticated": true,
- "authorizationMethod": "EMV",
- "current": 0,
- "voltage": 0,
- "power": 0,
- "powerKw": 0,
- "maxPowerKw": 104,
- "chargedEnergyKwh": 44.792,
- "targetCurrent": 20,
- "targetVoltage": 500,
- "powerLimitation": "Vehicle",
- "soc": 100,
- "socStart": 47,
- "socEnd": 100,
- "evRunId": "04:E7:7E:00:F0:FA:00:00",
- "evMacAddress": "04:E7:7E:00:F0:FA",
- "evMaximumCurrent": 310,
- "evMaximumVoltage": 825,
- "timeToBulk": 0,
- "timeToFull": 0,
- "evIdentify": {
- "seqNo": 401,
- "clusteringTimestamp": "2023-05-10T09:39:55.909Z",
- "displayName": "Kia EV6 77.4 kWh"
}, - "evCluster": {
- "matchScore": 100,
- "closestMatchId": "ccs-825-04e77e-t-500-310-000000-1",
- "initialClusterId": "ccs-825-04e77e-t-500-310-000000",
- "batterySizeEstimate": 82.1,
- "closestMatchClusterName": "Kia EV6 77.4 kWh",
- "displayName": "Kia EV6 77.4 kWh",
- "clusterName": "Kia EV6 77.4 kWh",
- "clusterId": "ccs-825-04e77e-t-500-310-000000-1",
- "batteryChargeEstimate": 658240.7
}, - "triggerReason": "ChargingStateChanged",
- "updateTime": "2023-05-10T09:40:01.656Z",
- "chargingForecast": {
- "histogram": [ ],
- "chargeTimes": { },
- "chargeTimesSeconds": { }
}, - "evseName": "B-2",
- "endReason": "EVDisconnected",
- "evseType": "CCS",
- "startReason": "CablePluggedIn",
- "ambientTemp": 19,
- "maxCostCents": 4500,
- "totalCostCents": 3539,
- "paymentReference": 1683708940,
- "paymentSessionId": 3629,
- "paymentCurrency": "GBP",
- "waitingForPaymentReservation": false
}
]
}
Get a single transaction using its id. Transaction contains details including the ID, status, associated timestamps, charged energy amounts, and other such information.
OK
required | object (Transaction) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized - Authorization: Bearer header is missing, invalid, expired, or user has no permission
{- "transaction": {
- "stationId": "CSxZm0Mb7bw",
- "txId": "0ace021d-bc84-4f8f-81bd-1a9ae364e2c1",
- "sequenceNumber": 61,
- "evseId": "22",
- "locationUid": "LxxOzVyKab",
- "locationId": "120077R",
- "actualEVSEId": 2,
- "evseMaxPowerKw": 120,
- "parentId": "0ace021d-bc84-4f8f-81bd-1a9ae364e2c1",
- "status": "Charging",
- "idToken": {
- "idToken": "B0717C94",
- "type": "ISO15693"
}, - "sessionDurationMs": 450856,
- "chargingDurationMs": 410917,
- "startTime": "2023-05-10T10:31:47.572Z",
- "activeStartTime": "2023-05-10T10:32:27.528Z",
- "chargingStartTime": "2023-05-10T10:32:27.511Z",
- "chargingStartReason": "CablePluggedIn",
- "cableConnected": true,
- "authenticated": true,
- "authorizationMethod": "RFID_TOKEN",
- "current": 142,
- "voltage": 372,
- "power": 52898,
- "powerKw": 52.898,
- "maxPowerKw": 53,
- "chargedEnergyKwh": 5.757,
- "targetCurrent": 142,
- "targetVoltage": 421,
- "powerLimitation": "Vehicle",
- "soc": 49,
- "socStart": 43,
- "evRunId": "E0:0E:E1:02:F0:FA:00:00",
- "evMacAddress": "E0:0E:E1:02:F0:FA",
- "evMaximumCurrent": 200,
- "evMaximumVoltage": 421,
- "timeToBulk": 1860,
- "timeToFull": 5160,
- "evIdentify": {
- "seqNo": 61,
- "clusteringTimestamp": "2023-05-10T10:39:23.938Z",
- "displayName": "Hyundai Kona 64.0 kWh"
}, - "evCluster": {
- "matchScore": 70,
- "closestMatchId": "ccs-421-e00ee1-t-421-200-000000-1",
- "initialClusterId": "ccs-421-e00ee1-t-421-200-000000",
- "batterySizeEstimate": 103.7,
- "closestMatchClusterName": "Hyundai Kona 64.0 kWh",
- "displayName": "Hyundai Kona 64.0 kWh",
- "clusterName": "Hyundai Kona 64.0 kWh",
- "clusterId": "ccs-421-e00ee1-t-421-200-000000-0",
- "batteryChargeEstimate": 1013651.4
}, - "triggerReason": "MeterValuePeriodic",
- "updateTime": "2023-05-10T10:39:18.428Z",
- "chargingForecast": {
- "histogram": [ ],
- "chargeTimes": {
- "50": "2023-05-10T10:40:07.746Z",
- "55": "2023-05-10T10:44:08.487Z",
- "60": "2023-05-10T10:48:05.887Z",
- "65": "2023-05-10T10:52:10.472Z",
- "70": "2023-05-10T10:56:35.819Z",
- "75": "2023-05-10T11:01:39.900Z",
- "80": "2023-05-10T11:07:47.063Z",
- "85": "2023-05-10T11:15:31.027Z",
- "90": "2023-05-10T11:25:39.230Z",
- "95": "2023-05-10T11:39:17.707Z",
- "100": "2023-05-10T11:57:51.210Z"
}, - "chargeTimesSeconds": {
- "50": 49.31854248046875,
- "55": 290.05936431884766,
- "60": 527.459156036377,
- "65": 772.0440673828125,
- "70": 1037.3917808532715,
- "75": 1341.4722137451172,
- "80": 1708.635887145996,
- "85": 2172.5999450683594,
- "90": 2780.8020401000977,
- "95": 3599.2799530029297,
- "100": 4712.782173156738
}
}, - "evseName": "1234 B",
- "evseType": "CCS",
- "startReason": "CablePluggedIn",
- "ambientTemp": 34
}
}
Get latest transactions for list of charging stations
OK
Unauthorized - Authorization: Bearer header is missing, invalid, expired, or user has no permission
{- "stationIds": [
- "string"
]
}
{- "property1": [
- {
- "authorizationToken": "string",
- "chargedEnergyKwh": 0,
- "chargingEndReason": "ChargingStateChanged",
- "chargingEndTime": "string",
- "chargingStartReason": "Authorized",
- "chargingStartTime": "string",
- "connectorId": "string",
- "connectorName": "string",
- "connectorType": "AC",
- "endReason": "ChargingStateChanged",
- "endTime": "string",
- "energyLimitKwh": 0,
- "evseId": "string",
- "powerKw": 0,
- "powerKwAvg": 0,
- "powerKwMax": 0,
- "soc": 0,
- "socInitial": 0,
- "socLimit": 0,
- "startReason": "Authorized",
- "startTime": "string",
- "status": "Alarm",
- "timeLimitMs": 0,
- "triggerReason": "Authorized",
- "txId": "string"
}
], - "property2": [
- {
- "authorizationToken": "string",
- "chargedEnergyKwh": 0,
- "chargingEndReason": "ChargingStateChanged",
- "chargingEndTime": "string",
- "chargingStartReason": "Authorized",
- "chargingStartTime": "string",
- "connectorId": "string",
- "connectorName": "string",
- "connectorType": "AC",
- "endReason": "ChargingStateChanged",
- "endTime": "string",
- "energyLimitKwh": 0,
- "evseId": "string",
- "powerKw": 0,
- "powerKwAvg": 0,
- "powerKwMax": 0,
- "soc": 0,
- "socInitial": 0,
- "socLimit": 0,
- "startReason": "Authorized",
- "startTime": "string",
- "status": "Alarm",
- "timeLimitMs": 0,
- "triggerReason": "Authorized",
- "txId": "string"
}
]
}