Versioning
The API is versioned in the URL path:https://api.spirii.com/v1/.... Breaking changes ship as a new major version. Additive changes are made in place.
Dates and times
All timestamps are returned in UTC as ISO 8601 strings:2026-05-19T13:45:00Z. Convert to a local timezone for display.
Money
Monetary amounts are returned as objects with explicit currency and minor-unit integers:1250 DKK is 12.50 DKK — always minor units, never floats.
Naming
- Fields use
snake_case. - Enum values use
SCREAMING_SNAKE_CASE. - URLs use plural nouns:
/locations,/charge-points,/transactions.
HTTP methods
| Method | Use |
|---|---|
GET | Read a resource or list. Idempotent. |
POST | Create a resource, or trigger an action. |
PATCH | Partial update. |
DELETE | Delete a resource. Idempotent. |