Skip to content

Tariff Rates

A tariff rate is one priced line within a call tariff, setting the price for a particular type of call. See Tariff and Discount Detail Records for the field reference.

/backend/api/v1/tariffDetails/ID - fetch the tariff rate with the specified ID.

/backend/api/v1/tariffDetails/ - list all tariff rates.

/backend/api/v1/tariffs/ID/tariffDetails/ - list the rates belonging to the tariff with the specified ID.

ParameterTypeRequiredDescription
idAfterintegerNoOnly include rates with a higher ID
createdSincedatetimeNoOnly include rates created since the given time
updatedSincedatetimeNoOnly include rates updated since the given time

/backend/api/v1/tariffs/ID/tariffDetails/ - add a new rate to the specified tariff. The newly-added rate will be returned.

/backend/api/v1/tariffDetails/ID - update the tariff rate with the specified ID. The modified rate will be returned.

/backend/api/v1/tariffDetails/ID - delete the tariff rate with the specified ID.

FieldNameTypeDescription
tariffTariffTextThe tariff that this rate belongs to
startDateStart DateDateFirst call date this rate applies from. Leave blank for no start limit.
endDateEnd DateDateLast call date this rate applies to. Leave blank for no end limit.
tariffTypeCharge TypePreset ValueHow rates are calculated and applied for this specific rate
discountPlanDiscount PlanPreset ValueDiscount plan to apply to this rate
costCostTextStandard rate applied for this call type and time period
costConnectionConnection CostTextConnection charge applied to each call of this type
costMinMinimum CostTextMinimum charge for any call of this type
costMaxMaximum CostTextMaximum charge for any single call of this type
accessChargeAccess ChargeNumberAdditional access charge applied to calls of this type
accessChargeConnectionAccess Charge (Connection)NumberAccess charge connection component
roundingAccessChargeAccess Charge RoundingPreset ValueHow access charges are rounded for this rate
surchargeMobileOriginationMobile Origination SurchargeNumberAdditional charge for mobile-originated calls of this type
surchargeMobileOriginationConnectionMobile Origination Surcharge (Connection)NumberMobile origination surcharge connection component
surchargeRoundingMobileOriginationMobile Origination Surcharge RoundingPreset ValueHow mobile origination surcharges are rounded for this rate
surchargePayphoneOriginationPayphone Origination SurchargeNumberAdditional charge for payphone-originated calls of this type
surchargePayphoneOriginationConnectionPayphone Origination Surcharge (Connection)NumberPayphone origination surcharge connection component
surchargeRoundingPayphoneOriginationPayphone Origination Surcharge RoundingPreset ValueHow payphone origination surcharges are rounded for this rate
surchargeCallRecordingCall Recording SurchargeNumberAdditional charge for call recording services
surchargeCallRecordingConnectionCall Recording Surcharge (Connection)NumberCall recording surcharge connection component
surchargeRoundingCallRecordingCall Recording Surcharge RoundingPreset ValueHow call recording surcharges are rounded for this rate
initialCostInitial CostTextCost applied during the initial period of a call
initialDurationInitial DurationNumberDuration of the initial charging period
costSecondaryConnectionConnection Cost After Initial DurationNumberConnection cost applied after the initial duration
durationMinMinimum Chargeable DurationNumberShortest duration that will be charged for
roundSecondsRound Duration Up To NextNumberRound call duration up to the nearest number of seconds
roundBytesRound Bytes Up To NextNumberRound data usage up to the nearest number of bytes
roundEventsRound Events Up To NextNumberRound event count up to the nearest number
roundPenceRound Cost Up To NextTextRound call cost up to the nearest number of pence
roundPenceAfterSurchargeRound Cost After Surcharge Up To NextNumberRound final cost after surcharges are applied
idTariff Detail IDTextThe unique identifier for this tariff rate
callTypeCall TypePreset ValueThe type of call this rate applies to
callTimeCall TimePreset ValueThe time period when this rate applies