Skip to main content
Added: AccessDeniedReason.Revoked
for determining when an entitlement has been explicitly revoked.
Added: getSubscriptions
endpoint that allows retrieving all of customers’ subscriptions
Added: ability to determine the number of attempts that were made to collect payment for a generated invoice when Stigg is integrated with Stripe using the latestInvoice.attemptCount
property of the getActiveSubscriptions()
and getSubscription()
endpoints
Added: GetUsageHistoryV2
⚠️ Deprecated: GetUsageHistory
(please use GetUsageHistoryV2
instead)
Changed:
Input Object:
customerRefId
renamed to customerId
resourceRefId
renamed to resourceId
featureRefId
renamed to featureId
resetPeriod
removed
yearlyResetPeriodConfiguration
removed
monthlyResetPeriodConfiguration
removed
weeklyResetPeriodConfiguration
removed
Output Object
startDate
removed
endDate
removed
usageMeasurements[i].date
renamed to series[0].point[i].timestamp
usageMeasurements[i].value
renamed to series[0].point[i].value
usageMeasurements[i].isResetPoint
renamed to series[0].point[i].isResetPoint
Old Value: true
if and only if usage was reset due to periodic reset.
New Value: true
if and only if usage was reset due to periodic reset or due to a plan transition.
groups[i].groupInfo[j].key
renamed to series[i].tags[j].key
groups[i].groupInfo[j].value
renamed to series[i].tags[j].value
groups[i].usageMeasurements[j].date
renamed to series[i].point[j].timestamp
groups[i].usageMeasurements[j].value
renamed to series[i].point[j].value
groups[i].usageMeasurements[j].isResetPoint
renamed to series[i].point[j].isResetPoint
Old Value: true
if and only if usage was reset due to periodic reset.
New Value: true
if and only if usage was reset due to periodic reset or due to a plan transition.
Added: ability to override prices when there’s a scheduled update in place
Added: support for price localization in fixed fee coupons
Added: ability to estimate the subscription cost when the payment of the subscription is delegated to a different customer using:
PreviewSubscription.payingCustomerId
EstimateSubscription.payingCustomerId
EstimateSubscriptionUpdate.payingCustomerId
Added: ability to more easily determine the usage period of metered entitlements using:
MeteredEntitlement.usagePeriodStart
MeteredEntitlement.usagePeriodEnd
🛑 Removed: MeteredEntitlement.nextResetDate
Added: ability to get the list of active subscriptions from Edge using getActiveSubscriptionsList()
Added: ability to get the details of a specific subscription using getSubscription()