Mayson Monorepo Documentation
    Preparing search index...

    Interface PromotionCodeUpdateParams

    interface PromotionCodeUpdateParams {
        active?: boolean;
        expand?: string[];
        metadata?: Emptyable<MetadataParam>;
        restrictions?: Stripe.PromotionCodeUpdateParams.Restrictions;
    }
    Index

    Properties

    active?: boolean

    Whether the promotion code is currently active. A promotion code can only be reactivated when the coupon is still valid and the promotion code is otherwise redeemable.

    expand?: string[]

    Specifies which fields in the response should be expanded.

    Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

    Settings that restrict the redemption of the promotion code.