Customer/Basic

First Time Setting Login Password

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.bindLoginPwd Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
pwdstringRequired

Password, MD5 encryption

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.bindLoginPwd
POST /api/global/customer.app.CustomerWebApiService.bindLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 34

{
  "pwd": "text",
  "googleCode": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Change Email

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.changeEmail Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
verifyCodestringRequired

New Verification Code

emailstring · max: 50Required

New Email

sendTokenstringRequired

New Verification Code Sending Ticket

emailAreastring · max: 15Required

New Email Area Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.changeEmail
POST /api/global/customer.app.CustomerWebApiService.changeEmail HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 74

{
  "verifyCode": "text",
  "email": "text",
  "sendToken": "text",
  "emailArea": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}
Deprecated

Change Email (MFA)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.changeEmailV1v1v2 Accessible after login

If the customer enables Google Verification Code (MFA), the Google Verification Code (googleCode) in the input parameters is required, and the user does not need to enter the old email

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
verifyCodestringRequired

New Verification Code

emailstringRequired

New Email

sendTokenstringRequired

New Verification Code Sending Ticket

emailAreastringRequired

New Email Area Code

verifyCodeOldstringRequired

Original email verification code

sendTokenOldstringRequired

Original email verification code sending ticket

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.changeEmailV1v1v2
POST /api/global/customer.app.CustomerWebApiService.changeEmailV1v1v2 HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 139

{
  "verifyCode": "text",
  "email": "text",
  "sendToken": "text",
  "emailArea": "text",
  "verifyCodeOld": "text",
  "sendTokenOld": "text",
  "googleCode": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Change phone number

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.changePhone Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
phoneAreastring · max: 15Required

New phone area code

phonestring · max: 50Required

New phone number

verifyCodestringRequired

Verification code

sendTokenstringRequired

Verification code sending ticket

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.changePhone
POST /api/global/customer.app.CustomerWebApiService.changePhone HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 74

{
  "phoneArea": "text",
  "phone": "text",
  "verifyCode": "text",
  "sendToken": "text"
}
200Success
{
  "msg": "Verification code is not correct",
  "fail": true,
  "trace": "x-42hi-b8f2ag18-x89u-k23y1r1b-1677738250",
  "code": "CUSTOMER_API_0000511",
  "data": "customer.app.CustomerWebApiService.changePhone",
  "bizCode": "US",
  "tm": 15861690,
  "msgParams": null,
  "ok": false
}
Deprecated

Change phone number (MFA)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.changePhoneV1v1v2 Accessible after login

If the customer enables Google Authenticator (MFA), the Google Authenticator code (googleCode) in the input parameters is required, and the user does not need to enter the old phone number

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
phoneAreastringRequired

New phone number

phonestringRequired

New phone number

verifyCodestringRequired

New Verification Code

sendTokenstringRequired

New Verification Code Sending Ticket

verifyCodeOldstringRequired

Old phone verification code

sendTokenOldstringRequired

Old verification code sending ticket

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.changePhoneV1v1v2
POST /api/global/customer.app.CustomerWebApiService.changePhoneV1v1v2 HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 139

{
  "phoneArea": "text",
  "phone": "text",
  "verifyCode": "text",
  "sendToken": "text",
  "verifyCodeOld": "text",
  "sendTokenOld": "text",
  "googleCode": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Check if customer information exists

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.checkCustomerExist Accessible to visitors

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
loginNamestringRequired

Account: Email/Phone Number

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

Type: 1 Email, 2 Phone Number

emailAreastringOptional

Email area code, default area code is +86

phoneAreastringOptional

Phone area code, default area code is +86

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.checkCustomerExist
POST /api/global/customer.app.CustomerWebApiService.checkCustomerExist HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 67

{
  "loginName": "text",
  "type": 1,
  "emailArea": "text",
  "phoneArea": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": 1,
  "ok": true,
  "fail": true
}

Customer cancellation

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.destroy Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
remarkstringOptional

Cancellation remarks

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.destroy
POST /api/global/customer.app.CustomerWebApiService.destroy HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "remark": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Google verification code binding and unbinding

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.enableOrForbidMFA Accessible after login If the user has bound a phone number, verify the phone number; if the user has bound an email, verify the email; if the user has bound both phone number and email, then both must be verified

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
langstringOptional

Language Information

customerNostringOptional

Client number

idinteger · int64Optional

Client Id

verifyCodeSMSstringOptional

Email Verification Code

sendTokenSMSstringOptional

Email verification code sending ticket

verifyCodeEmailstringOptional

Mobile Verification Code

sendTokenEmailstringOptional

Mobile verification code sent ticket

googleCodestringOptional

Google Verification Code

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

Type, 1 Enable 2 Disable

googleIdinteger · int64 · min: 1Required

Google ID

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.enableOrForbidMFA
POST /api/global/customer.app.CustomerWebApiService.enableOrForbidMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 178

{
  "lang": "text",
  "customerNo": "text",
  "id": 1,
  "verifyCodeSMS": "text",
  "sendTokenSMS": "text",
  "verifyCodeEmail": "text",
  "sendTokenEmail": "text",
  "googleCode": "text",
  "type": 1,
  "googleId": 1
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Query customer information

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.findCustomerInfo Access after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
objectOptional
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.findCustomerInfo
POST /api/global/customer.app.CustomerWebApiService.findCustomerInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {
    "id": 1,
    "companyId": 1,
    "customerGroupId": 1,
    "customerNo": "text",
    "kycAuditStatus": 1,
    "kycAuditRemark": "text",
    "kycStatus": 1,
    "kycRemark": "text",
    "accountList": {},
    "accountRemark": "text",
    "loginPassStatus": "text",
    "payPassStatus": "text",
    "email": "text",
    "phone": "text",
    "phoneArea": "text",
    "name": "text",
    "country": "text",
    "type": 1,
    "deposit": 1,
    "withdraw": 1,
    "optional": 1,
    "activateStatus": 1,
    "activateTime": 1,
    "companyKycStatus": 1,
    "status": 1,
    "thirdServerCode": "text",
    "source": "text",
    "thirdLoginSource": "text",
    "thirdUserId": "text",
    "idCard": "text",
    "idCardType": "text",
    "thirdIntactMsg": "text",
    "firstName": "text",
    "lastName": "text",
    "isFund": 1,
    "assertPassStatus": "text",
    "googleId": 1,
    "openAccountType": 1,
    "loginTime": 1,
    "createTime": 1,
    "relationCustomerId": 1,
    "companyType": "text",
    "registerSource": 1,
    "associationCompanyId": 1,
    "registerTime": 1,
    "utmSource": "text",
    "forceLevel": {},
    "earlyWarningLevel": {},
    "withdrawLevel": {},
    "postalCode": "text",
    "customerAgentMark": "text",
    "apiCheckSwitch": true,
    "apiCheckRule": "text"
  },
  "ok": true,
  "fail": true
}

Forget fund password

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.forgetAssertsPwd Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
phoneAreastringOptional

Phone area code; when 'type' is 2: mobile phone number, this field is required; not specified, default is +86

loginNamestringRequired

Account: Email/Phone Number

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

Type: 1 Email, 2 Phone Number

newPwdstring · min: 6 · max: 50Required

New password, MD5 encryption

verifyCodestringRequired

Verification code

sendTokenstringRequired

Send ticket

verifyCodeTokenstringRequired

Verify ticket; verify the verification code interface to return token, prioritize checking this field. If the verification passes, then skip the verification of the send verification code interface to return sendToken. If the verification does not pass, then verify the send verification code interface to return sendToken

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.forgetAssertsPwd
POST /api/global/customer.app.CustomerWebApiService.forgetAssertsPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 171

{
  "newPwd": "Aa123456@",
  "type": 1,
  "loginName": "[email protected]",
  "verifyCode": "232123",
  "sendToken": "asdsadasdasdsadsadsadsadad",
  "verifyCodeToken": "adczczxczczczxczczxczxczxc"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Forget fund password (MFA)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.forgetAssertsPwdV1v1v2 Accessible after login

If the customer has enabled Google verification code (MFA), then the Google verification code (googleCode) in the input parameters is required. At the same time, the user does not need to enter the old phone number or old email

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
newPwdstring · min: 5 · max: 50Required

New password, MD5 encryption

verifyCodestringRequired

Verification code

sendTokenstringRequired

Send ticket

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

Type: 1 Email, 2 Phone Number

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.forgetAssertsPwdV1v1v2
POST /api/global/customer.app.CustomerWebApiService.forgetAssertsPwdV1v1v2 HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 85

{
  "newPwd": "text",
  "verifyCode": "text",
  "sendToken": "text",
  "type": 1,
  "googleCode": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Forgot Login Password

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.forgetLoginPwd Guest Accessible

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
loginNamestringRequired

Account: Email/Phone Number

phoneAreastringOptional

Phone area code, default area code is +86

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

Type: 1 Email, 2 Phone Number

newPwdstringRequired

New password, MD5 encryption

verifyCodestringRequired

Verification code

sendTokenstringRequired

Send ticket

verifyCodeTokenstringRequired

Validate Ticket

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.forgetLoginPwd
POST /api/global/customer.app.CustomerWebApiService.forgetLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 148

{
  "loginName": "text",
  "phoneArea": "text",
  "type": 1,
  "newPwd": "text",
  "verifyCode": "text",
  "sendToken": "text",
  "verifyCodeToken": "text",
  "googleCode": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Set Fund Password for the First Time

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.bindAssertsPwd Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
pwdstringRequired

Password, MD5 encryption

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.bindAssertsPwd
POST /api/global/customer.app.CustomerWebApiService.bindAssertsPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 32

{
  "pwd": "sunt",
  "googleCode": "44"
}
200Success
{
  "msg": "Fund password has been set",
  "fail": true,
  "trace": "x-kwm21-v8951-5vor62ft-006o-1677737070",
  "code": "CUSTOMER_API_0000133",
  "data": "customer.app.CustomerWebApiService.bindAssertsPwd",
  "bizCode": "US",
  "tm": 3851542,
  "msgParams": null,
  "ok": false
}

Bind Email

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.bindEmail Access after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
verifyCodestringRequired

Verification code

emailstring · max: 50Required

Email

sendTokenstringRequired

Verification code sending ticket

emailAreastring · max: 15Required

Email Area Code

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.bindEmail
POST /api/global/customer.app.CustomerWebApiService.bindEmail HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 94

{
  "verifyCode": "text",
  "email": "text",
  "sendToken": "text",
  "emailArea": "text",
  "googleCode": "text"
}
200Success
{
  "msg": "Verification code is not correct",
  "fail": true,
  "trace": "x-i2ps6-ol1gv4l4-17tc48-f72xfee-1677737300",
  "code": "CUSTOMER_API_0000511",
  "data": "customer.app.CustomerWebApiService.bindEmail",
  "bizCode": "US",
  "tm": 19770126,
  "msgParams": null,
  "ok": false
}

Bind mobile phone number

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.bindPhone Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
verifyCodestringRequired

Verification code

sendTokenstringRequired

Verification code sending ticket

googleCodestringOptional

Google Verification Code

phonestring · max: 50Required

Phone Number

phoneAreastring · max: 15Required

Phone area code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.bindPhone
POST /api/global/customer.app.CustomerWebApiService.bindPhone HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 94

{
  "verifyCode": "text",
  "sendToken": "text",
  "googleCode": "text",
  "phone": "text",
  "phoneArea": "text"
}
200Success
{
  "msg": "Verification code is not correct",
  "fail": true,
  "trace": "x-g82wr3b-3o3236-576oa-1er5di6-1677737445",
  "code": "CUSTOMER_API_0000511",
  "data": "customer.app.CustomerWebApiService.bindPhone",
  "bizCode": "US",
  "tm": 15425229,
  "msgParams": null,
  "ok": false
}

Switch language

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.changeLang Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
newLangstringRequired

Language Information

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.changeLang
POST /api/global/customer.app.CustomerWebApiService.changeLang HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "newLang": "text"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 3818289,
  "msgParams": null,
  "ok": true
}

Query customer language

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.findCustomerLang Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
objectOptional
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.findCustomerLang
POST /api/global/customer.app.CustomerWebApiService.findCustomerLang HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 3818289,
  "msgParams": null,
  "ok": true
}

Modify Customer Communication Address and Postal Code

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.changeCustomerAddressAndPostalCode Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
addressstringRequired

Communication Address

postalCodestringRequired

Postal Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.changeCustomerAddressAndPostalCode
POST /api/global/customer.app.CustomerWebApiService.changeCustomerAddressAndPostalCode HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 67

{
  "postalCode": "90210",
  "address": "Da Dong Men, Wuhan, Hubei, China"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 3818289,
  "msgParams": null,
  "ok": true
}

First set phone number (TG)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.firstSetPhone Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
phoneAreastring · max: 15Required

Phone area code

phonestring · max: 50Required

Phone

verifyCodestringRequired

Mobile verification code, send verification code bizType=SMS_COMMON_VERIFICATION_CODE

sendTokenstringRequired

Mobile verification code sent ticket

thirdSourcestringRequired

Third-party source: telegram

verifyCodeThirdTypestringRequired

Third-party verification code, used in conjunction with thirdSource, when thirdSource=telegram, the verification code bizType can only be SMS_TELEGRAM_VERIFICATION_CODE

sendTokenThirdTypestringRequired

Third-party verification code sent ticket, used in conjunction with thirdSource, when thirdSource=telegram, the verification code bizType can only be SMS_TELEGRAM_VERIFICATION_CODE

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.firstSetPhone
POST /api/global/customer.app.CustomerWebApiService.firstSetPhone HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 214

{
  "verifyCode": "57",
  "phoneArea": "18127152839",
  "sendToken": "occaecat exercitation",
  "verifyCodeThirdType": "21",
  "sendTokenThirdType": "ad pariatur ut",
  "thirdSource": "occaecat voluptate sit tempor",
  "phone": "18190281711"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 3818289,
  "msgParams": null,
  "ok": true
}

First Time Setting Email (TG)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.firstSetEmail Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
emailstring · max: 50Required

Email

verifyCodestringRequired

Email verification code, send verification code bizType=SMS_COMMON_VERIFICATION_CODE

sendTokenstringRequired

Email verification code sending ticket

thirdSourcestringRequired

Third-party source: telegram

verifyCodeThirdTypestringRequired

Third-party verification code, used in conjunction with thirdSource, when thirdSource=telegram, the verification code bizType can only be SMS_TELEGRAM_VERIFICATION_CODE

sendTokenThirdTypestringRequired

Third-party verification code sent ticket, used in conjunction with thirdSource, when thirdSource=telegram, the verification code bizType can only be SMS_TELEGRAM_VERIFICATION_CODE

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.firstSetEmail
POST /api/global/customer.app.CustomerWebApiService.firstSetEmail HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 195

{
  "verifyCode": "57",
  "sendToken": "occaecat exercitation",
  "verifyCodeThirdType": "21",
  "sendTokenThirdType": "ad pariatur ut",
  "thirdSource": "occaecat voluptate sit tempor",
  "email": "[email protected]"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 3818289,
  "msgParams": null,
  "ok": true
}

First Time Setting Login Password (TG)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.firstTimeSettingLoginPassword Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
newPwdstring · min: 32 · max: 32Required

Password, MD5 encryption

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.firstTimeSettingLoginPassword
POST /api/global/customer.app.CustomerWebApiService.firstTimeSettingLoginPassword HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 22

{
  "newPwd": "Aa123456@"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 3818289,
  "msgParams": null,
  "ok": true
}

Query Customer 3rd Party Binding Information

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.findThirdAccountInfo Access after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
objectOptional
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.findThirdAccountInfo
POST /api/global/customer.app.CustomerWebApiService.findThirdAccountInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 3818289,
  "msgParams": null,
  "ok": true
}

Check if the customer has enabled GoogleMFA

post

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

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
loginNamestringOptional

Account: Email/Phone Number

phoneAreastringRequired

Area code, default area code is +86

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

Type: 1 Email, 2 Phone Number

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.checkGoogleMFAStatus
POST /api/global/customer.app.CustomerWebApiService.checkGoogleMFAStatus HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 48

{
  "loginName": "text",
  "phoneArea": "text",
  "type": 1
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-b4ypj54-y9t32s7-5757xb-v60725g8-1677740298",
  "code": "0",
  "data": -1,
  "bizCode": "",
  "tm": 19151998,
  "msgParams": null,
  "ok": true
}

Check customer status

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.checkStatus Determine customer status: 1 exists, 2 does not exist, -1 customer is disabled This interface requires login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
loginNamestringOptional

Account: Email/Phone Number

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

Type: 1 Email, 2 Phone Number

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.checkStatus
POST /api/global/customer.app.CustomerWebApiService.checkStatus HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 29

{
  "loginName": "text",
  "type": 1
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-774phjw-g77e96y-7ogx9r8a-z7831eh-1677740174",
  "code": "0",
  "data": {
    "country": "CN",
    "phoneArea": "+86",
    "status": 1
  },
  "bizCode": "",
  "tm": 17093534,
  "msgParams": null,
  "ok": true
}

Query account asset information (leverage)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.queryAccountAssetsInfo Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
tradeTypeinteger · int64 · min: 1Required

Play Id, 3-CROSS; 5-MATCH;

accountIdinteger · int64Optional

Account Id, at least one of accountCurrency must exist

accountCurrencystringOptional

Account currency and accountCurrency must exist at least one

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.queryAccountAssetsInfo
POST /api/global/customer.app.CustomerWebApiService.queryAccountAssetsInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "tradeType": 1,
  "accountId": 1,
  "accountCurrency": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Real-time account fund information

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.queryAccountById Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
tradeTypeinteger · int64 · min: 1Required

Play Id, 1-CFD_MM; 2-CFD_WBW; 3-CROSS; 5-MATCH;

accountIdinteger · int64Optional

Account Id, at least one of currency must exist

currencystringOptional

Opening currency, at least one of accountId must exist

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.queryAccountById
POST /api/global/customer.app.CustomerWebApiService.queryAccountById HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 47

{
  "tradeType": 1,
  "accountId": 1,
  "currency": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {
    "companyId": 1,
    "tradeType": 1,
    "customerId": 1,
    "customerNo": "text",
    "accountId": 1,
    "type": 1,
    "status": 1,
    "activateStatus": 1,
    "activateTime": 1,
    "remark": "text",
    "currency": "text",
    "digits": 1,
    "withdrawAmount": "text",
    "createTime": 1,
    "firstDepositTime": 1,
    "firstWithdrawTime": 1,
    "assetsId": 1,
    "balance": "text",
    "available": "text",
    "equity": "text",
    "lockAmount": "text",
    "profit": "text",
    "margin": "text",
    "notWithdrawAmount": "text",
    "freeMargin": "text",
    "lockMargin": "text",
    "liabilities": "text",
    "liabilitiesPrincipal": "text",
    "interest": "text",
    "netAssets": "text",
    "frozen": "text",
    "collateralFrozen": "text",
    "availableLoan": "text",
    "interestProportion": "text",
    "marginRadio": "text",
    "wholeWarehouseBalance": "text",
    "wholeWarehouseRate": "text",
    "openAccountStatus": true
  },
  "ok": true,
  "fail": true
}

Query customer assets

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.queryCustomerAssets Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
tradeTypeinteger · int64Optional

Game ID

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.queryCustomerAssets
POST /api/global/customer.app.CustomerWebApiService.queryCustomerAssets HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "tradeType": 1
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-9q2v3u1-9c89e2-4epa-1w3zd-1677741772",
  "code": "0",
  "data": {
    "balance": "109849160.9462",
    "currency": "USDT",
    "digits": 4,
    "assetsId": 13
  },
  "bizCode": "C",
  "tm": 209517656,
  "msgParams": null,
  "ok": true
}

Customer total asset information (does not support contract gameplay)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.queryCustomerAssetsInfo Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
tradeTypeinteger · int64 · min: 1Required

Gameplay ID, 3-CROSS; 5-MATCH; 8-WALLET; (does not support contract gameplay)

accountCurrencystringOptional

Account currency, separated by ',' between multiple assets. E.g.: USD, CNY. If not provided, all will be returned by default

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.queryCustomerAssetsInfo
POST /api/global/customer.app.CustomerWebApiService.queryCustomerAssetsInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 40

{
  "tradeType": 1,
  "accountCurrency": "text"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-syhv7-d3a53n34-z4k54-458414-1677741850",
  "code": "0",
  "data": {
    "totalAvailable": "348191.9105",
    "closeProportion": "26.61%",
    "riskLevel": 2,
    "totalBalance": "348191.9105",
    "totalLiabilities": "1308283.6711",
    "companyId": null,
    "totalNetAssets": "-960091.7606",
    "currency": "USDT",
    "digits": 4,
    "totalInterest": "1068275.4978",
    "tradeType": 3,
    "customerNo": null,
    "totalLiabilitiesPrincipal": "240008.1733",
    "accountInfoMap": {
      "SAND": {
        "netAssets": "0.000000",
        "lastOrderId": "0",
        "available": "0.000000",
        "remark": null,
        "type": 1,
        "equity": "0.000000",
        "firstDepositTime": null,
        "lockMargin": "0.000000",
        "balance": "0.000000",
        "interest": "0.000000",
        "customerId": 1176,
        "liabilities": "0.000000",
        "currency": "SAND",
        "activateStatus": 2,
        "withdrawAmount": "0.000000",
        "profit": "0",
        "tradeType": 3,
        "wholeWarehouseBalance": null,
        "freeMargin": "0",
        "margin": "0",
        "firstWithdrawTime": null,
        "activateTime": 1648792208194,
        "weight": null,
        "frozen": "0.000000",
        "wholeWarehouseRate": null,
        "accountId": 1031752,
        "companyId": 360,
        "liabilitiesPrincipal": "0.000000",
        "interestProportion": "0",
        "createTime": 1648777706190,
        "lockAmount": "0.000000",
        "notWithdrawAmount": "0.000000",
        "digits": 6,
        "customerNo": "86001175",
        "status": 2,
        "assetsId": 29
      }
    }
  },
  "bizCode": "C",
  "tm": 171612280,
  "msgParams": null,
  "ok": true
}

Borrowing and repayment flow list (leverage)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.queryLiabilitiesWaterByPage Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
sizeinteger · int64Optional

Number of Items per Page

currentinteger · int64Optional

Current Page

tradeTypeinteger · int64 · min: 1Required

Game ID

liabilitiesTypeinteger · int32Optional

1-Loan; 2-Repayment

startTimeinteger · int64Optional

Start Time

endTimeinteger · int64Optional

End Time

accountIdinteger · int64Optional

Account Id

assetsIdinteger · int64Optional

Asset ID

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.queryLiabilitiesWaterByPage
POST /api/global/customer.app.CustomerWebApiService.queryLiabilitiesWaterByPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 109

{
  "size": 1,
  "current": 1,
  "tradeType": 1,
  "liabilitiesType": 1,
  "startTime": 1,
  "endTime": 1,
  "accountId": 1,
  "assetsId": 1
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {
    "total": 1,
    "size": 1,
    "current": 1,
    "records": {
      "id": 1,
      "accountId": 1,
      "remark": "text",
      "createdBy": 1,
      "createTime": 1,
      "updateBy": 1,
      "updateTime": 1,
      "businessType": 1,
      "businessType1": 1,
      "customerNo": "text",
      "digits": 1,
      "liabilitiesPrincipal": "text",
      "interest": "text",
      "interestUpdateTime": 1,
      "currency": "text",
      "liabilities": "text"
    }
  },
  "ok": true,
  "fail": true
}

Modify fund password

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.updateAssertsPwd Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
oldPwdstringRequired

Old password, MD5 encryption

newPwdstringRequired

New password, MD5 encryption

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.updateAssertsPwd
POST /api/global/customer.app.CustomerWebApiService.updateAssertsPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 53

{
  "oldPwd": "text",
  "newPwd": "text",
  "googleCode": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Modify fund password (MFA)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.updateAssertsPwdMFA Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
oldPwdstring · min: 6 · max: 50Required

Old password, MD5 encryption

newPwdstring · min: 6 · max: 50Required

New password, MD5 encryption

googleCodestringOptional

Google Verification Code

verifyCodestringRequired

Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)

sendTokenstringRequired

Send ticket

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

Type: 1 Email, 2 Phone Number

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.updateAssertsPwdMFA
POST /api/global/customer.app.CustomerWebApiService.updateAssertsPwdMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 101

{
  "oldPwd": "text",
  "newPwd": "text",
  "googleCode": "text",
  "verifyCode": "text",
  "sendToken": "text",
  "type": 1
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Modify login password

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.updateLoginPwd Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
oldPwdstringRequired

Old password, MD5 encryption

newPwdstringRequired

New password, MD5 encryption

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.updateLoginPwd
POST /api/global/customer.app.CustomerWebApiService.updateLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 53

{
  "oldPwd": "text",
  "newPwd": "text",
  "googleCode": "text"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {},
  "ok": true,
  "fail": true
}

Modify login password (MFA)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.updateLoginPwdMFA Accessible after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
oldPwdstring · min: 6 · max: 50Required

Old password, MD5 encryption

newPwdstring · min: 6 · max: 50Required

New password, MD5 encryption

googleCodestringOptional

Google Verification Code

verifyCodestringRequired

Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)

sendTokenstringRequired

Send ticket

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

Type: 1 Email, 2 Phone Number

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.updateLoginPwdMFA
POST /api/global/customer.app.CustomerWebApiService.updateLoginPwdMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 101

{
  "oldPwd": "text",
  "newPwd": "text",
  "googleCode": "text",
  "verifyCode": "text",
  "sendToken": "text",
  "type": 1
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 29515800,
  "msgParams": null,
  "ok": true
}

Query customer group list

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.groupList Accessible to visitors

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
objectOptional
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.groupList
POST /api/global/customer.app.CustomerWebApiService.groupList HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {
    "id": 1,
    "name": "text",
    "openAccountType": 1,
    "type": 1
  },
  "ok": true,
  "fail": true
}

Modify email (MFA) Copy

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.changeEmailMFA Accessible after login This interface: can independently choose old credential verification method

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
emailstring · max: 50Required

New Email

verifyCodeNewstringRequired

New verification code, send verification code bizType=EMAIL_COMMON_VERIFICATION_CODE

sendTokenNewstringRequired

New Verification Code Sending Ticket

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

Type: 1 Email, 2 Phone Number

verifyCodeOldstringRequired

Original verification code, used in conjunction with type, when type=1, send verification code bizType can only be EMAIL_LOGINED_VERIFICATION_CODE, type=2, bizType=SMS_LOGINED_VERIFICATION_CODE

sendTokenOldstringRequired

Original verification code sending ticket, used in conjunction with type, when type=1, send verification code bizType can only be EMAIL_LOGINED_VERIFICATION_CODE, type=2, bizType=SMS_LOGINED_VERIFICATION_CODE

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.changeEmailMFA
POST /api/global/customer.app.CustomerWebApiService.changeEmailMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 159

{
  "verifyCodeNew": "57",
  "email": "[email protected]",
  "sendTokenNew": "non",
  "verifyCodeOld": "72",
  "sendTokenOld": "velit ut officia minim non",
  "type": 1,
  "googleCode": "64"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 29515800,
  "msgParams": null,
  "ok": true
}

Modify phone (MFA) Copy

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.changePhoneMFA Accessible after login This interface: can independently choose old credential verification method

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
phoneAreastring · max: 15Required

Phone area code

phonestring · max: 50Required

Phone

verifyCodeNewstringRequired

New verification code, send verification code bizType=SMS_COMMON_VERIFICATION_CODE

sendTokenNewstringRequired

New Verification Code Sending Ticket

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

Type: 1 Email, 2 Phone Number

verifyCodeOldstringRequired

Original verification code, used in conjunction with type, when type=1, send verification code bizType can only be EMAIL_LOGINED_VERIFICATION_CODE, type=2, bizType=SMS_LOGINED_VERIFICATION_CODE

sendTokenOldstringRequired

Original verification code sending ticket, used in conjunction with type, when type=1, send verification code bizType can only be EMAIL_LOGINED_VERIFICATION_CODE, type=2, bizType=SMS_LOGINED_VERIFICATION_CODE

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.changePhoneMFA
POST /api/global/customer.app.CustomerWebApiService.changePhoneMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 185

{
  "verifyCodeNew": "12",
  "phoneArea": "19845120732",
  "sendTokenNew": "laborum Ut",
  "verifyCodeOld": "18",
  "sendTokenOld": "enim aute dolor culpa",
  "type": 1,
  "phone": "18639656874",
  "googleCode": "97"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 29515800,
  "msgParams": null,
  "ok": true
}

Modify country

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.changeCountry You can access it after logging in. If the customer has an approved KYC, the country change will be rejected. After the change is successful, all the KYCs pending for review in the country where the customer changed before will be rejected.

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
newCountrystring · max: 15Required

Country code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.changeCountry
POST /api/global/customer.app.CustomerWebApiService.changeCountry HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "newCountry": "text"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 29515800,
  "msgParams": null,
  "ok": true
}

