AutumnA
Autumnβ€’3w agoβ€’
13 replies
2isprime

Entity level /check endpoint details

Hello Team,

I have this case where the customer onboarded to plan A , and the entity can be attached with Plan B.


Attached screenshot, I have added an Entity level plan , although when I call the /check api for the entity, I see the details for the customer plan and not the entity plan


API call:
https://api.useautumn.com/v1/check
{ "customer_id": "696843325774614046", "entity_id": "352189440069730307", "feature_id": "message" }

Returns:

{ "allowed": true, "code": "feature_found", "customer_id": "696843325774614046", "feature_id": "message", "entity_id": "352189440069730307", "required_balance": 1, "interval": null, "interval_count": null, "unlimited": true, "balance": 0, "usage": 0, "included_usage": 0, "next_reset_at": null, "overage_allowed": false }


it still shows "unlimited": true,

My use case is to attach a plan to an entity different from the plan customer is on to have different limits
Ideally under a customer on specific plans , I can have entities with different plans.

Is this possible?
image.png
Was this page helpful?