# Customer/Basic

## First Time Setting Login Password

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.bindLoginPwd":{"post":{"summary":"First Time Setting Login Password","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.bindLoginPwd\nAccessible after login","operationId":"bindLoginPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"pwd":{"type":"string","description":"Password, MD5 encryption"},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["pwd"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Change Email

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.changeEmail":{"post":{"summary":"Change Email","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.changeEmail\nAccessible after login","operationId":"changeEmail","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"verifyCode":{"type":"string","description":"New Verification Code"},"email":{"type":"string","description":"New Email","maxLength":50},"sendToken":{"type":"string","description":"New Verification Code Sending Ticket"},"emailArea":{"type":"string","description":"New Email Area Code","maxLength":15}},"required":["verifyCode","email","sendToken","emailArea"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Change Email (MFA)

> 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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.changeEmailV1v1v2":{"post":{"summary":"Change Email (MFA)","deprecated":true,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.changeEmailV1v1v2\nAccessible after login\n\nIf 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","operationId":"changeEmailV1v1v2","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"verifyCode":{"type":"string","description":"New Verification Code"},"email":{"type":"string","description":"New Email"},"sendToken":{"type":"string","description":"New Verification Code Sending Ticket"},"emailArea":{"type":"string","description":"New Email Area Code"},"verifyCodeOld":{"type":"string","description":"Original email verification code"},"sendTokenOld":{"type":"string","description":"Original email verification code sending ticket"},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["verifyCode","email","sendToken","emailArea","verifyCodeOld","sendTokenOld"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Change phone number

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.changePhone":{"post":{"summary":"Change phone number","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.changePhone\nAccessible after login","operationId":"changePhone","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"phoneArea":{"type":"string","description":"New phone area code","maxLength":15},"phone":{"type":"string","description":"New phone number","maxLength":50},"verifyCode":{"type":"string","description":"Verification code"},"sendToken":{"type":"string","description":"Verification code sending ticket"}},"required":["phoneArea","phone","verifyCode","sendToken"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Change phone number (MFA)

> 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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.changePhoneV1v1v2":{"post":{"summary":"Change phone number (MFA)","deprecated":true,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.changePhoneV1v1v2\nAccessible after login\n\nIf the customer enables Google Authenticator (MFA), the Google Authenticator code (googleCode) in the input parameters is required,\nand the user does not need to enter the old phone number","operationId":"changePhoneV1v1v2","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"phoneArea":{"type":"string","description":"New phone number"},"phone":{"type":"string","description":"New phone number"},"verifyCode":{"type":"string","description":"New Verification Code"},"sendToken":{"type":"string","description":"New Verification Code Sending Ticket"},"verifyCodeOld":{"type":"string","description":"Old phone verification code"},"sendTokenOld":{"type":"string","description":"Old verification code sending ticket"},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["phoneArea","phone","verifyCode","sendToken","verifyCodeOld","sendTokenOld"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Check if customer information exists

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.checkCustomerExist":{"post":{"summary":"Check if customer information exists","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.checkCustomerExist\nAccessible to visitors","operationId":"checkCustomerExist","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"loginName":{"type":"string","description":"Account: Email/Phone Number"},"type":{"type":"integer","format":"int32","description":"Type: 1 Email, 2 Phone Number","minimum":1,"maximum":3},"emailArea":{"type":"string","description":"Email area code, default area code is +86"},"phoneArea":{"type":"string","description":"Phone area code, default area code is +86"}},"required":["type","loginName"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"integer","format":"int32","description":"Data body, 1 exists, 2 does not exist"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

## Customer cancellation

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.destroy":{"post":{"summary":"Customer cancellation","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.destroy\nAccessible after login","operationId":"destroy","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"remark":{"type":"string","description":"Cancellation remarks"}}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Google verification code binding and unbinding