Set fund password (MFA)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.bindAssertsPwdMFA After logging in, you can access it.

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
newPwdstring · min: 6 · max: 50Required

Password, MD5 encryption

verifyCodestringRequired

Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)

sendToken6stringRequired

Send ticket

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

Type: 1 Email, 2 Phone Number

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.bindAssertsPwdMFA
POST /api/global/customer.app.CustomerWebApiService.bindAssertsPwdMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 82

{
  "newPwd": "eu Ut sint",
  "type": 1,
  "verifyCode": "712311",
  "sendToken": "{{sendToken}}"
}
200Success
{
  "msg": "Fund password has been set",
  "fail": true,
  "trace": "x-kwm21-v8951-5vor62ft-006o-1677737070",
  "code": "CUSTOMER_API_0000133",
  "data": "customer.app.CustomerWebApiService.bindAssertsPwd",
  "bizCode": "US",
  "tm": 3851542,
  "msgParams": null,
  "ok": false
}

Reset fund password (MFA)

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.forgetAssertsPwdMFA After logging in, you can access it.

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
versionstringOptionalExample: 0.0.1
Body
newPwdstring · min: 6 · max: 50Required

Password, MD5 encryption

verifyCodestringRequired

Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)

sendTokenstringRequired

Send ticket

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

Type: 1 Email, 2 Phone Number

