Interface GetOnRampPaymentAvailability

Returns the available on-ramp payment methods based on the current user location. Request type for Tdjson#getOnRampPaymentAvailability.

interface GetOnRampPaymentAvailability {
    @type: "getOnRampPaymentAvailability";
    base_currency: string;
    cryptocurrency: string;
    provider_id: string;
}

Properties

@type: "getOnRampPaymentAvailability"
base_currency: string

ISO 4217 currency code of the currency that will be used for the purchase; pass an empty string if unknown.

cryptocurrency: string

The cryptocurrency that will be bought.

provider_id: string

Unique identifier of the on-ramp provider.