Create a core tariff version and return it
post/v1/tenants/{tenant_id}/tariffs
Requires an API key
Synchronous: the response carries the tariff resource ID. Tariffs are immutable versions; create another rather than editing. Historical tariffs and the independent payment catalog are unchanged. Replays with the same Idempotency-Key return the same tariff.
Path parameters
- tenant_idintegerRequired
Headers
- idempotency-keystringRequired
Request body
- currencystringRequiredPattern
^[A-Z]{3}$ - rate_minor_per_kwhintegerRequiredInteger minor units per kWh (USD cents).Minimum 0 · Maximum 100000
- authorization_minorintegerRequiredInteger minor units held before charging.Minimum 0 · Maximum 100000
- external_referencestring | nullYour stable identifier for this resource (for example a property or listing ID). Unique per tenant and resource type. Filter lists with ?external_reference=. No customer data or secrets.Pattern
^[A-Za-z0-9][A-Za-z0-9_.:/-]{0,127}$
Returns · 201
- idintegerRequired
- tenant_idintegerRequired
- currencystringRequired
- rate_minor_per_kwhinteger | numberRequiredInteger minor units per kWh. Tariffs created elsewhere with sub-cent rates return a decimal number.
- authorization_minorinteger | numberRequired
- external_referencestring | null
POST /v1/tenants/{tenant_id}/tariffs
curl --fail-with-body -X POST "https://api.ivoracharge.com/v1/tenants/1042/tariffs" \
-H "Authorization: Bearer $IVORA_API_KEY" \
-H "Idempotency-Key: order-2026-09-30-0001" \
-H "Content-Type: application/json" \
-d '{
"currency": "usd",
"rate_minor_per_kwh": 0,
"authorization_minor": 1250
}'Response · 201
{
"id": 1,
"tenant_id": 1042,
"currency": "usd",
"rate_minor_per_kwh": 1,
"authorization_minor": 1250,
"external_reference": "property:1001"
}Try it is not available here yetRequests from this page are off until the production API at
https://api.ivoracharge.com is public. Use the code samples from your application server; Ivora grants production access. Keys are created in Developer tools.