Read tenant billing tariffs
get/v1/tenants/{tenant_id}/tariffs
Requires an API key
Path parameters
- tenant_idintegerRequired
Query parameters
- afterintegerDefault
0· Minimum 0 - limitintegerDefault
50· Minimum 1 · Maximum 100 - external_referencestring | nullReturn only the resource carrying this external_reference1–128 characters
Returns · 200
- dataarray of TariffRecordRequired
Child attributes
- 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
- next_cursorintegerRequired
GET /v1/tenants/{tenant_id}/tariffs
curl --fail-with-body "https://api.ivoracharge.com/v1/tenants/1042/tariffs" \
-H "Authorization: Bearer $IVORA_API_KEY"Response · 200
{
"data": [
{
"id": 1,
"tenant_id": 1042,
"currency": "usd",
"rate_minor_per_kwh": 1,
"authorization_minor": 1250,
"external_reference": "property:1001"
}
],
"next_cursor": 1
}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.