Hub role: RECEIVER
Supported commands
| Command | Description |
|---|---|
START_SESSION | Remotely start a charging session |
STOP_SESSION | Remotely stop an active session |
RESERVE_NOW | Reserve a connector |
CANCEL_RESERVATION | Cancel a reservation |
Endpoints
| Method | Path | Auth | Description |
|---|---|---|---|
POST | /ocpi/2.2.1/commands/{command} | Yes | Receive command from eMSP via Hub |
POST | /ocpi/2.2.1/commands/callback/{command_id} | No | Send async command result to Hub |
The Hub forwards commands from eMSPs to your platform. Return an immediate ACCEPTED or REJECTED response, then deliver async results to Hub, not directly to the eMSP:
POST /ocpi/2.2.1/commands/callback/{command_id}
The Hub forwards the result to the eMSP's original response_url.
Rate limit
50 requests/minute per party.
Related docs
OCPI spec
See OCPI 2.2.1 Commands module for full command and result objects.