メインコンテンツにスキップ

サブスクリプション

A Subscription links a user to a Plan, so you can control access to application features. Because each Plan is tied to a Role, you can assign the plan’s role to the user and use the enforce API for permission checks.

ヒント

Use the Plan’s Role with the enforce API to check subscription-based access.

Subscriptions can be created:

  • By an admin (manual)
  • Through the pricing/purchase flow (any user)
  • API経由

Only users with type = "paid-user" are subject to subscription enforcement (active subscription required for access).

関係

サブスクリプションのプロパティ​

Property説明
オーナーOwning organization.
名前Subscription id.
作成時間Creation time.
表示名表示名.
説明Optional description.
継続時間購読の期間.
StartTimeWhen the subscription starts.
EndTimeWhen the subscription ends.
価格設定Related Pricing.
プランRelated Plan.
支払いRelated Payment.
ユーザーUser who holds the subscription.
都道府県Pending, Error, Suspended, Active, Upcoming, or Expired.

サブスクリプションの編集