DescribeTransactionHistory
Last updated
Last updated
This API is used to query transaction history. You can query up to 10,000 items.
The following request parameter list only provides API request parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Parameter Name | Type | Description |
---|---|---|
Query transaction history.
Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
HTTP Status Code | Error Code | Description |
---|---|---|
pageNum
No
Integer
Number of pages returned.
Default value: 1.
pageSize
No
Integer
Number of items in the current page result.
Maximum value: 10,000.
transactionType
No
Array of TransactionType
Transaction type.
startTime
No
Date
Start time.
The value is one month ago by default. You cannot set a start time earlier than 3 months ago.
endTime
No
Date
End time.
The value is current time by default.
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
incomeSum
Double
Total income.
expenditureSum
Double
Total spend.
totalCount
Integer
Number of transactions meeting the filtering conditions.
dataSet
Array of TransactionHistory
Information on transactions.
400
CAN_NOT_GET_THAN_10000
Up to 10,000 items can be queried.
400
TIME_MORE_THAN_3_MONTHS
Start time cannot be earlier than 3 months ago.