Customer/Basic
version=0.0.1 bizType=customer.app.CustomerWebApiService.bindLoginPwd Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Password, MD5 encryption
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.bindLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"pwd": "text",
"googleCode": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.changeEmail Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1New Verification Code
New Email
New Verification Code Sending Ticket
New Email Area Code
POST /api/global/customer.app.CustomerWebApiService.changeEmail HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"verifyCode": "text",
"email": "text",
"sendToken": "text",
"emailArea": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}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
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1New Verification Code
New Email
New Verification Code Sending Ticket
New Email Area Code
Original email verification code
Original email verification code sending ticket
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.changeEmailV1v1v2 HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"verifyCode": "text",
"email": "text",
"sendToken": "text",
"emailArea": "text",
"verifyCodeOld": "text",
"sendTokenOld": "text",
"googleCode": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.changePhone Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1New phone area code
New phone number
Verification code
Verification code sending ticket
POST /api/global/customer.app.CustomerWebApiService.changePhone HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"phoneArea": "text",
"phone": "text",
"verifyCode": "text",
"sendToken": "text"
}{
"msg": "Verification code is not correct",
"fail": true,
"trace": "x-42hi-b8f2ag18-x89u-k23y1r1b-1677738250",
"code": "CUSTOMER_API_0000511",
"data": "customer.app.CustomerWebApiService.changePhone",
"bizCode": "US",
"tm": 15861690,
"msgParams": null,
"ok": false
}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
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1New phone number
New phone number
New Verification Code
New Verification Code Sending Ticket
Old phone verification code
Old verification code sending ticket
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.changePhoneV1v1v2 HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"phoneArea": "text",
"phone": "text",
"verifyCode": "text",
"sendToken": "text",
"verifyCodeOld": "text",
"sendTokenOld": "text",
"googleCode": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.checkCustomerExist Accessible to visitors
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Account: Email/Phone Number
Type: 1 Email, 2 Phone Number
Email area code, default area code is +86
Phone area code, default area code is +86
POST /api/global/customer.app.CustomerWebApiService.checkCustomerExist HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"loginName": "text",
"type": 1,
"emailArea": "text",
"phoneArea": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": 1,
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.destroy Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Cancellation remarks
POST /api/global/customer.app.CustomerWebApiService.destroy HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"remark": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.enableOrForbidMFA Accessible after login If the user has bound a phone number, verify the phone number; if the user has bound an email, verify the email; if the user has bound both phone number and email, then both must be verified
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Language Information
Client number
Client Id
Email Verification Code
Email verification code sending ticket
Mobile Verification Code
Mobile verification code sent ticket
Google Verification Code
Type, 1 Enable 2 Disable
Google ID
POST /api/global/customer.app.CustomerWebApiService.enableOrForbidMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 178
{
"lang": "text",
"customerNo": "text",
"id": 1,
"verifyCodeSMS": "text",
"sendTokenSMS": "text",
"verifyCodeEmail": "text",
"sendTokenEmail": "text",
"googleCode": "text",
"type": 1,
"googleId": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.findCustomerInfo Access after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1POST /api/global/customer.app.CustomerWebApiService.findCustomerInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"id": 1,
"companyId": 1,
"customerGroupId": 1,
"customerNo": "text",
"kycAuditStatus": 1,
"kycAuditRemark": "text",
"kycStatus": 1,
"kycRemark": "text",
"accountList": {},
"accountRemark": "text",
"loginPassStatus": "text",
"payPassStatus": "text",
"email": "text",
"phone": "text",
"phoneArea": "text",
"name": "text",
"country": "text",
"type": 1,
"deposit": 1,
"withdraw": 1,
"optional": 1,
"activateStatus": 1,
"activateTime": 1,
"companyKycStatus": 1,
"status": 1,
"thirdServerCode": "text",
"source": "text",
"thirdLoginSource": "text",
"thirdUserId": "text",
"idCard": "text",
"idCardType": "text",
"thirdIntactMsg": "text",
"firstName": "text",
"lastName": "text",
"isFund": 1,
"assertPassStatus": "text",
"googleId": 1,
"openAccountType": 1,
"loginTime": 1,
"createTime": 1,
"relationCustomerId": 1,
"companyType": "text",
"registerSource": 1,
"associationCompanyId": 1,
"registerTime": 1,
"utmSource": "text",
"forceLevel": {},
"earlyWarningLevel": {},
"withdrawLevel": {},
"postalCode": "text",
"customerAgentMark": "text",
"apiCheckSwitch": true,
"apiCheckRule": "text"
},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.forgetAssertsPwd Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Phone area code; when 'type' is 2: mobile phone number, this field is required; not specified, default is +86
Account: Email/Phone Number
Type: 1 Email, 2 Phone Number
New password, MD5 encryption
Verification code
Send ticket
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
POST /api/global/customer.app.CustomerWebApiService.forgetAssertsPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 171
{
"newPwd": "Aa123456@",
"type": 1,
"loginName": "[email protected]",
"verifyCode": "232123",
"sendToken": "asdsadasdasdsadsadsadsadad",
"verifyCodeToken": "adczczxczczczxczczxczxczxc"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}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
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1New password, MD5 encryption
Verification code
Send ticket
Type: 1 Email, 2 Phone Number
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.forgetAssertsPwdV1v1v2 HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"newPwd": "text",
"verifyCode": "text",
"sendToken": "text",
"type": 1,
"googleCode": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.forgetLoginPwd Guest Accessible
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Account: Email/Phone Number
Phone area code, default area code is +86
Type: 1 Email, 2 Phone Number
New password, MD5 encryption
Verification code
Send ticket
Validate Ticket
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.forgetLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 148
{
"loginName": "text",
"phoneArea": "text",
"type": 1,
"newPwd": "text",
"verifyCode": "text",
"sendToken": "text",
"verifyCodeToken": "text",
"googleCode": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.bindAssertsPwd Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Password, MD5 encryption
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.bindAssertsPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"pwd": "sunt",
"googleCode": "44"
}{
"msg": "Fund password has been set",
"fail": true,
"trace": "x-kwm21-v8951-5vor62ft-006o-1677737070",
"code": "CUSTOMER_API_0000133",
"data": "customer.app.CustomerWebApiService.bindAssertsPwd",
"bizCode": "US",
"tm": 3851542,
"msgParams": null,
"ok": false
}version=0.0.1 bizType=customer.app.CustomerWebApiService.bindEmail Access after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Verification code
Verification code sending ticket
Email Area Code
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.bindEmail HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 94
{
"verifyCode": "text",
"email": "text",
"sendToken": "text",
"emailArea": "text",
"googleCode": "text"
}{
"msg": "Verification code is not correct",
"fail": true,
"trace": "x-i2ps6-ol1gv4l4-17tc48-f72xfee-1677737300",
"code": "CUSTOMER_API_0000511",
"data": "customer.app.CustomerWebApiService.bindEmail",
"bizCode": "US",
"tm": 19770126,
"msgParams": null,
"ok": false
}version=0.0.1 bizType=customer.app.CustomerWebApiService.bindPhone Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Verification code
Verification code sending ticket
Google Verification Code
Phone Number
Phone area code
POST /api/global/customer.app.CustomerWebApiService.bindPhone HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 94
{
"verifyCode": "text",
"sendToken": "text",
"googleCode": "text",
"phone": "text",
"phoneArea": "text"
}{
"msg": "Verification code is not correct",
"fail": true,
"trace": "x-g82wr3b-3o3236-576oa-1er5di6-1677737445",
"code": "CUSTOMER_API_0000511",
"data": "customer.app.CustomerWebApiService.bindPhone",
"bizCode": "US",
"tm": 15425229,
"msgParams": null,
"ok": false
}version=0.0.1 bizType=customer.app.CustomerWebApiService.changeLang Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Language Information
POST /api/global/customer.app.CustomerWebApiService.changeLang HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"newLang": "text"
}{
"msg": "Success",
"fail": false,
"trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
"code": "0",
"data": null,
"bizCode": "",
"tm": 3818289,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.findCustomerLang Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1POST /api/global/customer.app.CustomerWebApiService.findCustomerLang HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"msg": "Success",
"fail": false,
"trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
"code": "0",
"data": null,
"bizCode": "",
"tm": 3818289,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.changeCustomerAddressAndPostalCode Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Communication Address
Postal Code
POST /api/global/customer.app.CustomerWebApiService.changeCustomerAddressAndPostalCode HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"postalCode": "90210",
"address": "Da Dong Men, Wuhan, Hubei, China"
}{
"msg": "Success",
"fail": false,
"trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
"code": "0",
"data": null,
"bizCode": "",
"tm": 3818289,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.firstSetPhone Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Phone area code
Phone
Mobile verification code, send verification code bizType=SMS_COMMON_VERIFICATION_CODE
Mobile verification code sent ticket
Third-party source: telegram
Third-party verification code, used in conjunction with thirdSource, when thirdSource=telegram, the verification code bizType can only be SMS_TELEGRAM_VERIFICATION_CODE
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
POST /api/global/customer.app.CustomerWebApiService.firstSetPhone HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 214
{
"verifyCode": "57",
"phoneArea": "18127152839",
"sendToken": "occaecat exercitation",
"verifyCodeThirdType": "21",
"sendTokenThirdType": "ad pariatur ut",
"thirdSource": "occaecat voluptate sit tempor",
"phone": "18190281711"
}{
"msg": "Success",
"fail": false,
"trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
"code": "0",
"data": null,
"bizCode": "",
"tm": 3818289,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.firstSetEmail Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Email verification code, send verification code bizType=SMS_COMMON_VERIFICATION_CODE
Email verification code sending ticket
Third-party source: telegram
Third-party verification code, used in conjunction with thirdSource, when thirdSource=telegram, the verification code bizType can only be SMS_TELEGRAM_VERIFICATION_CODE
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
POST /api/global/customer.app.CustomerWebApiService.firstSetEmail HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 195
{
"verifyCode": "57",
"sendToken": "occaecat exercitation",
"verifyCodeThirdType": "21",
"sendTokenThirdType": "ad pariatur ut",
"thirdSource": "occaecat voluptate sit tempor",
"email": "[email protected]"
}{
"msg": "Success",
"fail": false,
"trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
"code": "0",
"data": null,
"bizCode": "",
"tm": 3818289,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.firstTimeSettingLoginPassword Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Password, MD5 encryption
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.firstTimeSettingLoginPassword HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"newPwd": "Aa123456@"
}{
"msg": "Success",
"fail": false,
"trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
"code": "0",
"data": null,
"bizCode": "",
"tm": 3818289,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.findThirdAccountInfo Access after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1POST /api/global/customer.app.CustomerWebApiService.findThirdAccountInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"msg": "Success",
"fail": false,
"trace": "x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101",
"code": "0",
"data": null,
"bizCode": "",
"tm": 3818289,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.checkGoogleMFAStatus Guest access
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Account: Email/Phone Number
Area code, default area code is +86
Type: 1 Email, 2 Phone Number
POST /api/global/customer.app.CustomerWebApiService.checkGoogleMFAStatus HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"loginName": "text",
"phoneArea": "text",
"type": 1
}{
"msg": "Success",
"fail": false,
"trace": "x-b4ypj54-y9t32s7-5757xb-v60725g8-1677740298",
"code": "0",
"data": -1,
"bizCode": "",
"tm": 19151998,
"msgParams": null,
"ok": true
}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
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Account: Email/Phone Number
Type: 1 Email, 2 Phone Number
POST /api/global/customer.app.CustomerWebApiService.checkStatus HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"loginName": "text",
"type": 1
}{
"msg": "Success",
"fail": false,
"trace": "x-774phjw-g77e96y-7ogx9r8a-z7831eh-1677740174",
"code": "0",
"data": {
"country": "CN",
"phoneArea": "+86",
"status": 1
},
"bizCode": "",
"tm": 17093534,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.queryAccountAssetsInfo Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Play Id, 3-CROSS; 5-MATCH;
Account Id, at least one of accountCurrency must exist
Account currency and accountCurrency must exist at least one
POST /api/global/customer.app.CustomerWebApiService.queryAccountAssetsInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"tradeType": 1,
"accountId": 1,
"accountCurrency": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.queryAccountById Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Play Id, 1-CFD_MM; 2-CFD_WBW; 3-CROSS; 5-MATCH;
Account Id, at least one of currency must exist
Opening currency, at least one of accountId must exist
POST /api/global/customer.app.CustomerWebApiService.queryAccountById HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"tradeType": 1,
"accountId": 1,
"currency": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"companyId": 1,
"tradeType": 1,
"customerId": 1,
"customerNo": "text",
"accountId": 1,
"type": 1,
"status": 1,
"activateStatus": 1,
"activateTime": 1,
"remark": "text",
"currency": "text",
"digits": 1,
"withdrawAmount": "text",
"createTime": 1,
"firstDepositTime": 1,
"firstWithdrawTime": 1,
"assetsId": 1,
"balance": "text",
"available": "text",
"equity": "text",
"lockAmount": "text",
"profit": "text",
"margin": "text",
"notWithdrawAmount": "text",
"freeMargin": "text",
"lockMargin": "text",
"liabilities": "text",
"liabilitiesPrincipal": "text",
"interest": "text",
"netAssets": "text",
"frozen": "text",
"collateralFrozen": "text",
"availableLoan": "text",
"interestProportion": "text",
"marginRadio": "text",
"wholeWarehouseBalance": "text",
"wholeWarehouseRate": "text",
"openAccountStatus": true
},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.queryCustomerAssets Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Game ID
POST /api/global/customer.app.CustomerWebApiService.queryCustomerAssets HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"tradeType": 1
}{
"msg": "Success",
"fail": false,
"trace": "x-9q2v3u1-9c89e2-4epa-1w3zd-1677741772",
"code": "0",
"data": {
"balance": "109849160.9462",
"currency": "USDT",
"digits": 4,
"assetsId": 13
},
"bizCode": "C",
"tm": 209517656,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.queryCustomerAssetsInfo Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Gameplay ID, 3-CROSS; 5-MATCH; 8-WALLET; (does not support contract gameplay)
Account currency, separated by ',' between multiple assets. E.g.: USD, CNY. If not provided, all will be returned by default
POST /api/global/customer.app.CustomerWebApiService.queryCustomerAssetsInfo HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"tradeType": 1,
"accountCurrency": "text"
}{
"msg": "Success",
"fail": false,
"trace": "x-syhv7-d3a53n34-z4k54-458414-1677741850",
"code": "0",
"data": {
"totalAvailable": "348191.9105",
"closeProportion": "26.61%",
"riskLevel": 2,
"totalBalance": "348191.9105",
"totalLiabilities": "1308283.6711",
"companyId": null,
"totalNetAssets": "-960091.7606",
"currency": "USDT",
"digits": 4,
"totalInterest": "1068275.4978",
"tradeType": 3,
"customerNo": null,
"totalLiabilitiesPrincipal": "240008.1733",
"accountInfoMap": {
"SAND": {
"netAssets": "0.000000",
"lastOrderId": "0",
"available": "0.000000",
"remark": null,
"type": 1,
"equity": "0.000000",
"firstDepositTime": null,
"lockMargin": "0.000000",
"balance": "0.000000",
"interest": "0.000000",
"customerId": 1176,
"liabilities": "0.000000",
"currency": "SAND",
"activateStatus": 2,
"withdrawAmount": "0.000000",
"profit": "0",
"tradeType": 3,
"wholeWarehouseBalance": null,
"freeMargin": "0",
"margin": "0",
"firstWithdrawTime": null,
"activateTime": 1648792208194,
"weight": null,
"frozen": "0.000000",
"wholeWarehouseRate": null,
"accountId": 1031752,
"companyId": 360,
"liabilitiesPrincipal": "0.000000",
"interestProportion": "0",
"createTime": 1648777706190,
"lockAmount": "0.000000",
"notWithdrawAmount": "0.000000",
"digits": 6,
"customerNo": "86001175",
"status": 2,
"assetsId": 29
}
}
},
"bizCode": "C",
"tm": 171612280,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.queryLiabilitiesWaterByPage Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Number of Items per Page
Current Page
Game ID
1-Loan; 2-Repayment
Start Time
End Time
Account Id
Asset ID
POST /api/global/customer.app.CustomerWebApiService.queryLiabilitiesWaterByPage HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 109
{
"size": 1,
"current": 1,
"tradeType": 1,
"liabilitiesType": 1,
"startTime": 1,
"endTime": 1,
"accountId": 1,
"assetsId": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"total": 1,
"size": 1,
"current": 1,
"records": {
"id": 1,
"accountId": 1,
"remark": "text",
"createdBy": 1,
"createTime": 1,
"updateBy": 1,
"updateTime": 1,
"businessType": 1,
"businessType1": 1,
"customerNo": "text",
"digits": 1,
"liabilitiesPrincipal": "text",
"interest": "text",
"interestUpdateTime": 1,
"currency": "text",
"liabilities": "text"
}
},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.updateAssertsPwd Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Old password, MD5 encryption
New password, MD5 encryption
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.updateAssertsPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"oldPwd": "text",
"newPwd": "text",
"googleCode": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.updateAssertsPwdMFA Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Old password, MD5 encryption
New password, MD5 encryption
Google Verification Code
Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)
Send ticket
Type: 1 Email, 2 Phone Number
POST /api/global/customer.app.CustomerWebApiService.updateAssertsPwdMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 101
{
"oldPwd": "text",
"newPwd": "text",
"googleCode": "text",
"verifyCode": "text",
"sendToken": "text",
"type": 1
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.updateLoginPwd Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Old password, MD5 encryption
New password, MD5 encryption
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.updateLoginPwd HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"oldPwd": "text",
"newPwd": "text",
"googleCode": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.updateLoginPwdMFA Accessible after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Old password, MD5 encryption
New password, MD5 encryption
Google Verification Code
Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)
Send ticket
Type: 1 Email, 2 Phone Number
POST /api/global/customer.app.CustomerWebApiService.updateLoginPwdMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 101
{
"oldPwd": "text",
"newPwd": "text",
"googleCode": "text",
"verifyCode": "text",
"sendToken": "text",
"type": 1
}{
"msg": "Success",
"fail": false,
"trace": "x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371",
"code": "0",
"data": null,
"bizCode": "",
"tm": 29515800,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.groupList Accessible to visitors
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1POST /api/global/customer.app.CustomerWebApiService.groupList HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"id": 1,
"name": "text",
"openAccountType": 1,
"type": 1
},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.changeEmailMFA Accessible after login This interface: can independently choose old credential verification method
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1New Email
New verification code, send verification code bizType=EMAIL_COMMON_VERIFICATION_CODE
New Verification Code Sending Ticket
Type: 1 Email, 2 Phone Number
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
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
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.changeEmailMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 159
{
"verifyCodeNew": "57",
"email": "[email protected]",
"sendTokenNew": "non",
"verifyCodeOld": "72",
"sendTokenOld": "velit ut officia minim non",
"type": 1,
"googleCode": "64"
}{
"msg": "Success",
"fail": false,
"trace": "x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371",
"code": "0",
"data": null,
"bizCode": "",
"tm": 29515800,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.changePhoneMFA Accessible after login This interface: can independently choose old credential verification method
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Phone area code
Phone
New verification code, send verification code bizType=SMS_COMMON_VERIFICATION_CODE
New Verification Code Sending Ticket
Type: 1 Email, 2 Phone Number
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
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
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.changePhoneMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 185
{
"verifyCodeNew": "12",
"phoneArea": "19845120732",
"sendTokenNew": "laborum Ut",
"verifyCodeOld": "18",
"sendTokenOld": "enim aute dolor culpa",
"type": 1,
"phone": "18639656874",
"googleCode": "97"
}{
"msg": "Success",
"fail": false,
"trace": "x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371",
"code": "0",
"data": null,
"bizCode": "",
"tm": 29515800,
"msgParams": null,
"ok": true
}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.
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Country code
POST /api/global/customer.app.CustomerWebApiService.changeCountry HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"newCountry": "text"
}{
"msg": "Success",
"fail": false,
"trace": "x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371",
"code": "0",
"data": null,
"bizCode": "",
"tm": 29515800,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.bindAssertsPwdMFA After logging in, you can access it.
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Password, MD5 encryption
Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)
Send ticket
Type: 1 Email, 2 Phone Number
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.bindAssertsPwdMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 82
{
"newPwd": "eu Ut sint",
"type": 1,
"verifyCode": "712311",
"sendToken": "{{sendToken}}"
}{
"msg": "Fund password has been set",
"fail": true,
"trace": "x-kwm21-v8951-5vor62ft-006o-1677737070",
"code": "CUSTOMER_API_0000133",
"data": "customer.app.CustomerWebApiService.bindAssertsPwd",
"bizCode": "US",
"tm": 3851542,
"msgParams": null,
"ok": false
}version=0.0.1 bizType=customer.app.CustomerWebApiService.forgetAssertsPwdMFA After logging in, you can access it.
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1Password, MD5 encryption
Verification code, send verification code interface bizType=EMAIL_LOGINED_VERIFICATION_CODE (email), SMS_LOGINED_VERIFICATION_CODE (phone)
Send ticket
Type: 1 Email, 2 Phone Number
Google Verification Code
POST /api/global/customer.app.CustomerWebApiService.forgetAssertsPwdMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 82
{
"newPwd": "eu Ut sint",
"type": 1,
"verifyCode": "712311",
"sendToken": "{{sendToken}}"
}{
"msg": "Fund password has been set",
"fail": true,
"trace": "x-kwm21-v8951-5vor62ft-006o-1677737070",
"code": "CUSTOMER_API_0000133",
"data": "customer.app.CustomerWebApiService.bindAssertsPwd",
"bizCode": "US",
"tm": 3851542,
"msgParams": null,
"ok": false
}version=0.0.1 bizType=customer.app.CustomerWebApiService.bindThirdAccount After logging in, you can access it.
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}Third-party source, telegram
Third-party userId
The complete user information obtained by the third party must be in json format
POST /api/global/customer.app.CustomerWebApiService.bindThirdAccount HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 72
{
"thirdLoginSource": "text",
"thirdUserId": "text",
"thirdIntactMsg": "text"
}{
"msg": "Success",
"fail": false,
"trace": "x-w67a-m983h6dw-30535g-x321-1677575540",
"code": "0",
"data": null,
"bizCode": "",
"tm": 46426649,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.queryLatestBalanceOfUserAccountInExternalSystem Access after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}POST /api/global/customer.app.CustomerWebApiService.queryLatestBalanceOfUserAccountInExternalSystem HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"amount": "text",
"currency": "text",
"amountDigits": "text"
},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerWebApiService.findPhoneAndEmail Access after login
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}POST /api/global/customer.app.CustomerWebApiService.findPhoneAndEmail HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"customerNo": "text",
"email": "text",
"phone": "text",
"phoneArea": "text"
},
"ok": true,
"fail": true
}Last updated