can() calls GET /api/v1/can with the customer, feature, and optional string metadata.
Signature
CanResult
HTTP handler pattern
Authorization guidance
Perform entitlement checks on the trusted backend immediately before protected work. A ReactFeatureGate improves the interface but is not an authorization boundary.
can() checks entitlement and usage state; it does not reserve product credits. Use usage.track() for atomic credit-backed consumption.