Skip to content

Get per-trip service charge configuration

Request

Get per-trip service charge configuration for company

Security
Bearer
Path
companyIdstring, (uuid)required

Company ID

Example:f49d00fe-1eda-4304-ba79-a980f565281d
curl -i -X GET \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/license/company/f49d00fe-1eda-4304-ba79-a980f565281d/service-charge/per-trip \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
configobject(FixedChargeConfig)

Fixed charge configuration for service charge

enabledboolean

True if per trip service charge configuration is enabled

Example:true
enableDisableOpSupportedboolean

True if per trip service charge configuration can be enabled/disabled

Example:true
Response
{ "config": { "charges": [ … ], "defaultCurrencyCode": "GBP", "tierCharges": [ … ] }, "enabled": true, "enableDisableOpSupported": true }