@bates-solutions/stripe API Reference - v2.2.1
    Preparing search index...

    Interface CreatePriceOptions

    Options for creating a price

    interface CreatePriceOptions {
        active?: boolean;
        currency: string;
        idempotencyKey?: string;
        lookupKey?: string;
        metadata?: Record<string, string>;
        nickname?: string;
        product: string;
        recurring?: PriceRecurring;
        transferLookupKey?: boolean;
        unitAmount: number;
    }
    Index
    active?: boolean

    Whether the price can be used for new purchases.

    true
    
    currency: string

    Lowercase ISO currency code (e.g. usd)

    idempotencyKey?: string

    Idempotency key (defaults to a generated UUID)

    lookupKey?: string

    Your own stable key for looking the price up (must be unique per account)

    metadata?: Record<string, string>

    Key/value metadata, e.g. your own id for the price

    nickname?: string

    Internal label, not shown to customers

    product: string

    Product the price belongs to (prod_…)

    recurring?: PriceRecurring

    Make it a recurring price. Omit for a one-time price.

    transferLookupKey?: boolean

    Move lookupKey from the price that currently holds it to this one.

    false
    
    unitAmount: number

    Amount in the smallest currency unit (e.g. cents). A non-negative integer.