Entitlements
Get Entitlement Status
Read the calling organization's subscription plan, trial state, pending cancellation, feature gates, and per-quota usage. quotas[key].limit reflects the effective limit (trial_limit when is_trialing is true). overage_per_unit_cents is a Decimal string — parse with a Decimal library, not parseFloat.
Response Body
application/json
curl -X GET "https://api.bettermenu.live/entitlements/status"{
"plan_name": "string",
"display_name": "string",
"is_trialing": true,
"trial_ends_at": "2019-08-24T14:15:22Z",
"trial_days_remaining": 0,
"pending_cancellation_at": "2019-08-24T14:15:22Z",
"feature_gates": [
"string"
],
"quotas": {
"property1": {
"limit": 0,
"used": 0,
"remaining": 0,
"resets_at": "2019-08-24T14:15:22Z",
"overage_per_unit_cents": "string"
},
"property2": {
"limit": 0,
"used": 0,
"remaining": 0,
"resets_at": "2019-08-24T14:15:22Z",
"overage_per_unit_cents": "string"
}
}
}