Skip to navigation

Estimate the price of a session

Prices a session on one connector from its tariff: energy, time, flat fee and parking lines, totals with and without VAT, and display strings.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
locationobjectRequired
OCPI key of one location.
evse_uidstringRequired1-39 characters
connector_idstringRequired1-36 characters
start_atdatetime or nullOptional
kwhdouble or string or nullOptional
minutesdouble or string or nullOptional

Response

Price lines, totals and display strings.
currencystring
tariff_idstring
lineslist of objects
total_excl_vatstring
total_incl_vatstring
displayobject

Driver-facing prices of the tariff’s unrestricted element, incl. VAT when known.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error