---
# System prepended metadata

title: 會員錢包歷史API

---

# Member_wallet_history API
## VO
![image](https://hackmd.io/_uploads/HkUoQKe2a.png)
## Controller
![image](https://hackmd.io/_uploads/S1fZvwL0p.png)


## Service
### 舊程式碼
- MemberWalletHistoryService
![image](https://hackmd.io/_uploads/rkMdejpnT.png)
### 新的
![image](https://hackmd.io/_uploads/HkfXDDURa.png)
![image](https://hackmd.io/_uploads/H10XwvL0p.png)



## API
### PATH
![image](https://hackmd.io/_uploads/r1rkxjx2a.png)
### PARAMS
![image](https://hackmd.io/_uploads/Skxelljenp.png)

> [交易類型表](##交易類型表)
### Response
![image](https://hackmd.io/_uploads/Hk-4log3a.png)



## 交易類型
### 交易類型表
<details>
<summary>JSON版本(點擊展開)</summary>
[
  {"type": 0, "名稱": "充值"},
  {"type": 1, "名稱": "提现"},
  {"type": 2, "名稱": "转账"},
  {"type": 3, "名稱": "币币交易"},
  {"type": 4, "名稱": "法币买入"},
  {"type": 5, "名稱": "法币卖出"},
  {"type": 6, "名稱": "活动奖励"},
  {"type": 7, "名稱": "推广奖励"},
  {"type": 8, "名稱": "分红"},
  {"type": 9, "名稱": "投票"},
  {"type": 10, "名稱": "人工充值"},
  {"type": 11, "名稱": "配对"},
  {"type": 12, "名稱": "活动兑换"},
  {"type": 13, "名稱": "CTC买入"},
  {"type": 14, "名稱": "CTC卖出"},
  {"type": 15, "名稱": "红包发出"},
  {"type": 16, "名稱": "红包领取"},
  {"type": 17, "名稱": "提现码提现"},
  {"type": 18, "名稱": "提现码充值"},
  {"type": 19, "名稱": "永续合约手续费"},
  {"type": 20, "名稱": "永续合约盈利"},
  {"type": 21, "名稱": "永续合约亏损"},
  {"type": 22, "名稱": "预测合约失败"},
  {"type": 23, "名稱": "预测合约手续费"},
  {"type": 24, "名稱": "预测合约奖金"},
  {"type": 25, "名稱": "充值TUSDT"},
  {"type": 26, "名稱": "充值EUSDT"},
  {"type": 27, "名稱": "金峰平台充币"},
  {"type": 28, "名稱": "鼎望平台充币"},
  {"type": 29, "名稱": "跃富平台充币"},
  {"type": 30, "名稱": "非凡平台充币"},
  {"type": 31, "名稱": "NC平台充币"},
  {"type": 32, "名稱": "释放锁仓"},
  {"type": 33, "名稱": "转化为USDT"},
  {"type": 34, "名稱": "OTC下架"},
  {"type": 35, "名稱": "CTC下架"},
  {"type": 36, "名稱": "币币交易取消"},
  {"type": 37, "名稱": "后台申诉"},
  {"type": 38, "名稱": "退回保证金"},
  {"type": 39, "名稱": "缴交保证金"},
  {"type": 40, "名稱": "理财利息"},
  {"type": 41, "名稱": "理财订单到期"},
  {"type": 42, "名稱": "理财订单赎回"},
  {"type": 43, "名稱": "理财订单购买"},
  {"type": 44, "名稱": "提现审核成功"},
  {"type": 45, "名稱": "提现审核失败"},
  {"type": 46, "名稱": "币币交易撮合"},
  {"type": 47, "名稱": "币币交易溢价返还"},
  {"type": 48, "名稱": "OTC取消"},
  {"type": 49, "名稱": "OTC上架"},
  {"type": 50, "名稱": "理财活期自动申购"}
  {"type": 99, "名稱": "其他"}
]
</details>

| type | 名稱          |
|------|--------------|
| 0    | 充值           |
| 1    | 提现           |
| 2    | 转账           |
| 3    | 币币交易         |
| 4    | 法币买入         |
| 5    | 法币卖出         |
| 6    | 活动奖励         |
| 7    | 推广奖励         |
| 8    | 分红           |
| 9    | 投票           |
| 10   | 人工充值         |
| 11   | 配对           |
| 12   | 活动兑换         |
| 13   | CTC买入        |
| 14   | CTC卖出        |
| 15   | 红包发出         |
| 16   | 红包领取         |
| 17   | 提现码提现        |
| 18   | 提现码充值        |
| 19   | 永续合约手续费      |
| 20   | 永续合约盈利       |
| 21   | 永续合约亏损       |
| 22   | 预测合约失败       |
| 23   | 预测合约手续费      |
| 24   | 预测合约奖金       |
| 25   | 充值TUSDT      |
| 26   | 充值EUSDT      |
| 27   | 金峰平台充币      |
| 28   | 鼎望平台充币      |
| 29   | 跃富平台充币      |
| 30   | 非凡平台充币      |
| 31   | NC平台充币      |
| 32   | 释放锁仓         |
| 33   | 转化为USDT      |
| 34   | OTC下架        |
| 35   | CTC下架        |
| 36   | 币币交易取消      |
| 37   | 后台申诉         |
| 38   | 退回保证金        |
| 39   | 缴交保证金        |
| 40   | 理财利息         |
| 41   | 理财订单到期       |
| 42   | 理财订单赎回       |
| 43   | 理财订单购买       |
| 44   | 提现审核成功      |
| 45   | 提现审核失败      |
| 46   | 币币交易撮合      |
| 47   | 币币交易溢价返还    |
| 48   | OTC取消        |
| 49   | OTC上架        |
| 50   | 理财活期自动申购 |
| 99   | 其他           |
