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 an eMSP give third parties, such as loyalty or smart charging providers, access to its drivers' sessions, and revoke that access later. OCPI has no way to manage this. | 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 |
How to enable them
There are two kinds:
- New endpoints and modules (data sharing, payments and extra lookups) are on every connection already. Call them 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.