客户接口/客户基础信息
version=0.0.1 bizType=customer.app.CustomerWebApiService.bindLoginPwd 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1密码,MD5加密
谷歌验证码
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1新验证码
新邮箱
新验证码发送票据
新邮箱区号
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 登录之后可以访问
如果客户开启谷歌验证码(MFA),则入参中的谷歌验证码(googleCode)必填, 同时,用户不用输入旧邮箱
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1新验证码
新邮箱
新验证码发送票据
新邮箱区号
原邮箱验证码
原邮箱验证码发送票据
谷歌验证码
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1新手机区号
新手机号码
验证码
验证码发送票据
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 登录之后可以访问
如果客户开启谷歌验证码(MFA),则入参中的谷歌验证码(googleCode)必填, 同时,用户不用输入旧手机号码
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1新手机号码
新手机号码
新验证码
新验证码发送票据
旧手机验证码
旧验证码发送票据
谷歌验证码
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 游客可访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1账号:邮箱/手机号码
类型:1邮箱,2手机号码
邮箱区号,区号默认为+86
手机区号,区号默认为+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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1销户备注
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 登录之后可以访问 用户如果绑定了手机号就验证手机号、如果绑定了邮箱就验证邮箱、如果手机号邮箱都绑定了那就得手机号邮箱都验证
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1语言信息
客户编号
客户Id
邮箱验证码
邮箱验证码发送票据
手机验证码
手机验证码发送票据
谷歌验证码
类型,1启用 2禁用
谷歌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 登录之后可以访问
{{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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1手机区号;“type类型为2:手机号码”时该字段必填;不传默认取+86
账号:邮箱/手机号码
类型:1邮箱,2手机号码
新密码,MD5加密
验证码
发送票据
验证票据;验证验证码接口返回token,优先校验该字段如果校验通过则发送验证码接口返回sendToken跳过验证,该字段如果校验不通则校验发送验证码接口返回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 登录之后可以访问
如果客户开启谷歌验证码(MFA),则入参中的谷歌验证码(googleCode)必填, 同时,用户不用输入旧手机号码或旧邮箱
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1新密码,MD5加密
验证码
发送票据
类型:1邮箱,2手机号码
谷歌验证码
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 游客可访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1账号:邮箱/手机号码
手机区号,区号默认为+86
类型:1邮箱,2手机号码
新密码,MD5加密
验证码
发送票据
验证票据
谷歌验证码
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1密码,MD5加密
谷歌验证码
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1验证码
邮箱
验证码发送票据
邮箱区号
谷歌验证码
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1验证码
验证码发送票据
谷歌验证码
手机号码
手机区号
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1语言信息
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.checkGoogleMFAStatus 游客可访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1账号:邮箱/手机号码
机区号,区号默认为+86
类型:1邮箱,2手机号码
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 判断客户状态:1已存在,2不存在,-1客户被禁用 此接口需登录
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1账号:邮箱/手机号码
类型:1邮箱,2手机号码
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1玩法Id,3-CROSS;5-MATCH;
账户Id,与accountCurrency必须至少有一个存在
账户币种与accountCurrency必须至少有一个存在
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1玩法Id,1-CFD_MM;2-CFD_WBW;3-CROSS;5-MATCH;
账户Id,与currency必须至少有一个存在
开户币种,与accountId必须至少有一个存在
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1玩法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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1玩法Id,3-CROSS;5-MATCH;8-WALLET;(不支持合约玩法)
账户币种,多个资产间以“,”分割。如:USD,CNY。不传默认返回全部
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1每页条数
当前页
玩法Id
1-借款;2-还款
开始时间
结束时间
账户Id
资产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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1旧密码,MD5加密
新密码,MD5加密
谷歌验证码
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1旧密码,MD5加密
新密码,MD5加密
谷歌验证码
验证码,发送验证码接口bizType=EMAIL_LOGINED_VERIFICATION_CODE(邮箱),SMS_LOGINED_VERIFICATION_CODE(手机)
发送票据
类型:1邮箱,2手机号码
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1旧密码,MD5加密
新密码,MD5加密
谷歌验证码
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1旧密码,MD5加密
新密码,MD5加密
谷歌验证码
验证码,发送验证码接口bizType=EMAIL_LOGINED_VERIFICATION_CODE(邮箱),SMS_LOGINED_VERIFICATION_CODE(手机)
发送票据
类型:1邮箱,2手机号码
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 游客可以访问
{{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 登录之后可以访问 本接口:可自主选择旧凭证验证方式 更换邮箱(MFA):只能使用旧邮箱验证
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1新邮箱
新验证码,发送验证码bizType=EMAIL_COMMON_VERIFICATION_CODE
新验证码发送票据
类型:1邮箱,2手机号码
原验证码,与type配合使用,当type=1,发送验证码bizType只能为EMAIL_LOGINED_VERIFICATION_CODE,type=2,bizType=SMS_LOGINED_VERIFICATION_CODE
原验证码发送票据,与type配合使用,当type=1,发送验证码bizType只能为EMAIL_LOGINED_VERIFICATION_CODE,type=2,bizType=SMS_LOGINED_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 登录之后可以访问 本接口:可自主选择旧凭证验证方式 更换手机(MFA):只能使用旧手机验证
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1手机区号
手机
新验证码,发送验证码bizType=SMS_COMMON_VERIFICATION_CODE
新验证码发送票据
类型:1邮箱,2手机号码
原验证码,与type配合使用,当type=1,发送验证码bizType只能为EMAIL_LOGINED_VERIFICATION_CODE,type=2,bizType=SMS_LOGINED_VERIFICATION_CODE
原验证码发送票据,与type配合使用,当type=1,发送验证码bizType只能为EMAIL_LOGINED_VERIFICATION_CODE,type=2,bizType=SMS_LOGINED_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 登录之后可以访问, 如果客户有已经审批通过的KYC,则拒绝修改国家, 修改成功后,客户修改前所在国家的待审核KYC,全部拒绝
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1国家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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1密码,MD5加密
验证码,发送验证码接口bizType=EMAIL_LOGINED_VERIFICATION_CODE(邮箱),SMS_LOGINED_VERIFICATION_CODE(手机)
发送票据
类型:1邮箱,2手机号码
谷歌验证码
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 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1密码,MD5加密
验证码,发送验证码接口bizType=EMAIL_LOGINED_VERIFICATION_CODE(邮箱),SMS_LOGINED_VERIFICATION_CODE(手机)
发送票据
类型:1邮箱,2手机号码
谷歌验证码
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 登录之后可以访问
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}三方来源,telegram
三方userId
第三方获取的完整用户信息,必须为json格式
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.findCustomerLang 登录之后可以访问
{{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.firstSetPhone 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1手机区号
手机
手机验证码,发送验证码bizType=SMS_COMMON_VERIFICATION_CODE
手机验证码发送票据
三方来源:telegram
三方验证码,与thirdSource配合使用,当thirdSource=telegram,发送验证码bizType只能为SMS_TELEGRAM_VERIFICATION_CODE
三方验证码发送票据,与thirdSource配合使用,当thirdSource=telegram,发送验证码bizType只能为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.findThirdAccountInfo 登录之后可以访问
{{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.firstTimeSettingLoginPassword 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1密码,MD5加密
谷歌验证码
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.firstSetEmail 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1邮箱
邮箱验证码,发送验证码bizType=SMS_COMMON_VERIFICATION_CODE
邮箱验证码发送票据
三方来源:telegram
三方验证码,与thirdSource配合使用,当thirdSource=telegram,发送验证码bizType只能为SMS_TELEGRAM_VERIFICATION_CODE
三方验证码发送票据,与thirdSource配合使用,当thirdSource=telegram,发送验证码bizType只能为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.changeCustomerAddressAndPostalCode 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1通讯地址
邮政编码
POST /api/global/customer.app.CustomerWebApiService.changeCustomerAddressAndPostalCode HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"postalCode": "90210",
"address": "中國湖北省武汉市大东门"
}{
"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.queryLatestBalanceOfUserAccountInExternalSystem 登录之后可以访问
{{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 登录之后可以访问
{{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