> version=0.0.1\
> bizType=customer.app.CustomerWebApiService.enableOrForbidMFA\
> Accessible after login\
> \<b style="color:red">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\</b>

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.enableOrForbidMFA":{"post":{"summary":"Google verification code binding and unbinding","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.enableOrForbidMFA\nAccessible after login\n<b style=\"color:red\">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</b>","operationId":"enableOrForbidMFA","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnableOrForbidMFADTO"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"EnableOrForbidMFADTO":{"type":"object","required":["googleId","type"],"properties":{"lang":{"type":"string","description":"Language Information"},"customerNo":{"type":"string","description":"Client number"},"id":{"type":"integer","format":"int64","description":"Client Id"},"verifyCodeSMS":{"type":"string","description":"Email Verification Code"},"sendTokenSMS":{"type":"string","description":"Email verification code sending ticket"},"verifyCodeEmail":{"type":"string","description":"Mobile Verification Code"},"sendTokenEmail":{"type":"string","description":"Mobile verification code sent ticket"},"googleCode":{"type":"string","description":"Google Verification Code"},"type":{"type":"integer","format":"int32","description":"Type, 1 Enable 2 Disable","minimum":1,"maximum":2},"googleId":{"type":"integer","format":"int64","description":"Google ID","minimum":1}}},"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Query customer information

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.findCustomerInfo":{"post":{"summary":"Query customer information","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.findCustomerInfo\nAccess after login","operationId":"findCustomerInfo","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{"id":{"type":"integer","format":"int64","description":"Customer ID"},"companyId":{"type":"integer","format":"int64","description":"Company"},"customerGroupId":{"type":"integer","format":"int64","description":"Customer group"},"customerNo":{"type":"string","description":"Customer account"},"kycAuditStatus":{"type":"integer","format":"int32","description":"Registration KYC audit status: 0 uncertified, jump to certification page, 1 pending review, 2 review passed, 3 review failed"},"kycAuditRemark":{"type":"string","description":"Registration KYC audit remarks, not empty if rejected"},"kycStatus":{"type":"integer","format":"int32","description":"KYC status, consistent with kycRemark: 1=unverified, 2=under review, 3=authentication failed, 4=authenticated, -1=''"},"kycRemark":{"type":"string","description":"KYC status name (1, \"unverified\", \"KYC configured but not submitted\"), (2, \"under review\", \"KYC configured and under review, at least one level under review\"), (3, \"authentication failed\", \"KYC configured and submitted KYC rejected, at least one level rejected\"), (4, \"authenticated\", \"KYC configured and all levels authenticated\"), (-1, \"\", \"KYC configured, multiple levels, partially authenticated\")"},"accountList":{"type":"object","description":"Trading Account List","properties":{}},"accountRemark":{"type":"string","description":"Whether the customer has a trading account note"},"loginPassStatus":{"type":"string","description":"Set password reminder flag, 1 for password required, 2 for not required"},"payPassStatus":{"type":"string","description":"Payment password existence status, 1 for non-existent, 2 for existent"},"email":{"type":"string","description":"Email"},"phone":{"type":"string","description":"Phone"},"phoneArea":{"type":"string","description":"Phone area code"},"name":{"type":"string","description":"Name"},"country":{"type":"string","description":"Country"},"type":{"type":"integer","format":"int32","description":"Group type <0 real, 1 demo, 2 guest>"},"deposit":{"type":"integer","format":"int32","description":"Depositable, 1 for depositable"},"withdraw":{"type":"integer","format":"int32","description":"Withdrawable, 1 for withdrawable"},"optional":{"type":"integer","format":"int32","description":"Customized flag 0 not added 1 added"},"activateStatus":{"type":"integer","format":"int32","description":"Activation status, 0 not activated, 1 activated"},"activateTime":{"type":"integer","format":"int64","description":"Activation time"},"companyKycStatus":{"type":"integer","format":"int32","description":"Company KYC account opening status, 1 for opened, 2 for not opened"},"status":{"type":"integer","format":"int32","description":"Status: 1 normal, 2 disabled, 3 deleted, 4 closed, 5 locked, 6 closing"},"thirdServerCode":{"type":"string","description":"Unique identifier from third-party system"},"source":{"type":"string","description":"Source"},"thirdLoginSource":{"type":"string","description":"Third-party login sources google, facebook, twitter"},"thirdUserId":{"type":"string","description":"Third-party userId"},"idCard":{"type":"string","description":"ID number"},"idCardType":{"type":"string","description":"ID type"},"thirdIntactMsg":{"type":"string","description":"Third-party login complete data"},"firstName":{"type":"string","description":"First name"},"lastName":{"type":"string","description":"Last name"},"isFund":{"type":"integer","format":"int32","description":"Whether a fund manager, 1 is yes, default 0 is no"},"assertPassStatus":{"type":"string","description":"Set fund password reminder flag, 1 requires setting password, 2 does not require"},"googleId":{"type":"integer","format":"int64","description":"Whether to enable MFA, greater than 0, enabled, otherwise not enabled"},"openAccountType":{"type":"integer","format":"int32","description":"Account type: 0. Individual 1. Enterprise "},"loginTime":{"type":"integer","format":"int64","description":"Login time"},"createTime":{"type":"integer","format":"int64","description":"Creation time"},"relationCustomerId":{"type":"integer","format":"int64","description":"Associated account id"},"companyType":{"type":"string","description":"Company type"},"registerSource":{"type":"integer","format":"int32","description":"Registration source"},"associationCompanyId":{"type":"integer","format":"int64","description":"Associated company Id"},"registerTime":{"type":"integer","format":"int64","description":"Registration Time"},"utmSource":{"type":"string","description":"Advertising Source"},"forceLevel":{"type":"object","description":"Force Liquidation Level","properties":{}},"earlyWarningLevel":{"type":"object","description":"Warning Level","properties":{}},"withdrawLevel":{"type":"object","description":"Withdrawal Level","properties":{}},"postalCode":{"type":"string","description":"Postal Code"},"customerAgentMark":{"type":"string","description":"Customer Agent Identifier"},"apiCheckSwitch":{"type":"boolean","description":"API Verification Switch","title":"API Verification Switch"},"apiCheckRule":{"type":"string","description":"API Verification Rules. 1-Email; 2-SMS; 3-Google NFA; Enable multiple verifications at the same time, separated by commas.","title":"API Verification Rules. 1-Email; 2-SMS; 3-Google NFA; Enable multiple verifications at the same time, separated by commas."}}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

