@stigg/react-sdk - v10.7.0
    Preparing search index...

    Type Alias ConsumeCreditInput

    A single direct credit consumption from a wallet

    Index

    Properties

    amount: Scalars["Float"]

    The amount of credits to consume

    Optional timestamp the consumption is attributed to

    currencyId: Scalars["String"]

    The credit currency (custom currency refId) to consume from

    customerId: Scalars["String"]

    The customer to consume credits from (refId)

    dimensions?: InputMaybe<Scalars["JSON"]>

    Optional dimensions describing the consumption

    environmentId?: InputMaybe<Scalars["UUID"]>

    The unique identifier for the environment

    idempotencyKey: Scalars["String"]

    A unique key used to deduplicate the consumption (required)

    resourceId?: InputMaybe<Scalars["String"]>

    Optional resource (refId) the consumption is attributed to