pai
    Preparing search index...

    Type Alias SelfPayResult

    SelfPayResult: PaymentStatusResult & {
        balance_after_usd: number;
        balance_before_usd: number;
        payment_id: string;
        resumed?: boolean;
        tx_signature?: string;
        wallet: string;
    }

    What buyAndPay returns.

    Type Declaration

    • balance_after_usd: number

      The key's credit after, in USD.

    • balance_before_usd: number

      The key's credit before, in USD.

    • payment_id: string

      The payment's id.

    • Optionalresumed?: boolean

      True when this run found an earlier payment still pending and waited for it instead of paying.

    • Optionaltx_signature?: string

      The Solana transaction. Absent when this run waited for an earlier payment.

    • wallet: string

      The wallet that paid.