Read a customer's rights
get_usagesRetrieve a customer's current usages per feature from running subscriptions to gate access. If empty, verify subscriptions first before assuming no rights.
Instructions
Reads a customer's Usages: what that customer may do right now, as ProAbono sees it, one entry per Feature carried by their running subscriptions. Read-only. This is the source an application gates access on -- never the offer reference. An empty result is ambiguous: check the customer's subscriptions with list_subscriptions before concluding they have no rights.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature_ref | No | Restrict to one Feature reference. | |
| customer_ref | Yes | The customer's shared reference. |