T402 API Reference - v2.8.0
    Preparing search index...

    Type Alias UptoTonExtra

    TON upto-specific extra fields for payment requirements

    Included in PaymentRequirements.extra to provide upto-specific parameters.

    type UptoTonExtra = {
        facilitator?: string;
        maxAmount?: string;
        minAmount?: string;
        unit?: string;
        unitPrice?: string;
    }
    Index

    Properties

    facilitator?: string

    Facilitator address that will receive the initial transfer Client should send maxAmount to this address

    maxAmount?: string

    Maximum payment amount authorized The upper bound for the escrow transfer

    minAmount?: string

    Minimum acceptable settlement amount Server may reject if usage is below this threshold

    unit?: string

    Billing unit (e.g., "token", "request", "second") Describes what is being measured for usage-based billing

    unitPrice?: string

    Price per unit in smallest denomination Used with unit to calculate the final settlement amount