Fund
version=0.0.1 bizType=fund.admin.CustomerActivityBonusAdminDubboService.operationBonus
**accountId becomes optional
Global link unique identifier
{{mock_trace}}Company ID
{{company}}Authentication token
{{auto_token}}Interface version number
0.0.1Customer Number
Game type; currently only supports spot game type
Account ID
Company ID
Activity record ID
Bonus currency
Bonus amount
Activity account
Type, 1. issuance, 2. recovery
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"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": "text",
"trace": "text",
"msgParams": "text",
"data": {
"result": true,
"actionAmount": "text"
}
}version=0.0.1 bizType=fund.admin.CustomerFundAdminDubboService.getExchangeRate
Global link unique identifier
{{mock_trace}}Company ID
{{company}}Token after B-end authentication
{{auto_token}}Interface version number
0.0.1Company ID
Type: 1. Recharge 2. Withdrawal
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"
}
}{
"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"
}version=0.0.1 bizType=fund.admin.CustomerActivityBonusAdminDubboService.lockTradeAccount
Global link unique identifier
{{mock_trace}}Company ID
{{company}}Token after B-end authentication
{{auto_token}}Interface version number
0.0.1Customer Number
Game ID
Company ID
Type: 1=Transfer in, 2=Transfer out, 3=Transfer in and out
Locking duration, in seconds, if not passed, platform default value will be used
Lock end time - timestamp (milliseconds), if not passed, platform default value will be used: priority to use lockEndTime
POST /openapi-b/fund.admin.CustomerActivityBonusAdminDubboService.lockTradeAccount 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
}{
"msg": "Success",
"fail": false,
"trace": "t-pi33x33-1b94r-9x5c-38183s2-1668770770",
"code": "0",
"data": null,
"bizCode": "",
"tm": 54,
"msgParams": null,
"ok": true,
"class": "com.cats.common.core.base.vo.BaseResult"
}version=0.0.1 bizType=fund.admin.CustomerActivityBonusAdminDubboService.unlockTradeAccount
Global link unique identifier
{{mock_trace}}Company ID
{{company}}Token after B-end authentication
{{auto_token}}Interface version number
0.0.1Customer Number
Game ID
Company ID
Type: 1=Transfer in, 2=Transfer out, 3=Transfer in and out
POST /openapi-b/fund.admin.CustomerActivityBonusAdminDubboService.unlockTradeAccount 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",
"type": 1,
"companyId": "{{company}}",
"tradeType": 5
}{
"msg": "Success",
"fail": false,
"trace": "t-7sga7o-6d29n-pbsk-wt4mpb3-1668771006",
"code": "0",
"data": null,
"bizCode": "",
"tm": 3,
"msgParams": null,
"ok": true,
"class": "com.cats.common.core.base.vo.BaseResult"
}Explanation: Single query of lock status: Transfer in and out function of the customer's designated gameplay account, only query specified type (transfer in and out) of version=0.0.1 bizType=fund.admin.CustomerActivityBonusAdminDubboService.queryOneLockTradeAccount
Global link unique identifier
{{mock_trace}}Company ID
{{company}}Token after B-end authentication
{{auto_token}}Interface version number
0.0.1Customer Number
Game ID
Company ID
Type: 1=Transfer in, 2=Transfer out, 3=Transfer in and out
POST /openapi-b/fund.admin.CustomerActivityBonusAdminDubboService.queryOneLockTradeAccount 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
}{
"msg": "Success",
"fail": false,
"trace": "t-npfw73-5i09153-vxf6745-dqip8-1668771342",
"code": "0",
"data": false,
"bizCode": "",
"tm": 1,
"msgParams": null,
"ok": true,
"class": "com.cats.common.core.base.vo.BaseResult"
}Global link unique identifier
{{mock_trace}}Company ID
{{company}}Token after B-end authentication
{{auto_token}}Interface version number
0.0.1Credit adjustment proposal number
Company ID
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
}{
"msg": "Success",
"fail": false,
"trace": "t-npfw73-5i09153-vxf6745-dqip8-1668771342",
"code": "0",
"data": false,
"bizCode": "",
"tm": 1,
"msgParams": null,
"ok": true,
"class": "com.cats.common.core.base.vo.BaseResult"
}Description: Lock status query, all of one gameplay: customer specified gameplay account transfer in and out function version=0.0.1 bizType=fund.admin.CustomerActivityBonusAdminDubboService.queryTradeTypeLockTradeAccount
Global link unique identifier
{{mock_trace}}Company ID
{{company}}Token after B-end authentication
{{auto_token}}Interface version number
0.0.1Customer Number
Game ID
Company ID
POST /openapi-b/fund.admin.CustomerActivityBonusAdminDubboService.queryTradeTypeLockTradeAccount HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
companyId: text
token: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 65
{
"customerNo": "86000020",
"tradeType": 5,
"companyId": "{{company}}"
}{
"msg": "Success",
"fail": false,
"trace": "t-gooy7-y1fg9-663j2h-426tq-1668771452",
"code": "0",
"data": [
{
"lockStatus": false,
"type": 1,
"class": "com.cats.fund.api.dto.CustomerQueryTradeTypeLockTradeAccountDto"
},
{
"lockStatus": false,
"type": 2,
"class": "com.cats.fund.api.dto.CustomerQueryTradeTypeLockTradeAccountDto"
},
{
"lockStatus": false,
"type": 3,
"class": "com.cats.fund.api.dto.CustomerQueryTradeTypeLockTradeAccountDto"
}
],
"bizCode": "",
"tm": 3,
"msgParams": null,
"ok": true,
"class": "com.cats.common.core.base.vo.BaseResult"
}Last updated