absolutepay (Node SDK) - v0.7.1
    Preparing search index...

    Interface FeePreview

    A fee quote for a prospective payment. FeePreview.fee is the total charged on the amount.

    interface FeePreview {
        amount: string;
        currency: string;
        fee: string;
        net: string;
        paymentType: PaymentType;
    }
    Index

    Properties

    amount: string

    The gross amount the fee was computed on, as a decimal string (echoes the request).

    currency: string

    Currency/asset code of FeePreview.amount, e.g. "USDT".

    fee: string

    Total fee charged on the amount, as a decimal string.

    net: string

    Amount that nets out after the fee (amount - fee), as a decimal string.

    paymentType: PaymentType

    Which payment type this preview priced — see PaymentType.