Interface OnRampPaymentAvailability

Describes availability of cryptocurrency purchase through an on-ramp provider.

interface OnRampPaymentAvailability {
    @type: "onRampPaymentAvailability";
    country_code: string;
    is_allowed?: boolean;
    is_purchase_allowed?: boolean;
    methods: OnRampPaymentMethod[];
    state: string;
}

Properties

@type: "onRampPaymentAvailability"
country_code: string

A two-letter ISO 3166-1 alpha-2 country code of the current user's country.

is_allowed?: boolean

True, if the current user can use the provider.

is_purchase_allowed?: boolean

True, if the current user can purchase through the provider.

The list of available payment methods.

state: string

Code of the state of the current user; may be empty if unknown.