文档
测试

赠送、转出、otc手续费

GET
http://test.luckyuan.net/api/wallet/getfee?type=2&currency_id=5

请求参数

参数名
类型
描述
必填
type
int
交易类型 1赠送 2转出 3otc
必填
currency_id
int
币种ID
必填

响应参数

参数名
类型
描述
必填
type
int
示例:1
必填
msg
string
示例:请求成功
必填
data
object
数据字典
必填
fee_type
int
手续费类型 0百分比 1固定数量
必填
cur_id
int
交易币种
必填
fee_cur_id
int
手续费币种
必填
type
int
交易类型 1赠送 2转出 3otc
必填
fee
string
手续费 当fee_type=0时 值为百分比 例0.1是10% 当fee_type=1时 为固定数量
必填
cur_name
string
交易币种名称
必填
fee_cur_name
string
手续费币种名称
必填

说明 / 示例

{ "msg": "请求成功", "data": { "id": 91, "fee_type": 0, "cur_id": 5, "fee_cur_id": 5, "type": 2, "fee": "0.050000", "created_at": "2020-08-21 16:52:13", "updated_at": "2020-08-21 16:52:13", "cur_name": "LUCKY", "fee_cur_name": "LUCKY" }, "type": 1 }