OCPI 2.2.1 Technical Implementation
Build production-grade OCPI 2.2.1 — Credentials, Locations, Tariffs, Sessions, CDRs, Tokens. Reference implementations + mock partner + 12 months community access.
Join the waitlistWho this is for
Backend engineers at CPOs, eMSPs, or charging platforms building OCPI roaming integrations.
Who this is not for
Folks who just want to understand OCPI conceptually — see OCPI Business & Concepts.
What you'll be able to do
- Implement a working OCPI 2.2.1 stack as CPO or eMSP
- Make architecture decisions: hub vs P2P, modules to support
- Handle production roaming traffic confidently
- Plan your 2.3 migration path
- Debug Credentials handshake issues across partners
- Handle CDR reconciliation and disputes
Curriculum
37 lessons across 6 modules.
Module 1 · OCPI in context 5 lessons
Where OCPI fits in the stack, the architecture, version targeting.
- 🎥 What OCPI is and what it's not (vs OCPP) 15 min
- 🎥 The roaming problem OCPI solves 12 min
- 🎥 Architecture: P2P, hubs, NAPs 18 min
- 🎥 Version timeline: 2.1.1, 2.2, 2.2.1, 2.3 — what to target 15 min
- 🔬 Dev environment + reference partner setup 25 min
Module 2 · Credentials and trust 6 lessons
The handshake that gets you in.
- 🎥 The Versions endpoint as the front door 15 min
- 🎥 Token A, B, C — the handshake demystified 20 min
- 🎥 Role-based credentials (the 2.2.1 specific bit) 15 min
- 🔬 Build the handshake, both sides 35 min
- 🎥 Token rotation in production 15 min
- 🎥 Real credential bugs — debug session 20 min
Module 3 · Locations and Tariffs 6 lessons
Publishing what you operate and what it costs.
- 🎥 Locations module structure and lifecycle 20 min
- 🎥 Push vs pull — when to use what 15 min
- 🎥 Tariffs module: dimensions, restrictions, edge cases 25 min
- 🔬 Build a Locations server with push notifications 40 min
- 🎥 Tariff edge cases (peak/off-peak, idle fees, PnC pricing) 20 min
- 🎥 Tariff modeling for complex pricing 20 min
Modules 4-5 · Sessions and CDRs 7 lessons
Real-time session updates and the billing record.
- 🎥 Session state machine + lifecycle 20 min
- 🎥 Real-time session updates and the throttling problem 18 min
- 🎥 CDR structure, signed data, immutability 25 min
- 🔬 Build a Sessions producer (CPO side) 40 min
- 🔬 Build a CDR consumer with idempotency (eMSP side) 40 min
- 🎥 Reconciliation and dispute handling 25 min
- 🎥 Walking through a real CDR billing reconciliation 25 min
Module 6 · Tokens, Commands, ChargingProfiles 6 lessons
The other modules that round out a real OCPI stack.
- 🎥 Tokens module: whitelisting and real-time auth 20 min
- 🎥 Commands: Reserve, Start, Stop, Unlock 20 min
- 🎥 ChargingProfiles for smart charging coordination 20 min
- 🔬 Build a Tokens server with real-time authorize 35 min
- 🎥 HubClientInfo and Reservations modules 20 min
- 🎥 Authorize flow patterns 15 min
Modules 7-8 · Production OCPI 7 lessons
Security, architecture, migration, and what's next.
- 🎥 Security: TLS, token management, rate limiting 25 min
- 🎥 Hub vs P2P architecture decisions 20 min
- 🎥 Migration: 2.1.1 → 2.2.1 specific patterns 25 min
- 🎥 NAP integration for European/AFIR compliance 20 min
- 🎥 Testing: mock partners, contract tests 20 min
- 🎥 Common integration pitfalls 25 min
- 🎥 What's coming in 2.3 / 3.0 — positioning your code 20 min
Included with enrollment
- GitHub reference repo: CPO and eMSP implementations
- Mock OCPI hub Docker image — test your code against it
- Sample CDR generator for stress testing
- Library of real OCPI message examples (anonymized)
- Private Discord community access — 12 months
- Monthly recorded Q&A — 30-min walkthroughs of community questions
- Free updates for life (OCPI 2.3 + 3.0 coverage when added)
Prerequisites
- Working knowledge of REST APIs and HTTP/JSON
- Comfortable building backend services
- Familiarity with OAuth-style bearer token auth
- Helpful: prior OCPI conceptual knowledge (or take OCPI Business & Concepts first)
What you’ll build
By the end of this course, you’ll have a working OCPI 2.2.1 implementation — either CPO side or eMSP side or both — running locally, talking to a mock roaming partner, handling Credentials handshake, Locations, Tariffs, Sessions, CDRs, Tokens, and Commands.
This isn’t a tour of the spec. It’s a build-along that produces shippable code.
Who this is for
- Backend engineers at CPOs implementing OCPI
- Backend engineers at eMSPs consuming OCPI
- Engineers at charging platforms or hubs
- Integration engineers connecting multiple OCPI partners
- Engineers planning a 2.1.1 → 2.2.1 migration
Who this is not for
- Pure business or product folks — see OCPI Business & Concepts
- Engineers who only need conceptual OCPI fluency — see OCPI Business & Concepts
- Folks who need OCPP (charger-to-backend) — see OCPP 2.0.1 Technical Implementation
Format
Recorded video lessons (~14 hours total) plus 7 hands-on labs. Self-paced. Lifetime access. Private Discord community access for 12 months. Free updates for OCPI 2.3 when released.
Need 1:1 help?
For students who want personalized architecture review or debugging help, get in touch and we can arrange a 1:1 session.