title: Cashback Balance Ledger Entry
type: object
x-tags:
  - Models
description: A signed monetary cashback movement. Gifts link to their tier achievement; standalone processed
  expiry may have no operation receipt. No payment-funded cashback purchase exists.
required:
  - uuid
  - type
  - delta
  - description
  - loyalty_program
  - loyalty_balance_uuid
  - operation_uuid
  - customer_tier_achievement_uuid
  - created_at
  - loyalty_program_type
properties:
  uuid:
    type: string
    format: uuid
    description: The ledger entry's unique identifier.
  type:
    $ref: ./CashbackBalanceLedgerEntryType.yaml
  delta:
    $ref: ./Money.yaml
    description: The signed change applied by this entry.
  description:
    type:
      - string
      - "null"
    minLength: 1
    maxLength: 255
    description: The description of this change, if one was supplied.
  loyalty_program:
    $ref: ./LoyaltyProgramReference.yaml
    description: The linked program's identifier and current name. Renaming the program updates this display
      label, without changing the recorded entry.
  loyalty_balance_uuid:
    type: string
    format: uuid
    description: The UUID of the balance changed by this entry.
  operation_uuid:
    type:
      - string
      - "null"
    format: uuid
    description: The UUID of the loyalty balance operation that created this entry, or `null` for internal balance
      activity.
  customer_tier_achievement_uuid:
    type:
      - string
      - "null"
    format: uuid
    description: The UUID of the tier achievement that awarded this entry, or `null` when it was not a tier benefit.
  created_at:
    type: string
    format: date-time
    description: The date-time that the ledger entry was created.
  loyalty_program_type:
    type: string
    enum:
      - cashback
