Check if usage is allowed for a customer and product
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
externalCustomerId
External customer ID
externalProductId
External product ID (the external ID of the product/agent)
Response
Usage check response
allowed
Whether usage is allowed
message
Human-readable message about the usage check result
eventName
Event name (only present when usage is not allowed)
available
Available credits (only present for PrepaidCredits when insufficient)
eventsQuantity
Current events quantity (only present when usage exceeds limit)
limit
Usage limit (only present when usage exceeds limit)