Subscription Object
Explore the properties available in the Subscription object for Aikeedo themes.
The subscription
object provides access to subscription information for a workspace or user. This object contains details about the subscription status, usage, and related information.
Availability
The subscription
object is available within the workspace
or user.workspace
objects.
Properties
The subscription
object contains the following properties:
A unique identifier for the subscription.
The number of days in the trial period. This can be null if there is no trial period.
The amount of usage consumed in the current subscription period.
The percentage of usage consumed, represented as a string with two decimal places.
The remaining credit available in the current subscription period.
The percentage of credit remaining, represented as a string with two decimal places.
The Unix timestamp representing when the subscription was created.
The Unix timestamp representing when the subscription was last updated.
The Unix timestamp representing when the subscription was canceled. This can be null if the subscription has not been canceled.
The Unix timestamp representing when the subscription is scheduled to be canceled. This can be null if no cancellation is scheduled.
The Unix timestamp representing when the subscription is scheduled to renew.
A link to the PlanSnapshot object associated with this subscription. See Plan Snapshot Object for more details on the properties of this object.
A link to the Currency object associated with this subscription. See Currency Object for more details on the properties of this object.
Was this page helpful?