UserReferralStatusType
UserReferralStatusType = {
isReferred:boolean; }
Defined in: types/rpc/userReferralStatus.ts:13
User referral status returned by frak_getUserReferralStatus.
Generic referral context for the current user on a merchant.
Used by components like <frak-post-purchase> and <frak-referred-banner>
to adapt their display based on the user’s referral relationship.
Returns null when the user’s identity cannot be resolved
(e.g. no clientId and no wallet session).
Properties
Section titled “Properties”isReferred
Section titled “isReferred”isReferred:
boolean
Defined in: types/rpc/userReferralStatus.ts:19
Whether the user was referred to this merchant by someone else.
true means a referral link exists where this user is the referee.