Balance Update

Balance Update

Bonus distribution / rebate

post

bizType=fund.admin.CustomerAdjustProposalAdminDubboService.addCustomerAdjustProposal

Header parameters
tokenstringRequiredExample: {{auto_token}}
versionstringRequiredExample: 0.0.1
tracestringRequiredExample: {{mock_trace}}
Body
customerNostringRequired

Customer Number

accountIdintegerOptional

Account ID

accountCurrencystringRequired

Currency for sending bonuses

tradeTypeintegerRequired

Game type: 1 is contract full position

businessTypeintegerRequired

Fixed value 4

amountnumberRequired

Number of bonuses issued, positive for bonus issuance, negative for rebate bonuses

withdrawbooleanRequired

Fixed true

remarkstringOptional

Optional

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

"{\r\n    \"customerNo\": \"{{customerNo}}\",\r\n    \"accountId\": {{accountId}},\r\n    \"accountCurrency\": \"USDT\",\r\n    \"tradeType\": 1,\r\n    \"businessType\": 4,\r\n    \"amount\": 5,\r\n    \"withdraw\": true,\r\n    \"remark\": \"test\"\r\n}"
200

Success

{
  "msg": "Success",
  "fail": false,
  "trace": "t-7vgm5-bu0337-blbkp-024w3k84-1660120108",
  "code": "0",
  "data": true,
  "bizCode": "",
  "tm": 189,
  "msgParams": null,
  "ok": true,
  "class": "com.cats.common.core.base.vo.BaseResult"
}

Last updated