billing-gate-events

Log Gate Event

Log a feature gate event for conversion analytics.

post/api/v1/billing/gate-events

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/billing/gate-events
  • Auth: none declared

Headers

Authorizationstring

Request body

event_type'gate_impression' | 'gate_upgrade_click' | 'gate_checkout_complete' required

Event type

featurestring required

PlanFeatureKey value

current_planstring required

User's current plan name

target_planstring nullable

Target upgrade plan

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.