Skip to Content
Docs
API referenceManagement API

Billing entitlements

GET
/billing/entitlements

billing.entitlement.v1.EntitlementService/ListEntitlements (39-entitlements-and-controls.md, API Surface; Entitlement (resolved)). The resolved set for a subject (subject_type and subject_id) or a Customer: every feature some source sets, by key, each with its via. A boolean or numeric feature is { feature_id, key, type, value, via }; a metered one carries meter_id, allowance, limit, overage, period_start, period_end, used, remaining and balance in place of value.

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Query Parameters

subject_type?string

user, organization or external

subject_id?string

subject_id

customer_id?string

A cust_ id

context_organization_id?string

An org_ id: the organization a user subject acts in

Response Body

An entitlement_set object

application/json
  1. response
id?string

ID is its prefixed id.

object?string

Object names the kind: customer, invoice, contract, …

Example Request
curl -X GET 'https://api.us.pontive.com/v1/billing/entitlements'
Example Response
{  "id": "string",  "object": "string"}