pai
    Preparing search index...

    Type Alias AutoTopupResult

    What autoTopup returns.

    type AutoTopupResult = {
        balance_usd: number;
        below_usd: number;
        bought: boolean;
        payment?: SelfPayResult;
    }
    Index
    balance_usd: number

    The key's credit after the run, in USD.

    below_usd: number

    The threshold it was checked against, in USD.

    bought: boolean

    True when it bought credit, or waited for an earlier payment that was still pending (see payment.resumed).

    payment?: SelfPayResult

    The payment, when it bought.