Interface GetOnRampPaymentLimits

Returns the limits for an on-ramp payment; only for providers that supports limits retrieval. Request type for Tdjson#getOnRampPaymentLimits.

interface GetOnRampPaymentLimits {
    @type: "getOnRampPaymentLimits";
    base_currency: string;
    cryptocurrency: string;
    payment_method_name: string;
    provider_id: string;
}

Properties

@type: "getOnRampPaymentLimits"
base_currency: string

ISO 4217 currency code of the currency that will be used for the purchase.

cryptocurrency: string

The cryptocurrency that will be bought.

payment_method_name: string

Name of the chosen payment method; pass an empty string if none.

provider_id: string

Unique identifier of the on-ramp provider.