Upcoming API Changes to Landing company call

edited October 2019 in General

We are changing API response structure for landing company call. Please note that only mt_financial_company and mt_gaming_company keys have changed, rest structure remains the same.

Based on our analysis, this will not impact any third-party applications as the changes are used internally only.

We have modified the key structure to better represent the current groups we support for MT5 new account call.

In the current structure, details are added directly to the keys and there is no way to represent subgroups we have for MT5 new account.

"mt_financial_company": {
  "address": [
    "Govant Building",
    "Port Vila",
    "P.O. Box 1276",
    "Vanuatu",
    "Republic of Vanuatu"
  ],
  "country": "Republic of Vanuatu",
  "currency_config": {
    "forex": {
      "USD": {
        "max_payout": 50000,
        "min_stake": 0.5
      }
    }
  },
  "has_reality_check": 0,
  "legal_allowed_contract_categories": [
    "callput"
  ],
  "legal_allowed_currencies": [
    "USD"
  ],
  "legal_allowed_markets": [
    "forex"
  ],
  "legal_default_currency": "USD",
  "name": "Binary (V) Ltd",
  "shortcode": "vanuatu"
}

In updated structure, details are categorized as per subgroups we have.

"mt_financial_company": {
  "advanced": {
    "address": [
      "Labuan Times Square",
      "Jalan Merdeka",
      "87000 Federal Territory of Labuan",
      "Malaysia"
    ],
    "country": "Malaysia Federation",
    "currency_config": {
      "forex": {
        "USD": {
          "max_payout": 50000,
          "min_stake": 0.5
        }
      }
    },
    "has_reality_check": 0,
    "legal_allowed_contract_categories": [
      "callput"
    ],
    "legal_allowed_currencies": [
      "USD"
    ],
    "legal_allowed_markets": [
      "forex"
    ],
    "legal_default_currency": "USD",
    "name": "Binary (FX) Ltd",
    "shortcode": "labuan"
  },
  "standard": {
    "address": [
      "Govant Building",
      "Port Vila",
      "P.O. Box 1276",
      "Vanuatu",
      "Republic of Vanuatu"
    ],
    "country": "Republic of Vanuatu",
    "currency_config": {
      "forex": {
        "USD": {
          "max_payout": 50000,
          "min_stake": 0.5
        }
      }
    },
    "has_reality_check": 0,
    "legal_allowed_contract_categories": [
      "callput"
    ],
    "legal_allowed_currencies": [
      "USD"
    ],
    "legal_allowed_markets": [
      "forex"
    ],
    "legal_default_currency": "USD",
    "name": "Binary (V) Ltd",
    "shortcode": "vanuatu"
  }
}

We plan to launch it in next week. We will keep you posted.

Sign In or Register to comment.