Skip to content

Discount Plan Allowances

A discount plan allowance is a bucket of inclusive minutes, data or credit a customer receives from a discount plan. The platform creates and tracks these per customer per period, so the API exposes them for reading. See Tariff and Discount Detail Records for the field reference.

/backend/api/v1/discountPlanAllowances/ID - fetch the allowance with the specified ID.

/backend/api/v1/discountPlanAllowances/ - list all discount plan allowances.

ParameterTypeRequiredDescription
idAfterintegerNoOnly include allowances with a higher ID
createdSincedatetimeNoOnly include allowances created since the given time
updatedSincedatetimeNoOnly include allowances updated since the given time
FieldNameTypeDescription
startDateStart DateDateDate when this discount plan allowance becomes active
endDateEnd DateDateDate when this discount plan allowance expires
discountPlanAllowancePoolNameAllowance Pool NameTextNamed pool identifier for grouping related allowances
discountPlanDiscount PlanPreset ValueThe discount plan this allowance is associated with
allowanceMinutesFree MinutesNumberNumber of free minutes included in this allowance
allowanceBytesDiscounted Data (Bytes)NumberNumber of bytes of data included in this allowance
allowanceEventsDiscounted EventsNumberNumber of events included in this allowance
allowanceCallsFree CallsNumberNumber of free calls included in this allowance
allowanceValueCash DiscountCurrencyCash discount amount included in this allowance
nominalValueNominal ValueCurrencyNominal value of this allowance for accounting purposes
usedMinutesUsed MinutesNumberNumber of minutes consumed from this allowance
usedCallsUsed CallsNumberNumber of calls consumed from this allowance
usedValueUsed DiscountCurrencyCash discount amount consumed from this allowance
usedAValueUsed A Leg DiscountCurrencyA-leg discount amount consumed from this allowance
allowanceConsumedStampAllowance ConsumedDateTimestamp when this allowance was fully consumed
idDiscount Plan Allowance IDText
transactionIDTransactionTextThe ID of the transaction this discount plan allowance is for