Start here

What OCPI is, how its requests look, and how connections are set up.

  1. 01

    What Is OCPI? Open Charge Point Interface and EV Roaming Explained

    OCPI (Open Charge Point Interface) lets a driver charge on another network and still get one bill from their own provider. Roles, modules, API, versions.

    · 12 min read
  2. 02

    OCPI Request Examples: Locations, Sessions & CDR JSON

    Copy-paste OCPI 2.2.1 request examples: real Locations, Sessions, and CDR JSON payloads, with the HTTP method, endpoint path, and headers for each.

    · 9 min read
  3. 03

    OCPI Hub vs Peer-to-Peer: How to Choose

    When to roam through a hub, when to build direct peer-to-peer integrations, and what the tradeoffs cost you in practice.

    · 9 min read
  4. 04

    OCPI Pull vs Push: When to Use Each Pattern

    OCPI supports both pull and push patterns per module. Here is how each works, which modules use which, and the tradeoffs that matter in production.

    · 6 min read

The modules

Registration first, then every module a CPO or an eMSP builds.

  1. 01

    OCPI Credentials and Versions Modules: How Partners Find Each Other

    Before any data can flow between an eMSP and a CPO via OCPI, they have to negotiate. The Credentials and Versions modules are the handshake.

    · 16 min read
  2. 02

    OCPI Locations Module: EVSE, Connector Fields and JSON Example

    OCPI 2.2.1 Locations with a valid JSON example: Location, EVSE and Connector fields, EVSE status values, PUT vs PATCH, and why there is no DELETE.

    · 10 min read
  3. 03

    OCPI Tariffs Module: Tariff Object, Fields and JSON Examples

    OCPI 2.2.1 Tariffs with a complete JSON example: every field, ENERGY, TIME, FLAT and PARKING_TIME components, how elements are matched, and who calls what.

    · 10 min read
  4. 04

    OCPI Tariff Dimensions: ENERGY, TIME, FLAT & PARKING_TIME

    The four OCPI tariff dimensions in depth: ENERGY, TIME, FLAT and PARKING_TIME, how step_size rounding works, and how restrictions gate each one.

    · 12 min read
  5. 05

    OCPI Tokens Module: Token Fields, Whitelist, Authorization

    OCPI 2.2.1 Tokens with JSON examples: Token fields, RFID and APP_USER types, whitelist values, real-time authorization, and how CPOs cache tokens.

    · 13 min read
  6. 06

    OCPI Sessions Module: Session Fields, Statuses and JSON

    OCPI 2.2.1 Sessions with JSON examples: Session fields, ACTIVE to COMPLETED statuses, PUT and PATCH updates, charging periods, and Sessions vs CDRs.

    · 16 min read
  7. 07

    OCPI CDRs Module: How Billing Records Flow Between Networks

    CDRs (Charge Detail Records) are the final, immutable billing records exchanged via OCPI after a session completes. Here is how they work.

    · 16 min read
  8. 08

    OCPI Commands Module: Remote Charging Control Across Networks

    How eMSPs trigger start/stop/reserve actions on CPO stations via OCPI. The Commands module is what makes "Start Session" buttons in apps work.

    · 12 min read
  9. 09

    OCPI ChargingProfiles: Smart Charging via Roaming Explained

    How OCPI ChargingProfiles lets an eMSP shape power on a live session: the fields, a full worked round trip, and the gotchas that quietly break it.

    · 14 min read
  10. 10

    OCPI HubClientInfo Module: How Hub Discovery Works

    How the OCPI HubClientInfo module lets a hub publish its connected parties, with worked PUT/GET examples, the four status values, and the gotchas that bite.

    · 12 min read

Versions

What changed between releases, and how to move between them.

  1. 01

    OCPI Versions: 2.1.1 vs 2.2.1 vs 2.3.0 vs 3.0, Spec PDFs

    Every OCPI version from 2.0 to 2.3.0 with its spec date and status, what 3.0 is waiting on, which version to implement, and where to get each spec PDF.

    · 11 min read
  2. 02

    OCPI 2.2 vs 2.2.1: Every Change, Why It Was Made, How to Upgrade

    OCPI 2.2 vs 2.2.1 from the official changelog: the mandatory CdrToken fields, signed-data type fixes, 16 new enum values, and a 2.2.1 upgrade checklist.

    · 9 min read
  3. 03

    OCPI 2.1.1 to 2.2 Migration: The Step-by-Step Order

    OCPI 2.1.1 to 2.2 migration in the order to actually do it: what changed, the Credentials handshake to fix first, and how to upgrade without breaking partners.

    · 15 min read
  4. 04

    What's New in OCPI 2.3.0: AFIR, Taxes, Parking and Payments

    What OCPI 2.3.0 adds over 2.2.1: AFIR-driven data, North American taxes, the Parking object, extensibility, the Payments module, and who should upgrade.

    · 8 min read
  5. 05

    OCPI 3.0 Preview: V2G, Grid Services, and Migration Planning

    What OCPI 3.0 is positioned to change: bidirectional sessions, CDRs, tariffs, and grid services, plus how to prepare while running 2.2.1 today.

    · 8 min read

Building, testing and security

Prove a connection, read the errors, and avoid the usual traps.

  1. 01

    How to Test an OCPI Connection Before You Go Live

    A step-by-step OCPI integration test workflow: handshake, versions, module smoke tests, and error handling, so nothing surprises you on go-live day.

    · 9 min read
  2. 02

    OCPI Testing Tools and Strategies: A Practical Guide

    How to test an OCPI implementation properly: mocks, schema validation, partner-style fixtures, and the operational tests that catch real bugs.

    · 13 min read
  3. 03

    OCPI Sandbox: Try the Full API Flow Without a Partner

    Run a complete OCPI 2.2.1 flow in a sandbox: credentials handshake, Locations, Sessions, Commands and CDRs, with no roaming partner needed.

    · 9 min read
  4. 04

    OCPI Error Responses: Status Codes and How to Debug Them

    A practical reference for OCPI status_code values (1xxx-4xxx), the response envelope, and how to debug the 2001, 3001, and 4001 errors you actually hit.

    · 7 min read
  5. 05

    OCPI Integration Pitfalls: 11 Common Mistakes and Fixes

    Common OCPI integration mistakes and pitfalls (pagination, idempotency, timestamps, status codes) and the concrete fix for each, from real builds.

    · 9 min read
  6. 06

    OCPI Security and Authentication: Tokens, TLS & mTLS

    How OCPI security and authentication really work: bearer tokens, TLS, mTLS, the threat model, and a checklist to keep tokens from leaking.

    · 12 min read

The business of roaming

Who pays whom, and how fleets use roaming.

  1. 01

    What Is a CPO and an eMSP? EV Charging Roles, Money and Data

    A CPO runs the chargers; an eMSP owns the driver account. Who does what, what each sees and bills in one session, and what EVSP means in the US.

    · 10 min read
  2. 02 Business & Strategy

    What Is an EV Charging Roaming Hub? How It Works + Costs

    What an EV roaming hub is, how it differs from a charging app, how to integrate with one step by step over OCPI, what hubs cost, and when peer-to-peer wins.

    · 18 min read
  3. 03

    The Economics of OCPI Roaming: Who Pays Whom

    How money actually flows in OCPI roaming: the fees, the settlements, and how to think about the economics of cross-network charging.

    · 10 min read
  4. 04

    OCPI for Fleet Operators: Roaming Beyond the Depot

    How fleet operators use OCPI to charge on public networks away from the depot: fleet tokens, CDR consolidation, cost allocation and what to ask your eMSP.

    · 9 min read