Mayson Monorepo Documentation
    Preparing search index...

    A feature represents a monetizable ability or functionality in your system. Features can be assigned to products, and when those products are purchased, Stripe will create an entitlement to the feature for the purchasing customer.

    interface Feature {
        id: string;
        object: "entitlements.feature";
        active: boolean;
        livemode: boolean;
        lookup_key: string;
        metadata: Metadata;
        name: string;
    }
    Index

    Properties

    id: string

    Unique identifier for the object.

    object: "entitlements.feature"

    String representing the object's type. Objects of the same type share the same value.

    active: boolean

    Inactive features cannot be attached to new products and will not be returned from the features list endpoint.

    livemode: boolean

    Has the value true if the object exists in live mode or the value false if the object exists in test mode.

    lookup_key: string

    A unique key you provide as your own system identifier. This may be up to 80 characters.

    metadata: Metadata

    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.

    name: string

    The feature's name, for your own purpose, not meant to be displayable to the customer.