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
200Success

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
200Success
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
200Success

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
200Success
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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

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
200Success

Last updated