## Forget fund password

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.forgetAssertsPwd":{"post":{"summary":"Forget fund password","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.forgetAssertsPwd\nAccessible after login","operationId":"forgetAssertsPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"phoneArea":{"type":"string","description":"Phone area code; when 'type' is 2: mobile phone number, this field is required; not specified, default is +86"},"loginName":{"type":"string","description":"Account: Email/Phone Number"},"type":{"type":"integer","format":"int32","description":"Type: 1 Email, 2 Phone Number","minimum":1,"maximum":3},"newPwd":{"type":"string","description":"New password, MD5 encryption","minLength":6,"maxLength":50},"verifyCode":{"type":"string","description":"Verification code"},"sendToken":{"type":"string","description":"Send ticket"},"verifyCodeToken":{"type":"string","description":"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"}},"required":["newPwd","type","loginName","verifyCode","sendToken","verifyCodeToken"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Forget fund password (MFA)

> 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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.forgetAssertsPwdV1v1v2":{"post":{"summary":"Forget fund password (MFA)","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.forgetAssertsPwdV1v1v2\nAccessible after login\n\nIf 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","operationId":"forgetAssertsPwdV1v1v2","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"newPwd":{"type":"string","description":"New password, MD5 encryption","minLength":5,"maxLength":50},"verifyCode":{"type":"string","description":"Verification code"},"sendToken":{"type":"string","description":"Send ticket"},"type":{"type":"integer","format":"int32","description":"Type: 1 Email, 2 Phone Number","minimum":1,"maximum":3},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["newPwd","type","verifyCode","sendToken"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Forgot Login Password

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.forgetLoginPwd":{"post":{"summary":"Forgot Login Password","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.forgetLoginPwd\nGuest Accessible","operationId":"forgetLoginPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"loginName":{"type":"string","description":"Account: Email/Phone Number"},"phoneArea":{"type":"string","description":"Phone area code, default area code is +86"},"type":{"type":"integer","format":"int32","description":"Type: 1 Email, 2 Phone Number","minimum":1,"maximum":3},"newPwd":{"type":"string","description":"New password, MD5 encryption"},"verifyCode":{"type":"string","description":"Verification code"},"sendToken":{"type":"string","description":"Send ticket"},"verifyCodeToken":{"type":"string","description":"Validate Ticket"},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["newPwd","type","loginName","verifyCodeToken","sendToken","verifyCode"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Set Fund Password for the First Time

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.bindAssertsPwd":{"post":{"summary":"Set Fund Password for the First Time","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.bindAssertsPwd\nAccessible after login","operationId":"bindAssertsPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"pwd":{"type":"string","description":"Password, MD5 encryption"},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["pwd"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Bind Email

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.bindEmail":{"post":{"summary":"Bind Email","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.bindEmail\nAccess after login","operationId":"bindEmail","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"verifyCode":{"type":"string","description":"Verification code"},"email":{"type":"string","description":"Email","maxLength":50},"sendToken":{"type":"string","description":"Verification code sending ticket"},"emailArea":{"type":"string","description":"Email Area Code","maxLength":15},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["verifyCode","email","sendToken","emailArea"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Bind mobile phone number

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.bindPhone":{"post":{"summary":"Bind mobile phone number","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.bindPhone\nAccessible after login","operationId":"bindEmail","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"verifyCode":{"type":"string","description":"Verification code"},"sendToken":{"type":"string","description":"Verification code sending ticket"},"googleCode":{"type":"string","description":"Google Verification Code"},"phone":{"type":"string","description":"Phone Number","maxLength":50},"phoneArea":{"type":"string","description":"Phone area code","maxLength":15}},"required":["verifyCode","phone","sendToken","phoneArea"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Switch language

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.changeLang":{"post":{"summary":"Switch language","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.changeLang\nAccessible after login","operationId":"changeLang","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"newLang":{"type":"string","description":"Language Information"}},"required":["newLang"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Query customer language

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.findCustomerLang":{"post":{"summary":"Query customer language","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.findCustomerLang\nAccessible after login","operationId":"changeLang","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{},"description":"Language Information"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

## Modify Customer Communication Address and Postal Code

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.changeCustomerAddressAndPostalCode":{"post":{"summary":"Modify Customer Communication Address and Postal Code","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.changeCustomerAddressAndPostalCode\nAccessible after login","operationId":"changeLang","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Communication Address"},"postalCode":{"type":"string","description":"Postal Code"}},"required":["postalCode","address"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{},"description":"Language Information"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

## First set phone number (TG)

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.firstSetPhone":{"post":{"summary":"First set phone number (TG)","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.firstSetPhone\nAccessible after login","operationId":"changeLang","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"phoneArea":{"type":"string","description":"Phone area code","maxLength":15},"phone":{"type":"string","description":"Phone","maxLength":50},"verifyCode":{"type":"string","description":"Mobile verification code, send verification code bizType=SMS_COMMON_VERIFICATION_CODE"},"sendToken":{"type":"string","description":"Mobile verification code sent ticket"},"thirdSource":{"type":"string","description":"Third-party source: telegram"},"verifyCodeThirdType":{"type":"string","description":"Third-party verification code, used in conjunction with thirdSource, when thirdSource=telegram, the verification code bizType can only be SMS_TELEGRAM_VERIFICATION_CODE","title":""},"sendTokenThirdType":{"type":"string","description":"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"}},"required":["verifyCode","phoneArea","sendToken","verifyCodeThirdType","sendTokenThirdType","thirdSource","phone"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{},"description":"Language Information"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

## First Time Setting Email (TG)

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.firstSetEmail":{"post":{"summary":"First Time Setting Email (TG)","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.firstSetEmail\nAccessible after login","operationId":"changeLang","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"Email","maxLength":50},"verifyCode":{"type":"string","description":"Email verification code, send verification code bizType=SMS_COMMON_VERIFICATION_CODE"},"sendToken":{"type":"string","description":"Email verification code sending ticket"},"thirdSource":{"type":"string","description":"Third-party source: telegram"},"verifyCodeThirdType":{"type":"string","description":"Third-party verification code, used in conjunction with thirdSource, when thirdSource=telegram, the verification code bizType can only be SMS_TELEGRAM_VERIFICATION_CODE","title":""},"sendTokenThirdType":{"type":"string","description":"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"}},"required":["verifyCode","sendToken","verifyCodeThirdType","sendTokenThirdType","thirdSource","email"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{},"description":"Language Information"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

## First Time Setting Login Password (TG)

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.firstTimeSettingLoginPassword":{"post":{"summary":"First Time Setting Login Password (TG)","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.firstTimeSettingLoginPassword\nAccessible after login","operationId":"changeLang","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"newPwd":{"type":"string","description":"Password, MD5 encryption","minLength":32,"maxLength":32},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["newPwd"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{},"description":"Language Information"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

## Query Customer 3rd Party Binding Information

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.findThirdAccountInfo":{"post":{"summary":"Query Customer 3rd Party Binding Information","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.findThirdAccountInfo\nAccess after login","operationId":"changeLang","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{"customerNo":{"type":"string","description":"Customer account"},"thirdLoginSource":{"type":"string","description":"Third-party sources, multiple comma-separated, google, facebook, twitter "},"thirdUserId":{"type":"string","description":"Third-party userId, multiple comma-separated, in the same order as thirdLoginSource"},"thirdIntactMsg":{"type":"string","description":"Complete user information obtained from third-party"},"tgStatus":{"type":"string","description":"TG Bot Subscription Status, SUBSCRIBE=Subscribed, UNSUBSCRIBE=Unsubscribed"}},"description":"Data Body"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

## Check if the customer has enabled GoogleMFA

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.checkGoogleMFAStatus":{"post":{"summary":"Check if the customer has enabled GoogleMFA","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.checkGoogleMFAStatus\nGuest access","operationId":"checkGoogleMFAStatus","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"loginName":{"type":"string","description":"Account: Email/Phone Number"},"phoneArea":{"type":"string","description":"Area code, default area code is +86"},"type":{"type":"integer","format":"int32","description":"Type: 1 Email, 2 Phone Number","minimum":1,"maximum":3}},"required":["type","phoneArea"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Response body, greater than 0 means enabled, otherwise not enabled","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

## Check customer status

> 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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.checkStatus":{"post":{"summary":"Check customer status","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.checkStatus\nDetermine customer status: 1 exists, 2 does not exist, -1 customer is disabled\nThis interface requires login","operationId":"checkStatus","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"loginName":{"type":"string","description":"Account: Email/Phone Number"},"type":{"type":"integer","format":"int32","description":"Type: 1 Email, 2 Phone Number","minimum":1,"maximum":3}},"required":["type"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResultCustomerStatusVO"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResultCustomerStatusVO":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"$ref":"#/components/schemas/CustomerStatusVO"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}},"CustomerStatusVO":{"type":"object","properties":{"status":{"type":"integer","format":"int32","description":"Whether the customer exists, 1 exists, 2 does not exist, -1 disabled"},"country":{"type":"string","description":"Country"},"phoneArea":{"type":"string","description":"Phone area code"}}}}}}
```

## Query account asset information (leverage)

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.queryAccountAssetsInfo":{"post":{"summary":"Query account asset information (leverage)","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.queryAccountAssetsInfo\nAccessible after login","operationId":"queryAccountAssetsInfo","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"tradeType":{"type":"integer","format":"int64","description":"Play Id, 3-CROSS; 5-MATCH;","minimum":1},"accountId":{"type":"integer","format":"int64","description":"Account Id, at least one of accountCurrency must exist"},"accountCurrency":{"type":"string","description":"Account currency and accountCurrency must exist at least one"}},"required":["tradeType"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Real-time account fund information

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.queryAccountById":{"post":{"summary":"Real-time account fund information","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.queryAccountById\nAccessible after login","operationId":"queryAccountById","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"tradeType":{"type":"integer","format":"int64","description":"Play Id, 1-CFD_MM; 2-CFD_WBW; 3-CROSS; 5-MATCH;","minimum":1},"accountId":{"type":"integer","format":"int64","description":"Account Id, at least one of currency must exist"},"currency":{"type":"string","description":"Opening currency, at least one of accountId must exist"}},"required":["tradeType"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{"companyId":{"type":"integer","description":"Company ID"},"tradeType":{"type":"integer","description":"Game ID"},"customerId":{"type":"integer","description":"Buyer system unique customer identifier"},"customerNo":{"type":"string","description":"Buyer company unique customer code"},"accountId":{"type":"integer","description":"System unique account identifier"},"type":{"type":"integer","description":"Account classification (1-user, 2-merchant, 3-platform)"},"status":{"type":"integer","description":"Account status (1-not available, 2-available)"},"activateStatus":{"type":"integer","description":"Activation status (1-not available, 2-available)"},"activateTime":{"type":"integer","description":"Activation time"},"remark":{"type":"string","description":"Remarks"},"currency":{"type":"string","description":"Account currency"},"digits":{"type":"integer","description":"Funds decimal places"},"withdrawAmount":{"type":"string","description":"Available amount"},"createTime":{"type":"integer","description":"Account opening time"},"firstDepositTime":{"type":"integer","description":"First deposit time"},"firstWithdrawTime":{"type":"integer","description":"First withdrawal time"},"assetsId":{"type":"integer","description":"Account currency id"},"balance":{"type":"string","description":"Balance"},"available":{"type":"string","description":"Available"},"equity":{"type":"string","description":"Net Value"},"lockAmount":{"type":"string","description":"Balance lock"},"profit":{"type":"string","description":"Real-time profit and loss"},"margin":{"type":"string","description":"Real-time margin used"},"notWithdrawAmount":{"type":"string","description":"Frozen withdrawable amount"},"freeMargin":{"type":"string","description":"Real-time available margin"},"lockMargin":{"type":"string","description":"Margin in use"},"liabilities":{"type":"string","description":"Total liabilities"},"liabilitiesPrincipal":{"type":"string","description":"Liabilities - Principal"},"interest":{"type":"string","description":"Interest"},"netAssets":{"type":"string","description":"Net assets"},"frozen":{"type":"string","description":"Frozen"},"collateralFrozen":{"type":"string","description":"Collateral frozen"},"availableLoan":{"type":"string","description":"Available to borrow"},"interestProportion":{"type":"string","description":"Daily interest rate"},"marginRadio":{"type":"string","description":"Margin ratio"},"wholeWarehouseBalance":{"type":"string","description":"Estimated value of account assets"},"wholeWarehouseRate":{"type":"string","description":"Exchange rate of account assets"},"openAccountStatus":{"type":"boolean","description":"Account status"}},"required":["companyId","tradeType","accountId","customerNo","type","status","activateStatus","activateTime","remark","createTime","firstDepositTime","firstWithdrawTime","assetsId","currency","digits","balance","available","equity","withdrawAmount","lockAmount","profit","margin","notWithdrawAmount","freeMargin","lockMargin","liabilities","liabilitiesPrincipal","interest","netAssets","frozen","collateralFrozen","availableLoan","interestProportion","marginRadio","customerId","wholeWarehouseBalance","wholeWarehouseRate","openAccountStatus"],"description":"Data Body"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}},"required":["data"]}}},"headers":{}}}}}}}
```

