Customer
version=0.0.1 bizType=customer.app.CustomerWebApiService.checkCustomerExist
Global link unique identifier
{{mock_trace}}Company ID
{{company}}Interface version number
0.0.1Registration login method: 1 email, 2 phone number, 3 customer account
Account: email/phone number
Mobile area code, default area code is +86
Email area code, default area code is +86
POST /openapi-b/customer.app.CustomerWebApiService.checkCustomerExist HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
companyId: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 93
{
"type": 2,
"loginName": "{{mock_phone}}",
"protocol": "true",
"emailArea": "+86",
"phoneArea": "+86"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": "text",
"trace": "text",
"msgParams": "text",
"data": 1
}Parameter: version=0.0.1 bizType=customer.admin.WhiteCustomerAdminApiService.addCusAndOpenAccountAndKyc
Trace Id
Access token
Version
0.0.1Company Id
Mobile phone number
Mobile phone area code, the default area code is +86
Mailbox area code, the default area code is +86
Login password, MD5 encryption, a123456
Country: US=United States
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
Customer group ID: 1 = default customer group; customerFroupId and tradeTypeCurrencyList correspond to each other
Remark
Registered device model
Advertising source (account opening link parameter source)
Advertising medium (account opening link parameter medium)
Campaign (account opening link parameter campaign)
Ad group (account opening link parameter content)
Keywords (account opening link parameter term)
Third-party system customer unique identifier.
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"
}{
"msg": "Success",
"fail": false,
"trace": "t-h2jv9x-4to64-9mp4wd7-793nv-1661227305",
"code": "0",
"data": "86021976",
"bizCode": "",
"tm": 236026513,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.admin.WhiteCustomerAdminApiService.page
Global link unique identifier
{{mock_trace}}Authentication code
{{auto_token}}Interface version number
0.0.1Company ID
{{company}}Customer Number
Number of rows displayed per page, default is 20
Current page, default is 1
POST /openapi-b/customer.admin.WhiteCustomerAdminApiService.page HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
token: text
version: text
companyId: text
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"customerNo": null,
"size": 20,
"current": 1
}{
"bizCode": "",
"code": "",
"data": {
"current": 0,
"records": [
{
"agentCustomerNo": "",
"companyId": 0,
"createTime": 0,
"customerGroupId": 0,
"customerGroupName": "",
"customerNo": "",
"customerType": 0,
"email": "",
"firstAccountActivateTime": 0,
"firstName": "",
"id": 0,
"idCard": "",
"idCardType": "",
"lastName": "",
"loginTime": 0,
"name": "",
"openAccountType": 0,
"phone": "",
"phoneArea": "",
"registerSource": 0,
"remark": "",
"status": 0,
"tgUserId": "",
"tgUserName": "",
"thirdAccountNo": "",
"thirdLoginSource": "",
"thirdUserId": "",
"unitId": 0,
"unitName": "",
"updateTime": 0
}
],
"size": 0,
"total": 0
},
"fail": true,
"msg": "",
"msgParams": "",
"ok": true,
"tm": 0,
"trace": ""
}version=0.0.1 bizType=customer.admin.WhiteCustomerAdminApiService.detail
Global link unique identifier
{{mock_trace}}Authentication code
{{auto_token}}Interface version number
0.0.1Company ID
{{company}}Type information, baseInfo= basic information, tradeAccount= trading account, kyc= kyc information, allKyc= detailed kyc information on the page, bankList= bank card list, walletList= wallet address, otherInfo= other
Customer ID
Customer Number
POST /openapi-b/customer.admin.WhiteCustomerAdminApiService.detail HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
token: text
version: text
companyId: text
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"type": "tradeAccount",
"id": "{{customerId}}",
"customerNo": "{{customer}}"
}{
"bizCode": "",
"code": "",
"data": {
"accountList": {},
"accountRemark": "",
"activateStatus": 0,
"activateTime": 0,
"address": "",
"apiCheckRule": "",
"apiCheckSwitch": true,
"assertPassStatus": "",
"associationCompanyId": 0,
"companyId": 0,
"companyKycStatus": 0,
"companyType": "",
"country": "",
"createTime": 0,
"customerAgentMark": "",
"customerGroupId": 0,
"customerNo": "",
"customerType": 0,
"deposit": 0,
"earlyWarningLevel": {},
"email": "",
"firstName": "",
"forceLevel": {},
"googleId": 0,
"id": 0,
"idCard": "",
"idCardType": "",
"isFund": 0,
"kycAuditRemark": "",
"kycAuditStatus": 0,
"kycRemark": "",
"kycStatus": 0,
"lastName": "",
"loginPassStatus": "",
"loginTime": 0,
"name": "",
"openAccountType": 0,
"optional": 0,
"payPassStatus": "",
"phone": "",
"phoneArea": "",
"postalCode": "",
"registerSource": 0,
"registerTime": 0,
"relationCustomerId": 0,
"source": "",
"status": 0,
"thirdIntactMsg": "",
"thirdLoginSource": "",
"thirdServerCode": "",
"thirdUserId": "",
"type": 0,
"unitId": 0,
"unitName": "",
"utmSource": "",
"withdraw": 0,
"withdrawLevel": {}
},
"fail": true,
"msg": "",
"msgParams": "",
"ok": true,
"tm": 0,
"trace": ""
}version=0.0.1 bizType=customer.admin.CustomerGroupAdminApiService.groupList Accessible after B-side authentication
Global link unique identifier
{{mock_trace}}Company ID
{{company}}Token after B-end authentication
{{auto_token}}Interface version number
0.0.1POST /openapi-b/customer.admin.CustomerGroupAdminApiService.groupList HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
companyId: text
token: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"tradeType": 5,
"customerNo": "86000020"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"id": 1,
"name": "text",
"openAccountType": 1,
"type": 1,
"tradeType": 1,
"assets": "text"
},
"ok": true,
"fail": true
}Last updated