googleCodestringOptional

Google Verification Code

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.forgetAssertsPwdMFA
POST /api/global/customer.app.CustomerWebApiService.forgetAssertsPwdMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 82

{
  "newPwd": "eu Ut sint",
  "type": 1,
  "verifyCode": "712311",
  "sendToken": "{{sendToken}}"
}
200Success
{
  "msg": "Fund password has been set",
  "fail": true,
  "trace": "x-kwm21-v8951-5vor62ft-006o-1677737070",
  "code": "CUSTOMER_API_0000133",
  "data": "customer.app.CustomerWebApiService.bindAssertsPwd",
  "bizCode": "US",
  "tm": 3851542,
  "msgParams": null,
  "ok": false
}

Bind third-party account information

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.bindThirdAccount After logging in, you can access it.

Header parameters
versionstringOptionalExample: 0.0.1
companyIdstringOptionalExample: {{company}}
tracestringOptionalExample: {{mock_trace}}
langstringOptionalExample: zh-CN
tokenstringOptionalExample: {{LoginResult.data.token}}
Body
thirdLoginSourcestring · max: 10Required

Third-party source, telegram

thirdUserIdstring · max: 45Required

Third-party userId

thirdIntactMsgstringOptional

The complete user information obtained by the third party must be in json format

Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.bindThirdAccount
POST /api/global/customer.app.CustomerWebApiService.bindThirdAccount HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 72