## Query customer assets

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.queryCustomerAssets":{"post":{"summary":"Query customer assets","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.queryCustomerAssets\nAccessible after login","operationId":"queryCustomerAssets","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"tradeType":{"type":"integer","format":"int64","description":"Game ID"}}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{"assetsId":{"type":"integer","description":"Asset ID"},"currency":{"type":"string","description":"Asset code"},"digits":{"type":"integer","description":"Funds decimal places"},"balance":{"type":"string","description":"Balance"}},"required":["assetsId","currency","digits","balance"],"description":"Data Body"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}},"required":["data"]}}},"headers":{}}}}}}}
```

## Customer total asset information (does not support contract gameplay)

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.queryCustomerAssetsInfo":{"post":{"summary":"Customer total asset information (does not support contract gameplay)","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.queryCustomerAssetsInfo\nAccessible after login","operationId":"queryCustomerAssetsInfo","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"tradeType":{"type":"integer","format":"int64","description":"Gameplay ID, 3-CROSS; 5-MATCH; 8-WALLET; (does not support contract gameplay)","minimum":1},"accountCurrency":{"type":"string","description":"Account currency, separated by ',' between multiple assets. E.g.: USD, CNY. If not provided, all will be returned by default"}},"required":["tradeType"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string"},"data":{"type":"object","properties":{"currency":{"type":"string","description":"Total account calculation currency"},"digits":{"type":"integer","description":"Funds decimal places"},"totalAvailable":{"type":"string","description":"Total available (total assets - total frozen)"},"closeProportion":{"type":"string","description":"Risk rate (percentage)"},"riskLevel":{"type":"integer","description":"Risk level"},"totalBalance":{"type":"string","description":"Total assets"},"totalLiabilities":{"type":"string","description":"Total liabilities (total liabilities - principal + total interest)"},"companyId":{"type":"integer","description":"Company ID"},"totalNetAssets":{"type":"string","description":"Total Net Assets (Total Assets - Total Liabilities)"},"totalInterest":{"type":"string","description":"Total Interest"},"tradeType":{"type":"integer","description":"Game ID"},"customerNo":{"type":"string","description":"Client number"},"totalLiabilitiesPrincipal":{"type":"string","description":"Total Liabilities - Principal"},"accountInfoMap":{"type":"object","properties":{"companyId":{"type":"integer","description":"Company ID"},"tradeType":{"type":"integer","description":"Game ID"},"accountId":{"type":"integer","description":"System unique account identifier"},"customerNo":{"type":"string","description":"Buyer company unique customer code"},"type":{"type":"integer","description":"Account classification (1-user, 2-merchant, 3-platform)"},"status":{"type":"integer","description":"Account status (1-not available, 2-available)"},"activateStatus":{"type":"integer","description":"Activation status (1-not available, 2-available)"},"activateTime":{"type":"integer","description":"Activation time"},"remark":{"type":"string","description":"Remarks"},"createTime":{"type":"integer","description":"Account opening time"},"firstDepositTime":{"type":"integer","description":"First deposit time"},"firstWithdrawTime":{"type":"integer","description":"First withdrawal time"},"assetsId":{"type":"integer","description":"Account currency id"},"currency":{"type":"string","description":"Account currency"},"digits":{"type":"integer","description":"Funds decimal places"},"balance":{"type":"string","description":"Balance"},"available":{"type":"string","description":"Available"},"equity":{"type":"string","description":"Net Value"},"withdrawAmount":{"type":"string","description":"Available amount"},"lockAmount":{"type":"string","description":"Balance lock"},"profit":{"type":"string","description":"Real-time profit and loss"},"margin":{"type":"string","description":"Real-time margin used"},"notWithdrawAmount":{"type":"string","description":"Frozen withdrawable amount"},"freeMargin":{"type":"string","description":"Real-time available margin"},"lockMargin":{"type":"string","description":"Margin in use"},"liabilities":{"type":"string","description":"Total liabilities"},"liabilitiesPrincipal":{"type":"string","description":"Liabilities - Principal"},"interest":{"type":"string","description":"Interest"},"netAssets":{"type":"string","description":"Net assets"},"frozen":{"type":"string","description":"Frozen"},"collateralFrozen":{"type":"string","description":"Collateral frozen"},"availableLoan":{"type":"string","description":"Available to borrow"},"interestProportion":{"type":"string","description":"Daily interest rate"},"marginRadio":{"type":"string","description":"Margin ratio"},"customerId":{"type":"integer","description":"Buyer system unique customer identifier"},"wholeWarehouseBalance":{"type":"string","description":"Exchange Account Asset Estimated Price. This value only exists in gameplay 5 (added in v2.2.1)"},"wholeWarehouseRate":{"type":"string","description":"Exchange Account Asset Exchange Rate. This value only exists in gameplay 5 (added in v2.2.1)"},"openAccountStatus":{"type":"boolean","description":"Account status"},"formulaSymbol":{"type":"string","title":"Exchange Rate Calculation Direction","description":"multiply-Multiply; divide-Divide; This value only exists in gameplay 5 (added in v2.2.1)"}},"description":"Attached Account Information. Key is Asset Code"}},"required":["accountInfoMap","totalAvailable","closeProportion","riskLevel","totalBalance","totalLiabilities","companyId","totalNetAssets","currency","digits","totalInterest","tradeType","customerNo","totalLiabilitiesPrincipal"],"description":"Data Body"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}},"required":["data","msg","trace","code","bizCode","tm","msgParams"]}}},"headers":{}}}}}}}
```

