Skip to content
GitmoapAPIBeta
Schema

SubscriptionView

The customer-facing subscription view — no Stripe ids. A never-subscribed namespace synthesises a Free/active view.

Shape

  • cancel_at_period_endboolean
  • has_payment_methodboolean
  • plan_tierPlanTierfreeproteamenterpriseThe subscription plan an organization is on, which sets its resource limits. From smallest to largest: free, pro, team, enterprise.
  • root_group_idGroupId (string · uuid)
  • statusSubscriptionStatusincompleteincomplete_expiredtrialingactivepast_dueunpaidpausedcanceledStripe subscription status, mirrored. entitled_tier is the only place it becomes a PlanTier.
  • current_period_endstring or nulloptional
  • seatsinteger · int32 or nulloptional0–∞
  • trial_endstring or nulloptional

Example

Synthesized example
{
"cancel_at_period_end": false,
"has_payment_method": false,
"plan_tier": "free",
"root_group_id": "4c1d8e2f-6a3b-4f90-b7c5-1e2d3c4b5a69",
"status": "active",
"current_period_end": "current-period-end-3a6e",
"seats": 41,
"trial_end": "trial-end-8709"
}

Graph

Used inside

No schema contains this one.

Contains

No named schema inside.

Used by

Sent by 0 operations

No operation takes it as a request body.