Commands (CPO)

Receive remote charging commands from ChargeIndia Hub and send async callbacks.

Hub role: RECEIVER

Supported commands

CommandDescription
START_SESSIONRemotely start a charging session
STOP_SESSIONRemotely stop an active session
RESERVE_NOWReserve a connector
CANCEL_RESERVATIONCancel a reservation

Endpoints

MethodPathAuthDescription
POST/ocpi/2.2.1/commands/{command}YesReceive command from eMSP via Hub
POST/ocpi/2.2.1/commands/callback/{command_id}NoSend 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.

OCPI spec

See OCPI 2.2.1 Commands module for full command and result objects.