Learning Hub/Scenarios
Explanations use OCPI 2.2.1. Physical and billing-system events are authored examples.

Part of the lesson OCPI charging session lifecycle

Version discovery agrees on an OCPI version

Technical
3 min
OCPI 2.1.1, 2.2.1 and 2.3.0Test this flow runs against an eMSP endpoint you have registered. The endpoint test reads your endpoint's Credentials object. It does not check every required field of it.
Test this flow
Version discovery agrees on an OCPI version

The CPO created CREDENTIALS_TOKEN_A for the eMSP, which is the Sender in this registration. With token A in the Authorization header, the eMSP reads the CPO's versions list, picks 2.2.1, and reads that version's details for the CPO's module endpoints.

Sandbox run · OCPI 2.2.1

Run this exchange in the sandbox

EMSP
CPO
"This is the required base module of OCPI. This module is the starting point for any OCPI connection. Via this module, clients can learn which versions of OCPI a server supports, and which modules it supports for each of the versions."OCPI 2.2.1 Version information endpoint chapter · #versions_module
Explore the versions module →
Next
Message FlowCCPOreceivereeMSPsenderStep 1 of 4