## Borrowing and repayment flow list (leverage)

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.queryLiabilitiesWaterByPage":{"post":{"summary":"Borrowing and repayment flow list (leverage)","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.queryLiabilitiesWaterByPage\nAccessible after login","operationId":"queryLiabilitiesWaterByPage","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"size":{"type":"integer","format":"int64","description":"Number of Items per Page"},"current":{"type":"integer","format":"int64","description":"Current Page"},"tradeType":{"type":"integer","format":"int64","description":"Game ID","minimum":1},"liabilitiesType":{"type":"integer","format":"int32","description":"1-Loan; 2-Repayment"},"startTime":{"type":"integer","format":"int64","description":"Start Time"},"endTime":{"type":"integer","format":"int64","description":"End Time"},"accountId":{"type":"integer","format":"int64","description":"Account Id"},"assetsId":{"type":"integer","format":"int64","description":"Asset ID"}},"required":["tradeType"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{"total":{"type":"integer","description":"Total"},"size":{"type":"integer","description":"Number of Items per Page"},"current":{"type":"integer","description":"Current Page"},"records":{"type":"object","properties":{"id":{"type":"integer","description":"Flow ID"},"accountId":{"type":"integer","description":"Account Id"},"remark":{"type":"string","description":"Remarks"},"createdBy":{"type":"integer","description":"Creator"},"createTime":{"type":"integer","description":"Creation date"},"updateBy":{"type":"integer","description":"Updater"},"updateTime":{"type":"integer","description":"Update Time"},"businessType":{"type":"integer","description":"Business type. Leverage: 19-Automatic loan; 20-Manual loan; 21-Automatic repayment; 22-Manual repayment; 23-Loan interest; 35-Backend repayment; 40-Force liquidation repayment; ABCC: 29-Automatic loan; 30-Manual loan; 31-Automatic repayment; 32-Manual repayment; 33-Loan interest; 34-Backend repayment; 41-Force liquidation repayment;"},"businessType1":{"type":"integer","description":"Business sub-type. Leverage: 19001-Loan principal; 20001-Loan principal; 21001-Repayment principal; 21002-Repayment interest; 22001-Repayment principal; 22002-Repayment interest; 23001-Loan interest; 35001-Repayment principal; 35002-Repayment interest; 40001-Force liquidation return principal; 40002-Force liquidation return interest; ABCC: 29001-Loan principal; 30001-Loan principal; 31001-Repayment principal; 31002-Repayment interest; 32001-Repayment principal; 32002-Repayment interest; 33001-Loan interest; 34001-Repayment principal; 34002-Repayment interest; 41001-Force liquidation return principal; 41002-Force liquidation return interest;"},"customerNo":{"type":"string","description":"Customer Code"},"digits":{"type":"integer","description":"Decimal Places"},"liabilitiesPrincipal":{"type":"string","description":"Debt_Principal"},"interest":{"type":"string","description":"Interest"},"interestUpdateTime":{"type":"integer","description":"Last update time of interest"},"currency":{"type":"string","description":"Asset code"},"liabilities":{"type":"string","description":"Debt"}},"required":["id","accountId","remark","createdBy","createTime","updateBy","updateTime","businessType","businessType1","customerNo","digits","liabilitiesPrincipal","interest","interestUpdateTime","currency","liabilities"],"description":"List"}},"required":["records","total","size","current"],"description":"Data Body"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}},"required":["data"]}}},"headers":{}}}}}}}
```

## Modify fund password

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.updateAssertsPwd":{"post":{"summary":"Modify fund password","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.updateAssertsPwd\nAccessible after login","operationId":"updateAssertsPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"oldPwd":{"type":"string","description":"Old password, MD5 encryption"},"newPwd":{"type":"string","description":"New password, MD5 encryption"},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["newPwd","oldPwd"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Modify fund password (MFA)

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.updateAssertsPwdMFA":{"post":{"summary":"Modify fund password (MFA)","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.updateAssertsPwdMFA\nAccessible after login","operationId":"updateAssertsPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"oldPwd":{"type":"string","description":"Old password, MD5 encryption","minLength":6,"maxLength":50},"newPwd":{"type":"string","description":"New password, MD5 encryption","minLength":6,"maxLength":50},"googleCode":{"type":"string","description":"Google Verification Code"},"verifyCode":{"type":"string","description":"Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)"},"sendToken":{"type":"string","description":"Send ticket"},"type":{"type":"integer","description":"Type: 1 Email, 2 Phone Number","format":"int32","minimum":1,"maximum":2}},"required":["newPwd","oldPwd","verifyCode","sendToken","type"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Modify login password

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.updateLoginPwd":{"post":{"summary":"Modify login password","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.updateLoginPwd\nAccessible after login","operationId":"updateLoginPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"oldPwd":{"type":"string","description":"Old password, MD5 encryption"},"newPwd":{"type":"string","description":"New password, MD5 encryption"},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["newPwd","oldPwd"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Modify login password (MFA)

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.updateLoginPwdMFA":{"post":{"summary":"Modify login password (MFA)","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.updateLoginPwdMFA\nAccessible after login","operationId":"updateAssertsPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"oldPwd":{"type":"string","description":"Old password, MD5 encryption","minLength":6,"maxLength":50},"newPwd":{"type":"string","description":"New password, MD5 encryption","minLength":6,"maxLength":50},"googleCode":{"type":"string","description":"Google Verification Code"},"verifyCode":{"type":"string","description":"Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)"},"sendToken":{"type":"string","description":"Send ticket"},"type":{"type":"integer","description":"Type: 1 Email, 2 Phone Number","format":"int32","minimum":1,"maximum":2}},"required":["newPwd","oldPwd","verifyCode","sendToken","type"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Query customer group list

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.groupList":{"post":{"summary":"Query customer group list","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.groupList\nAccessible to visitors","operationId":"updateLoginPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{"id":{"type":"integer","description":"Customer group ID"},"name":{"type":"string","description":"Customer Group Name"},"openAccountType":{"type":"integer","description":"Is it an account opening group, 1 for yes, 0 for no"},"type":{"type":"integer","description":"Customer group type, 0 for real, 1 for test, 2 for guest"}}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

## Modify email (MFA) Copy

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.changeEmailMFA":{"post":{"summary":"Modify email (MFA) Copy","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.changeEmailMFA\nAccessible after login\nThis interface: can independently choose old credential verification method","operationId":"updateAssertsPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"New Email","maxLength":50},"verifyCodeNew":{"type":"string","description":"New verification code, send verification code bizType=EMAIL_COMMON_VERIFICATION_CODE"},"sendTokenNew":{"type":"string","description":"New Verification Code Sending Ticket"},"type":{"type":"integer","description":"Type: 1 Email, 2 Phone Number","format":"int32","minimum":1,"maximum":2},"verifyCodeOld":{"type":"string","description":"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","title":""},"sendTokenOld":{"type":"string","description":"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"},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["verifyCodeNew","email","sendTokenNew","verifyCodeOld","sendTokenOld","type"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Modify phone (MFA) Copy

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.changePhoneMFA":{"post":{"summary":"Modify phone (MFA) Copy","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.changePhoneMFA\nAccessible after login\nThis interface: can independently choose old credential verification method","operationId":"updateAssertsPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"phoneArea":{"type":"string","description":"Phone area code","maxLength":15},"phone":{"type":"string","description":"Phone","maxLength":50},"verifyCodeNew":{"type":"string","description":"New verification code, send verification code bizType=SMS_COMMON_VERIFICATION_CODE"},"sendTokenNew":{"type":"string","description":"New Verification Code Sending Ticket"},"type":{"type":"integer","description":"Type: 1 Email, 2 Phone Number","format":"int32","minimum":1,"maximum":2},"verifyCodeOld":{"type":"string","description":"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","title":""},"sendTokenOld":{"type":"string","description":"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"},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["verifyCodeNew","phoneArea","sendTokenNew","verifyCodeOld","sendTokenOld","type","phone"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Modify country

> 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.

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.changeCountry":{"post":{"summary":"Modify country","deprecated":false,"description":"version=0.0.1 bizType=customer.app.CustomerWebApiService.changeCountry \nYou can access it after logging in.\nIf the customer has an approved KYC, the country change will be rejected.\nAfter the change is successful, all the KYCs pending for review in the country where the customer changed before will be rejected.","operationId":"updateAssertsPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"newCountry":{"type":"string","description":"Country code","maxLength":15}},"required":["newCountry"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Set fund password (MFA)

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.bindAssertsPwdMFA":{"post":{"summary":"Set fund password (MFA)","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.bindAssertsPwdMFA\nAfter logging in, you can access it.","operationId":"bindAssertsPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"newPwd":{"type":"string","description":"Password, MD5 encryption","minLength":6,"maxLength":50},"verifyCode":{"type":"string","description":"Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)"},"sendToken6":{"type":"string","description":"Send ticket"},"type":{"type":"integer","format":"int32","description":"Type: 1 Email, 2 Phone Number","minimum":1,"maximum":3},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["newPwd","type","verifyCode","sendToken6"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Reset fund password (MFA)

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.forgetAssertsPwdMFA":{"post":{"summary":"Reset fund password (MFA)","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.forgetAssertsPwdMFA\nAfter logging in, you can access it.","operationId":"bindAssertsPwd","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"newPwd":{"type":"string","description":"Password, MD5 encryption","minLength":6,"maxLength":50},"verifyCode":{"type":"string","description":"Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)"},"sendToken":{"type":"string","description":"Send ticket"},"type":{"type":"integer","format":"int32","description":"Type: 1 Email, 2 Phone Number","minimum":1,"maximum":3},"googleCode":{"type":"string","description":"Google Verification Code"}},"required":["newPwd","type","verifyCode","sendToken"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResult1"}}},"headers":{}}}}}},"components":{"schemas":{"BaseResult1":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}}}
```

