Interface: ISubscriptionHookValue
Defined in: src/providers/react/types/hook-contracts.ts:78
Shape returned by the subscription hook.
Remarks
Maps to useSubscription() from the monetization provider.
Properties
expirationDate?
optionalexpirationDate?:string
Defined in: src/providers/react/types/hook-contracts.ts:90
ISO date string when the subscription expires
isSubscribed
isSubscribed:
boolean
Defined in: src/providers/react/types/hook-contracts.ts:80
Whether the user holds an active subscription
isTrialLimitReached?
optionalisTrialLimitReached?:boolean
Defined in: src/providers/react/types/hook-contracts.ts:92
Whether the user has exhausted their trial eligibility
isUnderFreeTrial?
optionalisUnderFreeTrial?:boolean
Defined in: src/providers/react/types/hook-contracts.ts:88
Whether the user is currently on a free trial
status
status:
string
Defined in: src/providers/react/types/hook-contracts.ts:84
Subscription lifecycle status
subscriptionPeriod?
optionalsubscriptionPeriod?:string
Defined in: src/providers/react/types/hook-contracts.ts:86
Billing period (e.g. "monthly", "yearly")
tierId
tierId:
string
Defined in: src/providers/react/types/hook-contracts.ts:82
Subscription tier identifier