Promotions

data class Promotions(val tiers: List<RewardTier>, val type: String)

Promotional opportunities to show the client

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.

Constructors

Link copied to clipboard
constructor(tiers: List<RewardTier>, type: String)

Properties

Link copied to clipboard
Link copied to clipboard