Spending Limit Policy Counter APIs

The Sy policy counter APIs include MtxRequestDeviceEvaluatePolicyCounterSet and MtxRequestDeviceQuerySession.

MtxRequestDeviceEvaluatePolicyCounterSet evaluates the applicable policy counters for a device without creating any Sy sessions or requiring preexisting Sy sessions. It returns the ID and status of each applicable policy counter based on the device object ID.

A policy component has policy tables that may have normalization based on individual balances or a combination of balances. Each row of a policy table references a policy profile that specifies the ID and status of a policy counter. This query uses the policy component from a non-supplemental offer with the highest priority. The query response, MtxResponseDevicePolicyCounterSet, includes an array of MtxPolicyCounterInfo that has information about each policy counter.

MtxRequestDeviceQuerySession queries session information for the specified device. It returns the information described in the discussion about policy session query and validation.