Create Customer object
reference_id
. In the example below, the response will include FlatPeak Customer ID, cus_65e421d1daa4a24082b4f590
.Create Location object
reference_id
. The response will include FlatPeak Location ID, loc_641b90b758fb8e6293716e40
in the example below.To create a location, you must pass at least postal_address.city
and postal_address.country_code
. This is so FlatPeak can resolve timezone, currency code and market rates region from the address provided.Create Tariff object
€0.23
per kWh:Object/Parameter | Description |
---|---|
location_id | FlatPeak Location ID, to which this tariff applies. |
direction | Tariff direction, i.e. if it applies to the energy being consumed IMPORT at the supply address or exported from that address, i.e. EXPORT . The most common value will be IMPORT . |
type | Represents if the tariff describes energy purchase (COMMODITY ) or transmission (NON_COMMODITY ) cost, see tariff direction and type. The most common value will be COMMODITY . |
contract_start_date | Date when the contract between your customer and their energy provider has begun. If you don’t have this information, set it to today’s date. |
contract_end_date | Date when the contract between your customer and their energy provider has ended or will end. If you don’t have this information, set it to today’s date + 1 year. |
schedule.months | Specifies months when tariff applies. Set to All . |
schedule.days_and_hours.days | Specifies days when tariff applies. Set to All . |
schedule.days_and_hours.hours.[] | Specifies hours when this tariff applies. Set to align with the example below when your customer is on a fixed tariff rate. Set rates.value to their tariff rate in small currency units, i.e. 23.431 for ~€0.23. |
Type/Direction | Description |
---|---|
COMMODITY +IMPORT | The price of the actual imported electricity. It’s essential always to allow your customers to add their commodity import tariff, as this is the most fundamental fee across all markets and regions. |
NON_COMMODITY +IMPORT | The cost of transporting electricity, known as network or grid fees, may be charged separately in many markets. FlatPeak recommends allowing customers to add this tariff, as it affects their total energy cost. |
COMMODITY +EXPORT | The price of exported electricity. If your solution includes energy storage or generation, you should offer this option. FlatPeak separates import and export tariffs, as customers may use different providers. |
NON_COMMODITY +EXPORT | The price of transporting electricity from the customer to the grid. FlatPeak disabled this feature as there are no known cases of export transmission fees. |
COMMODITY
type represents contract to purchase “electrons”. NON_COMMODITY
type represents the contract to pay for the transfer of those electrons from the power station to the customer’s home.