Use the prices
endpoint to retrieve a list of MSP prices and CPO ad hoc prices. The prices are considered at the connector level.
The pricing_id
from the locations
endpoint's response corresponds with the prices module.
Note
Before retrieving the prices, ensure you downloaded the latest Locations data. Eco-Movement recommends that you retrieve all the prices once a day or week. Download the prices data during CET working hours. Outside of these working hours, it is likely that there can be updates impacting the
pricing_id
attribute.
Request
See prices and prices/{id} to know more about the parameters that are used with the two versions of the prices
endpoint.
Response
The following is a sample response for the prices
endpoint:
{
data: [
{ pricelist
[
{ element 1
[{...},{...}]},
{ element 2
[{...},{...}]}
]
}
],
}
Caution
Eco-Movement always upholds the API contract, but we may send new attributes in our JSON response when:
- we add an OCPI mandatory attribute to the JSON response to be OCPI compliant
- we improve your licensing module with new features
Hence, we strongly recommend that you handle or ignore unknown JSON fields.
Response Definitions
The following are the attributes for the prices
endpoint:
Attribute | Description |
---|---|
| The unique id for a price.
|
| The owner of the payment product. |
| The name of the product. |
| A brief description about the product. |
| Indicates the type of subscription. The possible values are:
|
| The subscription price for a month or year, excluding VAT. (if applicable) |
| The three digit currency code of the country where the charging station is located. |
| The type of pricing that is applicable. The available pricing types are:
|
| The applicable price excluding vat. |
| The applicable VAT. |
Note
Use the "Try It!" button in prices and prices/{id} to view an actual response from our API.