iglooX DocsDevelopers

Schema

Stored Value Configuration

Represents the configuration for a stored-value loyalty program.

  • Models

Overview

object · 5 properties · 5 required

Properties

minimum_redemption_per_order

oneOf Required

The minimum amount the customer must redeem when paying for an order.

Nullable Yes
One of

One of 1

null

One of 2

reference

References Positive Money.

top_up_validity_period_in_days

integer | null Required

Validity in days for top-ups and membership-tier gifts from credit processing time. Credits never shorten an existing positive wallet's validity: keep the later expiry, and keep an existing no-expiry wallet unlimited. Null validity removes a finite expiry. Empty or expired wallets use the configured validity for the new credit.

Minimum 1
Maximum 3650
Nullable Yes

custom_top_up_amounts

oneOf Required
Nullable Yes
One of

One of 1

null

One of 2

reference

References Stored Value Custom Top Up Amounts.

preset_top_up_amounts

array Required

The preset/preconfigured top-up amounts to suggest to the customer.

Max items 50
Array items

Items

reference

References Positive Money.

top_up_bonuses

array Required

The top-up bonuses that should be offered to the customer.

Max items 50
Array items

Items

reference

References Stored Value Top Up Bonus.

Used by

Raw YAML
Download source
title: Stored Value Configuration
type: object
x-tags:
  - Models
description: Represents the configuration for a stored-value loyalty program.
required:
  - minimum_redemption_per_order
  - top_up_validity_period_in_days
  - custom_top_up_amounts
  - preset_top_up_amounts
  - top_up_bonuses
properties:
  minimum_redemption_per_order:
    oneOf:
      - type: 'null'
      - $ref: ./PositiveMoney.yaml
    description: The minimum amount the customer must redeem when paying for an order.
  top_up_validity_period_in_days:
    type:
      - integer
      - 'null'
    minimum: 1
    maximum: 3650
    description: |-
      Validity in days for top-ups and membership-tier gifts from credit processing time. Credits never shorten
      an existing positive wallet's validity: keep the later expiry, and keep an existing no-expiry wallet unlimited.
      Null validity removes a finite expiry. Empty or expired wallets use the configured validity for the new credit.
  custom_top_up_amounts:
    oneOf:
      - type: 'null'
      - $ref: ./StoredValueCustomTopUpAmounts.yaml
  preset_top_up_amounts:
    type: array
    maxItems: 50
    description: The preset/preconfigured top-up amounts to suggest to the customer.
    items:
      $ref: ./PositiveMoney.yaml
  top_up_bonuses:
    type: array
    maxItems: 50
    description: The top-up bonuses that should be offered to the customer.
    items:
      $ref: ./StoredValueTopUpBonus.yaml

Search documentation

Search across this documentation site.