Cost calculations
Calculate energy cost by session ID
Returns monetary value (cost) of energy by session_reference_id
that have been previously submitted to a /meters endpoint.
POST
Authorizations
Path Parameters
FlatPeak session_reference_id
from meter record as submitted by you via /meters
endpoints.
Query Parameters
Indicates direction you want to work with. Set to IMPORT
or EXPORT
. Defaults to IMPORT
.
Example:
"IMPORT"
Set to true
if you want to include tariff data.
Set to true
if you want to include carbon intensity data.
Response
200
application/json
The response is of type object
.