注册客户并创建支付账户(仅限独立版)

通过 API 完成客户注册并开通其支付账户。

面向管理员

Standalone solutions only

This flow applies only to standalone B2COPY solutions, after seamless authorization has returned a token.

Registering a client in a standalone solution is a two-step wizard. On completion, a payment account is created for the client.

Step 1 — Initialize the Wizard

GET [host]/api/v1/standalone/auth/init

Returns a uuid required for step 2.

{
  "status": 200,
  "data": {
    "uuid": "92fae932-4cff-4d5f-9af9-a8bd71d1acc2",
    "type": "form",
    "workflow": "side_login",
    "status": 0,
    "done": false,
    "canceled": false
  }
}

Step 2 — Register the Client

POST [host]/api/v1/wizards/{uuid}
NameInTypeRequiredDescription
uuidpathstringYesThe UUID obtained in step 1.
side_loginbodystringYesMT login of the client account.
tokenbodystringYesThe token from seamless authorization.
investment_platform_idbodystringYesThe investment platform instance (1 for a single MT server).
device_fingerprintbodystringYesA string uniquely identifying the client device.
curl --location --request POST 'https://host.name/api/v1/wizards/92fae932-4cff-4d5f-9af9-a8bd71d1acc2' \
--data-raw '{
  "side_login": "2121882153",
  "token": "8c3d46c32fff792caf33b9dee1694f1e",
  "investment_platform_id": "1",
  "device_fingerprint": "eyJjYW52YXNfY29kZSI6…"
}'

Next step

The response includes the new client ID. With it, you can create master and investment accounts — see Create a master or investment account from an existing MT account.

还不是 B2COPY 客户?

将 B2COPY 引入您的经纪业务,实现自动驾驶式增长

在现有服务器上部署跟单交易、PAMM 与 MAM,把最优秀的交易员变成增长引擎——含托管、监控与支持。不确定从何开始?联系我们,我们会逐步讲解。

2–4 周

上线时间

$0

基础设施成本

40%+

成交量提升