Mayson Monorepo Documentation
    Preparing search index...
    interface CustomUnitAmount {
        enabled: boolean;
        maximum?: number;
        minimum?: number;
        preset?: number;
    }
    Index

    Properties

    enabled: boolean

    Pass in true to enable custom_unit_amount, otherwise omit custom_unit_amount.

    maximum?: number

    The maximum unit amount the customer can specify for this item.

    minimum?: number

    The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.

    preset?: number

    The starting unit amount which can be updated by the customer.