Get Bills
Get Bills
Get account bills
Request frequency limit: 1/1s
Request URL
GET /deepcoin/account/bills
Request Parameters
| Field Name | Required | Type | Description |
|---|---|---|---|
| instType | true | string | Product type Spot: SPOTContract: SWAP |
| ccy | false | string | Currency |
| type | false | string | Account type Fund income: 2Fund expense: 3Fund transfer: 4Fee: 5 |
| after | false | integer | Query content before this timestamp (in milliseconds) |
| before | false | integer | Query content before this timestamp (in milliseconds) |
| limit | false | integer | Maximum number of items per page is 100Default: 100 |
Response Parameters
| Field Name | Type | Description |
|---|---|---|
| billId | string | Bill ID |
| ccy | string | Account currency |
| clientId | string | Custom ID |
| balChg | string | Balance change amount at account level |
| bal | string | Balance amount at account level |
| type | string | Bill type 1: "P/L" 2: "Income and Expenditure" 3: "System Transfer In" 4: "Withdraw to" 5: "Transaction Fee" 7: "Funding Fee" 8: "Settlement" a: "Liquidation" g: "Withheld Profits" h: "Refunded withheld profit share" i: "Copy trading profit share" j: "Trial bonus issuance" k: "Trial money recovery" i: "Copy trading profit share" j: "Trial bonus issuance" k: "Trial money recovery" |
| ts | string | Bill creation time in Unix timestamp |
Response Example
{
"code": "0",
"msg": "",
"data": [
{
"billId": "1000749090787153",
"ccy": "USDT",
"clientId": "",
"balChg": "-0.08911552",
"bal": "210523.96755368",
"type": "5",
"ts": "1736760623000"
},
{
"billId": "1000749090787141",
"ccy": "USDT",
"clientId": "",
"balChg": "-0.11841053",
"bal": "210527.00491822",
"type": "5",
"ts": "1736760503000"
}
]
}