@stigg/node-server-sdk - v4.47.0
    Preparing search index...

    Type Alias ConsumeCredits

    type ConsumeCredits = {
        amount: number;
        createdAt?: Date;
        currencyId: string;
        customerId: string;
        dimensions?: Record<string, EventDimensionValue>;
        idempotencyKey: string;
        resourceId?: string;
    }
    Index

    Properties

    amount: number
    createdAt?: Date
    currencyId: string
    customerId: string
    dimensions?: Record<string, EventDimensionValue>
    idempotencyKey: string

    A unique key used to deduplicate the consumption (required).

    resourceId?: string