客户接口/客户钱包管理
version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.add 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1钱包币种
链名称
钱包地址
钱包备注
验证码
验证码发送票据
手机区号
手机号码
POST /api/global/customer.app.CustomerWalletWebApiService.add HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 144
{
"currency": "text",
"chainName": "text",
"address": "text",
"remark": "text",
"verifyCode": "text",
"sendToken": "text",
"phoneArea": "text",
"phone": "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.CustomerWalletWebApiService.addV1v1v2 登录之后可以访问
如果客户开启谷歌验证码(MFA),则入参中的谷歌验证码(googleCode)必填, 同时,用户不用输入手机号码、邮箱, 如果手机、邮箱同时存在,优先校验手机号码
{{company}}{{LoginResult.data.token}}zh-CN{{mock_trace}}0.0.1钱包币种
链名称
钱包地址
钱包备注
验证码
验证码发送票据
谷歌验证码
POST /api/global/customer.app.CustomerWalletWebApiService.addV1v1v2 HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 130
{
"currency": "text",
"chainName": "text",
"address": "text",
"remark": "text",
"verifyCode": "text",
"sendToken": "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.CustomerWalletWebApiService.delete 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1钱包id
POST /api/global/customer.app.CustomerWalletWebApiService.delete HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 8
{
"id": 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.CustomerWalletWebApiService.updateWallet 登录之后可以访问
钱包id
POST /api/global/customer.app.CustomerWalletWebApiService.updateWallet HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 8
{
"id": 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.CustomerWalletWebApiService.walletList 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1钱包币种
链名称
POST /api/global/customer.app.CustomerWalletWebApiService.walletList HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"currency": "text",
"chainName": "text"
}{
"msg": "Success",
"fail": false,
"trace": "x-gndw9-43s45-j1x875-59h9d-1677576513",
"code": "0",
"data": [
{
"chainName": "Ethereum(ERC20)",
"address": "234",
"currency": "USDC",
"remark": "",
"id": 14676,
"defaultType": 0
}
],
"bizCode": "",
"tm": 3021714,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.addWithdrawalAddressMFA 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1币种
提现网络
提现地址
提现备注
类型:1邮箱,2手机号码
验证码,发送验证码接口bizType=EMAIL_LOGINED_VERIFICATION_CODE(邮箱),SMS_LOGINED_VERIFICATION_CODE(手机)
验证码发送票据
谷歌验证码
POST /api/global/customer.app.CustomerWalletWebApiService.addWithdrawalAddressMFA HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"currency": "text",
"chainName": "text",
"address": "text",
"remark": "text",
"type": 1,
"verifyCode": "text",
"sendToken": "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.CustomerWalletWebApiService.withdrawalAddressList 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1币种
提现网络
POST /api/global/customer.app.CustomerWalletWebApiService.withdrawalAddressList HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"currency": "text",
"chainName": "text"
}{
"msg": "Success",
"fail": false,
"trace": "x-gndw9-43s45-j1x875-59h9d-1677576513",
"code": "0",
"data": [
{
"chainName": "Ethereum(ERC20)",
"address": "234",
"currency": "USDC",
"remark": "",
"id": 14676,
"defaultType": 0
}
],
"bizCode": "",
"tm": 3021714,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.withdrawalAddressGroupList 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1币种
POST /api/global/customer.app.CustomerWalletWebApiService.withdrawalAddressGroupList HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"currency": "text"
}{
"msg": "Success",
"fail": false,
"trace": "x-gndw9-43s45-j1x875-59h9d-1677576513",
"code": "0",
"data": [
{
"chainName": "Ethereum(ERC20)",
"address": "234",
"currency": "USDC",
"remark": "",
"id": 14676,
"defaultType": 0
}
],
"bizCode": "",
"tm": 3021714,
"msgParams": null,
"ok": true
}version=0.0.1 bizType=customer.app.CustomerWalletWebApiService.batchAddByChain 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1POST /api/global/customer.app.CustomerWalletWebApiService.batchAddByChain HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"addressList": [
{
"chainName": "text",
"address": "text",
"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.CustomerWalletWebApiService.batchUpdateByChain 登录之后可以访问
{{company}}{{LoginResult.data.token}}en-US{{mock_trace}}0.0.1POST /api/global/customer.app.CustomerWalletWebApiService.batchUpdateByChain HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"addressList": [
{
"chainName": "text",
"address": "text",
"remark": "text"
}
]
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {},
"ok": true,
"fail": true
}Last updated