Get Funding Account Bill
HTTP request Get Funding Account Bill Records
- POST /api/v2/account/fundingBills
Weight(IP): 5, Weight(UID): 5
Request parameters
| Parameter | Parameter type | Required? | Description | 
|---|---|---|---|
| coinId | Integer | No | Currency ID | 
| bizType | String | No | Business type deposit - Deposit withdraw - Withdrawal transfer_in - Transfer in transfer_out - Transfer out buy - Buy asset sell - Sell asset c2c_buy - C2C buy c2c_sell - C2C sell | 
| startTime | Long | No | Records created after start time | 
| endTime | Long | No | Records created before end time | 
| pageIndex | Integer | No | Page number, default 1 | 
| pageSize | Integer | No | Number of results to return, default 10, maximum 100 | 
Request example
curl -X POST "https://api-spot.weex.com/api/v2/account/fundingBills" \
   -H "ACCESS-KEY:*******" \
   -H "ACCESS-SIGN:*******" \
   -H "ACCESS-PASSPHRASE:*****" \
   -H "ACCESS-TIMESTAMP:1659076670000" \
   -H "locale:zh-CN" \
   -H "Content-Type: application/json" \
   -d '{"coinId": 1}'
Response parameters
| Field Name | Type | Field Description | 
|---|---|---|
| total | Integer | Total number of records | 
| page | Integer | Current page number | 
| pageSize | Integer | Page size | 
| hasNextPage | Boolean | Whether there is a next page | 
| >billId | String | Bill ID | 
| >coinId | Integer | Currency ID | 
| >coinName | String | Currency name | 
| >bizType | String | Business type | 
| >deltaAmount | String | Balance change amount | 
| >afterAmount | String | Post-transaction balance | 
| >fees | String | Transaction fee | 
| >cTime | String | Creation timestamp | 
Response example
{
  "code": "00000",
  "msg": "success",
  "requestTime": 1759310301500,
  "data": {
    "total": 1,
    "pageSize": 10,
    "page": 1,
    "hasNextPage": false,
    "items": [
      {
        "billId": "59335865",
        "coinId": 2,
        "coinName": "USDT",
        "bizType": "transfer_in",
        "deltaAmount": "100.00000000",
        "afterAmount": "100.19000000",
        "fees": "0.00000000",
        "cTime": "1759306073919"
      }
    ]
  }
}