Standard OCPI and Road's extensions
The Road Roaming Hub uses standard OCPI (versions 2.1.1, 2.2.1 and 2.3.0). If your platform implements the specification, you can connect without building anything Road specific.
Road also offers extensions for things OCPI does not cover. They are optional: if you only use standard OCPI, nothing changes for you.
What the extensions are
| Extension | Why it exists | For |
|---|---|---|
| Data sharing | Lets a CPO or an eMSP give a partner, such as a smart charging or navigation provider, its sessions and CDRs, and revoke that access later. OCPI has no way to manage this. See Sharing session data with partners. | CPO, eMSP |
| Payments | Lets payment terminal providers work with charging stations, including on OCPI 2.2.1, which has no payments module. | CPO, payment terminal providers |
| Extra lookups | Find a CDR or session using a reference you already hold, not only Road's id. | CPO, eMSP |
| Additional data | Adds information OCPI leaves out, such as the connector status as the charging station reports it, which shows more precisely whether a plug is free. | CPO, eMSP |
| Compatibility settings | Adjust how Road behaves, for example token encoding or pagination, so it matches how your platform already works. | CPO, eMSP |
| Notifications from Road | Tells a CPO who pays for a session (Road, or someone outside Road), and confirms when Road has passed the session record to the driver's eMSP. | CPO |
| Location branding | Lets a CPO send the brand drivers see at a Location: its name, logos and colours. Road shows it on its driver-facing pages, such as scan-to-pay. OCPI's business details (operator, suboperator and owner, each with a name, website and logo) describe companies, not how a Location presents itself to drivers. | CPO |
| Location customer service | Lets a CPO tell drivers how to reach its support at a Location: phone numbers per country and language, email, website, FAQ and opening hours. Road shows them on its driver-facing pages, such as scan-to-pay. OCPI has no support details for drivers until 2.3.0, which adds a single help_phone. | CPO |
| Several tariffs per connector | Lets a CPO on OCPI 2.1.1 reference more than one tariff on a connector, such as a regular and an ad hoc payment tariff, through the tariff_ids field OCPI 2.2.1 has. OCPI 2.1.1 allows one tariff_id. | CPO |
| Charging station restart | Lets an eMSP restart a charging station, for example from scan-to-pay's support guides. OCPI has no reset command. Any eMSP can send it; a CPO receives it once Road switches it on. A restart ends every session on the station. | CPO, eMSP |
How to enable them
There are two kinds:
- New endpoints, modules and fields (data sharing, payments, extra lookups, Location branding, Location customer service and several tariffs per connector) are on every connection already. Call them, or send the fields, when you need them. There is nothing to switch on.
- Changes to standard OCPI behaviour (additional data, compatibility settings and notifications from Road) are switched on by Road, for your connection only. Email [email protected] and say what you need. For notifications, include the base URL of your CDRs endpoint.
Until a setting is switched on, your connection behaves exactly as the OCPI specification says. The documentation does not show which settings are on for your connection, so ask the roaming team if you are unsure.
Full details
How Road differs from OCPI lists every extension with the OCPI versions it applies to. The Roaming Hub API reference marks each one with a ROAD badge.