Promotions

constructor(tiers: List<RewardTier>, type: String)

Parameters

tiers

Promotions can have multiple tiers, each with its own minimum transaction requirement. The Ansa platform automatically identifies and applies the highest reward tier for which a user qualifies.

type

Promotion type. Can be one of:

first_top_up Add funds to the user's wallet once on their first balance add.

once_per_tier Add funds to the user's wallet only once per tier.

tiered Add funds to the user's wallet each time they add balance, provided they meet the minimum transaction requirements.