Learning Hub/Explorer
Back

Tariffs

OCPI 2.2.1
Overview

Tariffs define how charging is priced. A tariff can include per-kWh rates, time-based fees, flat fees, and parking charges. CPOs publish tariffs so EMSPs can show pricing to drivers.

Who sends

CPO (Charge Point Operator)

Who receives

eMSP (e-mobility service provider)

Key Fields
FieldTypeDescription

id

CiString(36)

Unique tariff identifier

currency

string

ISO 4217 currency code (e.g. EUR)

elements

TariffElement[]

Pricing components and restrictions

type

TariffType

REGULAR, AD_HOC_PAYMENT, or PROFILE_CHEAP

Endpoints
GET

/ocpi/2.2.1/tariffs/

PUT

/ocpi/2.2.1/tariffs/{country_code}/{party_id}/{tariff_id}

Live Endpoint Tester

Send requests directly to the local backend and see the response.