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
