Get entitlement info
GET/api/web/v1/entitlements/info
Get entitlement info. Caller requires the ENTITLEMENTS:VIEW permission.
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
- application/json
- Schema
- Example (from schema)
Schema
idProofing
object
ID Proofing-specific entitlements of a tenant.
Possible values: [PRE_PAID
, PAY_PER_USE
]
The model used for billing.
Possible values: >= 1
and <= 50000000
The entitlements consumed since start date (percent over quantity for PRE_PAID accounts) or in the current month (PAY_PER_USE accounts).
The date this entitlement will end in UTC time. The value must be after the start date.
Possible values: [ENHANCED
, STANDARD
]
The face recognitation type licensed.
Possible values: >= 1
and <= 50000000
The number of entitlements assigned to the tenant (required during creation if billingType is PRE_PAID).
The date this entitlement will start in UTC time.
smsVoice
object
Sms/Voice entitlements of a tenant.
The number of entitlements allotted to the current account. If the account is an SP then entitlements can be allocated to child accounts.
The entitlements consumed since start date during the entitlement period.
The date when the entitlement will end.
The number of SMS/Voice credits allowed during the period.
The number of SMS/Voice credits allowed when the entitlement is renewed.
The date when the entitlement starts.
users
object
User entitlements of a tenant.
The number of entitlements allotted to the current account. If the account is an SP then entitlements can be allocated to child accounts. For subscriber accounts, the allotment is always the same as the quantity amount.
The used quantity of this entitlement.
The date when the entitlement ends.
The quantity of entitlements purchased for the account.
The date when the entitlement starts.
{
"idProofing": {
"billingType": "PRE_PAID",
"consumed": 0,
"endDate": "2020-02-18T23:59:59Z",
"faceRecognitionType": "ENHANCED",
"quantity": 0,
"startDate": "2019-02-19T00:00:00Z"
},
"smsVoice": {
"allotment": 400,
"consumed": 0,
"endDate": "2020-02-19T00:00:00Z",
"quantity": 1000,
"renewalQuantity": 1000,
"startDate": "2019-02-19T00:00:00Z"
},
"users": {
"allotment": 130,
"consumed": 37,
"endDate": "2020-02-18T23:59:59Z",
"quantity": 200,
"startDate": "2019-02-19T00:00:00Z"
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Access denied
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}