DescribeTransactionHistory
1. API Description
This API is used to query transaction history. You can query up to 10,000 items.
2. Input Parameters
The following request parameter list only provides API request parameters.
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
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.
3. Output Parameters
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
Information on transactions.
4. Code Example
Query transaction history.
5. Developer Resources
Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.
6. Error Codes
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
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.
Last updated