Skip to main content
A tariff prices energy at a location, and costs, instruction costs and earnings estimates all resolve through it. A device cannot enroll until its location has a connected tariff.

Who creates tariffs

Flatpeak records at onboarding whether your account supplies energy. Contact Flatpeak to change it.

Tariffs and enrollment

An enrollment waits in PENDING, at step AWAITING_TARIFF, until the location has two COMMODITY tariffs, one IMPORT and one EXPORT. Connect asks the customer to connect them. If you supply energy, create both when vpp_enrollment.update reports that step. NON_COMMODITY tariffs, for other charges, are optional.

Location or device

A device tariff replaces the location tariff of the same tariff_type and direction for that device; the two are never combined. Use one when the supply prices a device separately, such as an EV charger on a reduced rate, or for a managed tariff. When the device moves, its device tariff stays with the location and stops applying. Deleting the device deletes its device tariffs. In Connect, a tariff the customer connects for one device becomes a device tariff.

Create a tariff

Request body
  • schedule is a list of plans, each scoped by months, dates and days_and_hours. Use "All" and [] where the price does not vary.
  • Times are local to the location. Prices are in major currency units.
  • Flatpeak prices only between contract_start_date and contract_end_date.
  • There is no update: create the replacement, then delete the old tariff.
To track wholesale prices, put a market index in the rate:
Market-tracking rate
AUTO_WHOLESALE resolves the market from the address; to pin a market, name its index. See coverage.

One address, several locations

A location belongs to the OEM account that registered the device, so a household with devices from two OEMs has two location_ids with the same address. Create the tariff at each location you serve, and match them on your own customer reference, or on postal_address where the customer granted LOCATION.