## Bind third-party account information

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.bindThirdAccount":{"post":{"summary":"Bind third-party account information","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.bindThirdAccount\nAfter logging in, you can access it.","tags":["Customer/Basic"],"parameters":[{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"thirdLoginSource":{"type":"string","maxLength":10,"description":"Third-party source, telegram"},"thirdUserId":{"type":"string","description":"Third-party userId","maxLength":45},"thirdIntactMsg":{"type":"string","description":"The complete user information obtained by the third party must be in json format"}},"required":["thirdLoginSource","thirdUserId"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","description":"Data Body","properties":{}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

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

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.queryLatestBalanceOfUserAccountInExternalSystem":{"post":{"summary":"Query the balance of the account in the third-party system","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.queryLatestBalanceOfUserAccountInExternalSystem\nAccess after login","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{"amount":{"type":"string","description":"Balance of the third-party account"},"currency":{"type":"string","description":"Currency"},"amountDigits":{"type":"string","description":"Decimal places for account balance"}},"description":"Data Body"},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```

## Query customer's phone and email

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

```json
{"openapi":"3.0.1","info":{"title":"Default module","version":"1.0.0"},"tags":[{"name":"Customer/Basic"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/customer.app.CustomerWebApiService.findPhoneAndEmail":{"post":{"summary":"Query customer's phone and email","deprecated":false,"description":"version=0.0.1\nbizType=customer.app.CustomerWebApiService.findPhoneAndEmail\nAccess after login","tags":["Customer/Basic"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"token","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","description":"Module identifier code"},"code":{"type":"string","description":"Status return code"},"msg":{"type":"string","description":"Status description"},"tm":{"type":"integer","format":"int64","description":"Processing time (milliseconds)"},"trace":{"type":"string","description":"Tracking code"},"msgParams":{"type":"string","description":"Placeholder parameter string in return description, multiple parameters separated by commas"},"data":{"type":"object","properties":{"customerNo":{"type":"string","description":"Customer account"},"email":{"type":"string","description":"Email"},"phone":{"type":"string","description":"Phone"},"phoneArea":{"type":"string","description":"Phone area code"}}},"ok":{"type":"boolean"},"fail":{"type":"boolean"}}}}},"headers":{}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.multimarkets.org/client-api/more.../customer-basic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