{
  "thirdLoginSource": "text",
  "thirdUserId": "text",
  "thirdIntactMsg": "text"
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "x-w67a-m983h6dw-30535g-x321-1677575540",
  "code": "0",
  "data": null,
  "bizCode": "",
  "tm": 46426649,
  "msgParams": null,
  "ok": true
}

Query the balance of the account in the third-party system

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.queryLatestBalanceOfUserAccountInExternalSystem Access after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
Body
objectOptional
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.queryLatestBalanceOfUserAccountInExternalSystem
POST /api/global/customer.app.CustomerWebApiService.queryLatestBalanceOfUserAccountInExternalSystem HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {
    "amount": "text",
    "currency": "text",
    "amountDigits": "text"
  },
  "ok": true,
  "fail": true
}

Query customer's phone and email

post

version=0.0.1 bizType=customer.app.CustomerWebApiService.findPhoneAndEmail Access after login

Header parameters
companyIdstringOptionalExample: {{company}}
tokenstringOptionalExample: {{LoginResult.data.token}}
langstringOptionalExample: en-US
tracestringOptionalExample: {{mock_trace}}
Body
objectOptional
Responses
200Success
application/json
post
/global/customer.app.CustomerWebApiService.findPhoneAndEmail
POST /api/global/customer.app.CustomerWebApiService.findPhoneAndEmail HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": 1,
  "trace": "text",
  "msgParams": "text",
  "data": {
    "customerNo": "text",
    "email": "text",
    "phone": "text",
    "phoneArea": "text"
  },
  "ok": true,
  "fail": true
}

Last updated