Создание master- или investment-счёта из существующего mt-счёта

Создайте счёт B2COPY поверх существующего счёта MetaTrader.

Для администраторов

Creates a master or investment account for a client from their existing MT account. The account is registered on B2COPY with the same login number it has on MT.

Prerequisite

The client must already be registered on the platform and have a client ID. For standalone solutions, see Seamless authorization and Register a client and create their payment account.

Endpoint

POST [host]/api/v2/b2copy/accounts/create

Request body

NameTypeRequiredDescription
clientIdintegerYesThe client for whom the account is created.
investmentPlatformIdintegerYesThe investment platform instance (1 for a single MT server).
accountNumberstringYesThe MT login that exists on MT and will be registered on B2COPY.
productCurrencyIdintegerYesProduct currency identifier — contact Support for assistance.
isMasterintegerYes1 → create a master account; 0 → create an investment account.
accountNamestringNoName assigned to the account.
accountDescriptionstringNoDescription of the trading strategy on the account.
curl --location --request POST 'https://host.name/api/v2/b2copy/accounts/create' \
--header 'Authorization: Bearer <access_token>' \
--data-raw '{
  "clientId": 4406,
  "investmentPlatformId": 1,
  "accountNumber": "2121882154",
  "productCurrencyId": 10,
  "isMaster": 0,
  "accountName": "MAM investor",
  "accountDescription": "The trading strategy applied on the account"
}'

Response

The created account object, including its id, type, visibility flags, and timestamps.

{
  "is_master": false,
  "show_in_client_ui": true,
  "status": true,
  "id": 12574,
  "account_description": "The trading strategy applied on the account",
  "account_name": "MAM investor",
  "type": 8,
  "show_in_leaderboard": false,
  "active_since": "2024-04-01T15:06:41.000000Z",
  "created_at": "2024-04-01T15:06:41.000000Z"
}
Ещё не клиент B2COPY?

Внедрите B2COPY в свой брокерский бизнес и растите на автопилоте

Запустите копитрейдинг, PAMM и MAM на существующих серверах и превратите лучших трейдеров в двигатель роста — с хостингом, мониторингом и поддержкой. Не знаете, с чего начать? Свяжитесь с нами — мы проведём вас по шагам.

2–4 недели

Время до запуска

$0

Стоимость инфраструктуры

40%+

Рост объёма