SmartGare
API referenceEndpoints

Read fee terms on a date

Returns the applicable version and its effective end, capped by termination and later versions. **Required permission:** `referential.fee:read`

GET/referential/v1/fees/{id}

Returns the applicable version and its effective end, capped by termination and later versions.

Required permission: referential.fee:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Query Parameters

as_of?string
Formatdate

Response Body

*/*

curl -X GET "https://example.com/referential/v1/fees/string"
{  "effective_end": "2019-08-24",  "fee": {    "created_at": "2019-08-24T14:15:22Z",    "fee_kind_id": "string",    "id": "string",    "occupancy_agreement_id": "string",    "station_id": "string"  },  "in_force": true,  "version": {    "amount": 0,    "created_at": "2019-08-24T14:15:22Z",    "currency": "string",    "due_on": "2019-08-24",    "effective_from": "2019-08-24",    "fee_id": "string",    "id": "string",    "period_end": "2019-08-24",    "period_start": "2019-08-24",    "recorded_at": "2019-08-24T14:15:22Z",    "recorded_by": "string",    "rhythm": "ONE_OFF"  }}