Customer registration

Customer registration

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.register Guest access

Header parameters
versionstringRequired

Version Number

Example: 0.0.1
companyIdstringRequired

Company ID, obtained through environment variables

Example: {{company}}
tracestringRequired

Random Tracking Code UUID

Example: {{mock_trace}}
langstringRequired

Language

Example: zh-CN
X-Forwarded-ForstringRequired
Body
countrystringRequired

Country

langstringOptional

Language information, default en-US

loginNamestringRequired

Account: email/phone number, used in conjunction with type

phoneAreastringOptional

Mobile area code, used in conjunction with registration method, default +86

typeinteger · int32 · min: 1 · max: 3Required

Registration method: 1=email, 2=phone number

registerDevicestringOptional

Registered device model

verifyCodestringRequired

Verification code

sendTokenstringRequired

Verification code sending ticket

registerSourceinteger · int32 · min: 1Required

Registration source: 1=mobile web: H5, 2=pc web: PC_Web, 3=system & backend registration: System, 4=Android native app: Android, 5=iOS native app: iOS, 6=HarmonyOS: HOS, 7=pc windows client: PC_Win, 8=pc mac client: PC_Mac, 9=other

utmSourcestringOptional

Advertising source (account opening link parameter source)

utmMediumstringOptional

Advertising medium (account opening link parameter medium)

utmCampaignstringOptional

Advertising campaign (account opening link parameter campaign)

utmContentstringOptional

Advertising group (account opening link parameter content)

utmTermstringOptional

Keyword (account opening link parameter term)

customerGroupIdinteger · int64Optional

Client group ID

openAccountTypeinteger · int32Optional

Account opening type: 0. Individual 1. Enterprise, default individual

pwdstringOptional

Password, MD5 encryption

thirdServerCodestringOptional

Unique identifier from third-party system

thirdServerSourcestringOptional

Third-party system source, such as: agent=agent

Responses
200
Success
application/json
post
POST /api/register/customer.app.CustomerWebApiService.register HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
X-Forwarded-For: text
Content-Type: application/json
Accept: */*
Content-Length: 430

{
  "country": "text",
  "lang": "text",
  "loginName": "text",
  "phoneArea": "text",
  "type": 1,
  "registerDevice": "text",
  "verifyCode": "text",
  "sendToken": "text",
  "registerSource": 1,
  "utmSource": "text",
  "utmMedium": "text",
  "utmCampaign": "text",
  "utmContent": "text",
  "utmTerm": "text",
  "customerGroupId": 1,
  "tradeTypeCurrencyList": [
    {
      "allCurrency": "text",
      "tradeType": "text"
    }
  ],
  "openAccountType": 1,
  "pwd": "text",
  "thirdServerCode": "text",
  "thirdServerSource": "text"
}
200

Success

{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {
    "customerNo": "text",
    "list": [
      {
        "levelCode": "text",
        "openAccountType": 1,
        "levelName": "text",
        "pathName": "text",
        "pathCode": "text",
        "elementList": [
          {
            "elementCode": "text",
            "elementName": "text",
            "showType": "text",
            "extend": "text",
            "elementValue": "text",
            "elementValueInputGroup": "text",
            "elementCodeInputGroup": "text"
          }
        ]
      }
    ],
    "companyId": 1,
    "email": "text",
    "phone": "text",
    "phoneArea": "text",
    "name": "text",
    "loginPassStatus": "text",
    "payPassStatus": "text",
    "customerGroupId": 1,
    "country": "text",
    "id": 1,
    "optional": 1,
    "companyKycStatus": 1,
    "thirdServerCode": "text",
    "source": "text",
    "capitalInStatus": 1,
    "openAccountType": 1,
    "companyType": "text",
    "associationCompanyId": 1,
    "registerTime": 1,
    "apiCheckSwitch": true,
    "apiCheckRule": "text"
  },
  "ok": true,
  "fail": true
}

Last updated