Mayson Monorepo Documentation
    Preparing search index...
    interface Restrictions {
        currency_options?: {
            [key: string]: Stripe.PromotionCode.Restrictions.CurrencyOptions;
        };
        first_time_transaction: boolean;
        minimum_amount: number;
        minimum_amount_currency: string;
    }
    Index

    Properties

    currency_options?: {
        [key: string]: Stripe.PromotionCode.Restrictions.CurrencyOptions;
    }

    Promotion code restrictions defined in each available currency option. Each key must be a three-letter ISO currency code and a supported currency.

    first_time_transaction: boolean

    A Boolean indicating if the Promotion Code should only be redeemed for Customers without any successful payments or invoices

    minimum_amount: number

    Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work).

    minimum_amount_currency: string

    Three-letter ISO code for minimum_amount