Skip to main content
POST
get current customer entitlements

Authorizations

Authorization
string
header
required

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

Body

application/json

Current customer entitlement request

customerId
string
required

The customer ID

Example:

"cus_1H7KQFLr7RepUyQBKdnvY"

projectId
string

The project ID. Root keys can select an allowed project.

Example:

"prj_1H7KQFLr7RepUyQBKdnvY"

Response

Current active customer entitlements

customerId
string
required
generatedAt
integer
required
entitlements
object[]
required