When you push locations, tariffs, and sessions to ChargeIndia Hub, URL paths and object bodies use your CPO identity. Hub authenticates with the Hub token, then forwards the same CPO {country_code}/{party_id} to routed eMSPs.
For the shared model (auth = Hub, path = owning CPO), see Hub Receiver Identity.
Requirements
When pushing data to Hub:
- Use your own CPO
country_codeandparty_idin URL paths and object bodies. - Hub forwards the same identifiers to routed eMSPs, do not use Hub (
CIH) in your push paths. - Include
cdr_tokenwith the eMSP's party on every session so Hub can route async delivery.
Location forward example
You send:
PATCH /ocpi/2.2.1/locations/IN/CPO/LOC1/EVSE1
Authorization: Token {cpo-token}
Content-Type: application/json
{ "status": "CHARGING", "uid": "EVSE1" }
Hub forwards the same path and body to eMSP receivers. The path uses your identifiers, not Hub (IN / CIH).
Checklist
- [ ] Location/tariff/session pushes to Hub use your CPO
{country_code}/{party_id}in path and body - [ ] Session
cdr_tokenidentifies the correct eMSP on every update
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Location push succeeds on Hub but eMSP never updates | eMSP receiver rejecting path party | Ask the eMSP to follow eMSP Hub Receiver Identity |
| Session not delivered to eMSP | Missing cdr_token on session push | Set eMSP identity on every session update |