A Connection represents a link between your local party role and a specific counter party (an external operator or network). It defines how credential tokens are exchanged and how both sides communicate.
Counter Party = the external operator you are integrating with.
Local Party (You) = your own system in this connection.
Counter Party Identity
The OCPI role the counter party operates as. (HUB and SCSP are temporarily unavailable — not yet fully supported.)
ISO 3166-1 alpha-2 country code.
Token Exchange
SENDER — counter party provides you their token.
RECEIVER — you issue them a token to call your system.
RECEIVER
Auto-set — always opposite of counter party
The counter party is the RECEIVER — you must provide them a version URL and issue them an access token so they can authenticate requests to your system.
OCPI token format type.
Local Party (You)
Your own OCPI API root URL. Used by the counter party to reach your endpoints.