Get Wallet Action Log
Retrieve the wallet action log of the current member, including transaction history such as transfers, deductions, deposits, and exchanges. The API supports filtering by transaction type, currency, time range, and provides pagination.
Interface Description
- Interface path:
/client/member/wallet-log - Request method:
POST - Content type:
application/json - Authentication: Bearer Token (requires passing valid
Authorization: Bearer <token>in Header)
Request Headers
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Authorization | Yes | String | Bearer Token, obtained through the Member Login interface |
Request Parameters
Request parameters are sent in JSON format (application/json).
| Field Name | Type | Required | Description |
|---|---|---|---|
| page | number | Yes | Current page number, e.g., 1 |
| pageSize | number | Yes | Number of records per page, e.g., 10 |
| transType | string | No | Transaction type, e.g., exchange_in, exchange_out, manual_adjust |
| currency | string | No | Currency filter, e.g., USD |
| startTime | string | No | Start time for filtering, format: YYYY-MM-DD HH:mm:ss |
| endTime | string | No | End time for filtering, format: YYYY-MM-DD HH:mm:ss |
Request Example
json
{
"page": 1,
"pageSize": 10,
"transType": "exchange_in",
"currency": "USD",
"startTime": "2023-01-01 00:00:00",
"endTime": "2023-12-31 23:59:59"
}Response Example
json
{
"code": 0,
"data": {
"list": [
{
"id": "60a7c9b8f1d2e3b4a5c6d7e8",
"transType": "exchange_in",
"currency": "USD",
"amount": 100.5,
"beforeBalance": 1500.0,
"afterBalance": 1600.5,
"relatedCurrency": "VND",
"exchangeRate": 24000.0,
"isMemberOperated": true,
"remark": "Client Self Exchange",
"createdAt": "2023-10-15T10:30:00Z"
}
],
"total": 1,
"page": 1,
"pageSize": 10
},
"msg": "Success"
}Response Parameters Description
| Field Name | Type | Description |
|---|---|---|
| code | number | Status code, 0 indicates success |
| data | object | Object containing pagination information and the data list |
| data.list | array | List of wallet action records |
| data.total | number | Total number of records matching the criteria |
| data.page | number | Current page number |
| data.pageSize | number | Page size |
| data.list[].transType | string | Transaction type |
| data.list[].currency | string | Currency involved in the transaction |
| data.list[].amount | number | Transaction amount (positive for increase, negative for deduction) |
| data.list[].beforeBalance | number | Balance before the transaction |
| data.list[].afterBalance | number | Balance after the transaction |
| data.list[].relatedCurrency | string | Related currency (only exists during an exchange) |
| data.list[].exchangeRate | number | Exchange rate (only exists during an exchange) |
| data.list[].remark | string | Remark or description |
| data.list[].createdAt | string | Record creation time (ISO 8601 format) |
| msg | string | Response message prompt |