资金服务相关

现货发放/扣回赠金

post

version=0.0.1 bizType=fund.admin.CustomerActivityBonusAdminDubboService.operationBonus

**accountId 变成非必填

Header parameters
tracestringRequired

全局链路唯一标志

Example: {{mock_trace}}
companyIdstringRequired

公司ID

Example: {{company}}
tokenstringRequired

鉴权token

Example: {{auto_token}}
versionstringRequired

接口版本号

Example: 0.0.1
Body
customerNostringRequired

客户编号

tradeTypeintegerRequired

玩法类型;目前只支持现货玩法

accountIdstringOptional

帐户ID

companyIdstringRequired

公司id

activityIdstringRequired

活动记录ID

currencyBonusstringRequired

赠金币种

bonusnumberRequired

赠金金额

activityCustomerNostringRequired

活动帐户

typeintegerRequired

类型,1.发放,2.扣回

Responses
200Success
application/json
post
/fund.admin.CustomerActivityBonusAdminDubboService.operationBonus
POST /openapi-b/fund.admin.CustomerActivityBonusAdminDubboService.operationBonus HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
companyId: text
token: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 168

{
  "customerNo": "{{customer}}",
  "companyId": "{{company}}",
  "activityId": "87",
  "activityCustomerNo": "",
  "bonus": 58,
  "currencyBonus": "",
  "type": 52,
  "tradeType": 5,
  "accountId": "40"
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": "text",
  "trace": "text",
  "msgParams": "text",
  "data": {
    "result": true,
    "actionAmount": "text"
  }
}

批量获取充值提现汇率

post

version=0.0.1 bizType=fund.admin.CustomerFundAdminDubboService.getExchangeRate

Header parameters
tracestringRequired

全局链路唯一标志

Example: {{mock_trace}}
companyIdstringRequired

公司ID

Example: {{company}}
tokenstringRequired

B端鉴权后token

Example: {{auto_token}}
versionstringRequired

接口版本号

Example: 0.0.1
Body
companyIdstringOptional

公司ID

typeintegerOptional

类型:1.充值 2.提现

Responses
200Success
application/json
post
/fund.admin.CustomerFundAdminDubboService.getExchangeRate
POST /openapi-b/fund.admin.CustomerFundAdminDubboService.getExchangeRate HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
companyId: text
token: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 78

{
  "companyId": "{{company}}",
  "type": 1,
  "currencyMap": {
    "BTC": "USDT",
    "BNB": "USDT"
  }
}
200Success
{
  "msg": "Success",
  "fail": false,
  "trace": "t-7e3s5yi-y18svvj-68bj9lv1-5z5i-1668770226",
  "code": "0",
  "data": [
    {
      "targetCurrency": "USDT",
      "rate": 16755.38,
      "formulaSymbol": "multiply",
      "targetDigits": 4,
      "sourceCurrency": "BTC",
      "class": "com.cats.fund.api.dto.ExchangeRateConvertDto",
      "sourceDigits": 8
    }
  ],
  "bizCode": "",
  "tm": 69,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

根据提案编号查询额度调整详情

post
Header parameters
tracestringRequired

全局链路唯一标志

Example: {{mock_trace}}
companyIdstringRequired

公司ID

Example: {{company}}
tokenstringRequired

B端鉴权后token

Example: {{auto_token}}
versionstringRequired

接口版本号

Example: 0.0.1
Body
proposalNostringRequired

额度调整提案编号

companyIdstringRequired

公司id

Responses
200Success
application/json
post
/fund.admin.CustomerAdjustProposalAdminDubboService.getCustomerAdjustProposalById
POST /openapi-b/fund.admin.CustomerAdjustProposalAdminDubboService.getCustomerAdjustProposalById HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
companyId: text
token: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 74

{
  "customerNo": "86000020",
  "tradeType": 5,
  "companyId": "{{company}}",
  "type": 1
}
200Success
{
  "bizCode": "text",
  "code": "text",
  "msg": "text",
  "tm": "text",
  "trace": "text",
  "msgParams": "text",
  "data": {
    "companyId": 1,
    "customerId": 1,
    "customerNo": "text",
    "accountId": 1,
    "id": 1,
    "status": 1,
    "createBy": "text",
    "createTime": 1,
    "updateBy": "text",
    "updateTime": 1,
    "tradeType": 1,
    "proposalNo": "text",
    "businessType": 1,
    "accountCurrency": "text",
    "amount": 1,
    "withdraw": true,
    "operatorPassword": "text",
    "checkBy": "text",
    "checkStatus": 1,
    "remark": "text",
    "thirdOrderId": "text",
    "resetAccount": true,
    "businessTypeText": "text",
    "thirdAccount": "text"
  }
}

Last updated