@sumup/sdk
    Preparing search index...

    Type Alias DiscountSourceLoyalty

    Discount applied when redeeming a reward from the merchant's loyalty scheme.

    type DiscountSourceLoyalty = {
        application_mode: DiscountApplicationMode;
        description?: string | null;
        discount_class?: DiscountClass;
        id: string;
        loyalty_type: DiscountSourceLoyaltyType;
        name: string;
        points?: number | null;
        scheme_type: DiscountSourceLoyaltySchemeType;
    }
    Index
    application_mode: DiscountApplicationMode
    description?: string | null

    The description of the loyalty discount.

    Max length: 250

    discount_class?: DiscountClass
    id: string

    The unique identifier of the promotion or reward.

    Format: uuid

    name: string

    The name of the loyalty discount.

    Max length: 100

    points?: number | null

    The number of points used for this loyalty discount. Must be a positive integer if the scheme type is POINTS. Must not be populated if the scheme type is STAMPS.

    Format: int64

    Min: 1