title: Customer Tier Benefit
type: object
x-tags:
  - Models
description: >-
  A gift attempted once when a customer first attains this tier. The merchant-owned program reference
  determines the

  benefit type: stored value and cashback require monetary_amount and vouchers/stamps/points require quantity.
  Supply exactly one non-null

  amount or quantity. The other field may be omitted or null in requests; responses include both fields.


  Each program may appear only once per tier. Programs must exist for this merchant and be unarchived when
  configured.

  Gifts bypass normal eligible-tier restrictions, but retain archive/adding-window checks. Voucher gifts
  additionally

  retain ordinary validity and program/customer lifetime issuance limits. An unavailable gift is skipped in
  full and

  recorded on the achievement; it does not prevent the tier upgrade or other gifts and is not automatically
  retried.


  Stored-value and cashback tier gifts extend pooled expiry using the ordinary positive-credit rule; no
  historical expiry backfill is implied. Cashback gift funds share the pool and can fund recovery of an
  earlier purchase award; the achievement remains recorded.
required:
  - loyalty_program_uuid
properties:
  loyalty_program_uuid:
    type: string
    format: uuid
    description: The UUID of the associated stored-value, voucher, stamp, point or cashback program.
  monetary_amount:
    oneOf:
      - type: 'null'
      - $ref: ./PositiveMoney.yaml
    description: Value credited in the merchant currency. Required for stored-value and cashback benefits;
      quantity applies to unit programs.
  quantity:
    type:
      - integer
      - 'null'
    minimum: 1
    maximum: 2147483647
    description: Voucher, stamp or point quantity. Voucher benefits have the ordinary issuance maximum of 100 per gift.
