Customer registration

Create Account

post

Parameter: version=0.0.1 bizType=customer.admin.WhiteCustomerAdminApiService.addCusAndOpenAccountAndKyc

Header parameters
tracestringRequired

Trace Id

tokenstringRequired

Access token

versionstringRequired

Version

Example: 0.0.1
companyIdstringRequired

Company Id

Body
phonestringRequired

Mobile phone number

emailstringOptional

Email

phoneAreastringOptional

Mobile phone area code, the default area code is +86

emailAreastringOptional

Mailbox area code, the default area code is +86

pwdstringRequired

Login password, MD5 encryption, a123456

countrystringRequired

Country: US=United States

registerSourceintegerRequired

Registration source: 1=Mobile web: H5, 2=pcweb: PC_Web, 3=System & background liquidation: System, 4=Android native app: Android, 5=Apple native app: iOS, 6=Hongmeng OS: HOS, 7=pc windows client: PC_Win, 8=pc mac client: PC_Mac, 9=not belonging to the above: other

customerGroupIdnumberRequired

Customer group ID: 1 = default customer group; customerFroupId and tradeTypeCurrencyList correspond to each other

remarkstringOptional

Remark

registerDevicestringOptional

Registered device model

utmSourcestringOptional

Advertising source (account opening link parameter source)

utmMediumstringOptional

Advertising medium (account opening link parameter medium)

utmCampaignstringOptional

Campaign (account opening link parameter campaign)

utmContentstringOptional

Ad group (account opening link parameter content)

utmTermstringOptional

Keywords (account opening link parameter term)

thirdServerCodestring · max: 50Optional

Third-party system customer unique identifier.

Responses
200
Success
application/json
post
POST /openapi-b/customer.admin.WhiteCustomerAdminApiService.addCusAndOpenAccountAndKyc HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
token: text
version: text
companyId: text
Content-Type: application/json
Accept: */*
Content-Length: 219

{
  "phone": "{{mock_phone}}",
  "pwd": "dc483e80a7a0bd9ef71d8cf973673924",
  "country": "{{national_code}}",
  "registerSource": 1,
  "customerGroupId": 1,
  "tradeTypeCurrencyList": [
    {
      "allCurrency": "USDT",
      "tradeType": "1"
    }
  ],
  "phoneArea": "+86"
}
200

Success

{
  "msg": "Success",
  "fail": false,
  "trace": "t-h2jv9x-4to64-9mp4wd7-793nv-1661227305",
  "code": "0",
  "data": "86021976",
  "bizCode": "",
  "tm": 236026513,
  "msgParams": null,
  "ok": true
}

Last updated