iglooX DocsDevelopers

Schema

Stored Value Top Up Bonus

Represents a specific bonus configuration for a stored value top up.

  • Models

Overview

object · 3 properties · 3 required

Properties

customer_pays

reference Required

The amount the customer must top-up/pay in order to receive the bonus.

References Positive Money.

bonus_value

reference Required

The bonus that the customer will receive.

References Positive Money.

eligible_tiers

array Required

The UUIDs of the customer tiers that this bonus applies to. An empty value indicates "all tiers". Use the customer's tier when the bonus is applied, after any progression caused by that action. A stored-value top-up does not itself progress membership tiers. Bonus thresholds use the credited top-up amount.

Max items 100
Unique items Yes
Array items

Items

string
Format uuid

Used by

Raw YAML
Download source
title: Stored Value Top Up Bonus
type: object
x-tags:
  - Models
description: Represents a specific bonus configuration for a stored value top up.
required:
  - customer_pays
  - bonus_value
  - eligible_tiers
properties:
  customer_pays:
    $ref: ./PositiveMoney.yaml
    description: The amount the customer must top-up/pay in order to receive the bonus.
  bonus_value:
    $ref: ./PositiveMoney.yaml
    description: The bonus that the customer will receive.
  eligible_tiers:
    type: array
    uniqueItems: true
    maxItems: 100
    description: |-
      The UUIDs of the customer tiers that this bonus applies to.

      An empty value indicates "all tiers".

      Use the customer's tier when the bonus is applied, after any progression caused by that action.
      A stored-value top-up does not itself progress membership tiers. Bonus thresholds use the credited top-up amount.
    items:
      type: string
      format: uuid

Search documentation

Search across this documentation site.