Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

customer_id
string
required

ID which you provided when creating the customer

feature_id
string
required

ID of the feature to check access to

quantity
integer

Quantity of the feature end user is consuming. By default, the feature is considered to be consumed at 1 unit.

Response

200 - application/json
allowed
boolean

Whether the customer has access to the feature

balances
object[]

Balances of this feature / credits using this feature for the customer