Represents the profile response returned by the API.

interface ProfileResponse {
    address: Address;
    avatar: null;
    birthday: string;
    commission: number;
    email: string;
    face_image: string;
    first_name: string;
    invite_code: string;
    is_legal: boolean;
    kyc_info: KycInfo;
    last_name: string;
    meta: Meta;
    mobile_number: string;
    national_code: string;
    phone_number: PhoneNumber;
    settings: {
        api_key_expiration: boolean;
        choose_trading_type: boolean;
        coin_deposit: boolean;
        coin_withdraw: boolean;
        default_mode: boolean;
        demo_change_status: boolean;
        favorite_markets: string[];
        logins: boolean;
        mode: string;
        money_deposit: boolean;
        money_withdraw: boolean;
        notification: Notification;
        order_delete_confirm: boolean;
        order_submit_confirm: boolean;
        payment_identifier: boolean;
        prop_change_status: boolean;
        rewards_hub_app_survey_notification: boolean;
        rewards_hub_claim_rewards_notification: boolean;
        rewards_hub_first_arrival: boolean;
        subscription_change_status: boolean;
        theme: string;
        trade: boolean;
        trading_bot: boolean;
        [key: string]: any;
    };
    status: Status;
    tracking_id: number;
    verification: string;
}

Properties

address: Address
avatar: null
birthday: string
commission: number
email: string
face_image: string
first_name: string
invite_code: string
is_legal: boolean
kyc_info: KycInfo
last_name: string
meta: Meta
mobile_number: string
national_code: string
phone_number: PhoneNumber
settings: {
    api_key_expiration: boolean;
    choose_trading_type: boolean;
    coin_deposit: boolean;
    coin_withdraw: boolean;
    default_mode: boolean;
    demo_change_status: boolean;
    favorite_markets: string[];
    logins: boolean;
    mode: string;
    money_deposit: boolean;
    money_withdraw: boolean;
    notification: Notification;
    order_delete_confirm: boolean;
    order_submit_confirm: boolean;
    payment_identifier: boolean;
    prop_change_status: boolean;
    rewards_hub_app_survey_notification: boolean;
    rewards_hub_claim_rewards_notification: boolean;
    rewards_hub_first_arrival: boolean;
    subscription_change_status: boolean;
    theme: string;
    trade: boolean;
    trading_bot: boolean;
    [key: string]: any;
}

Type declaration

  • [key: string]: any
  • api_key_expiration: boolean
  • choose_trading_type: boolean
  • coin_deposit: boolean
  • coin_withdraw: boolean
  • default_mode: boolean
  • demo_change_status: boolean
  • favorite_markets: string[]
  • logins: boolean
  • mode: string
  • money_deposit: boolean
  • money_withdraw: boolean
  • notification: Notification
  • order_delete_confirm: boolean
  • order_submit_confirm: boolean
  • payment_identifier: boolean
  • prop_change_status: boolean
  • rewards_hub_app_survey_notification: boolean
  • rewards_hub_claim_rewards_notification: boolean
  • rewards_hub_first_arrival: boolean
  • subscription_change_status: boolean
  • theme: string
  • trade: boolean
  • trading_bot: boolean
status: Status
tracking_id: number
verification: string

Generated using TypeDoc