QueryAccountTransactionDetails
Queries the income and expenditure details of account transactions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bssapi:QueryAccountTransactionDetails |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TransactionNumber |
string |
No |
The transaction number. |
410874027490089 |
| RecordID |
string |
No |
The order ID or bill ID. |
2022120336190912 |
| TransactionChannelSN |
string |
No |
The payment reference No. of the transaction channel. |
2022112122001470591458665933 |
| CreateTimeStart |
string |
No |
The start time of creation. |
2022-01-20 |
| CreateTimeEnd |
string |
No |
The end time of creation. |
2022-12-20 |
| TransactionType |
string |
No |
The transaction type. If you specify one of the following transaction types, the query returns results of the specified type. If no results are found, an empty result is returned. If you do not specify this parameter, all types are returned by default. Valid values:
|
Payment |
| TransactionChannel |
string |
No |
The transaction channel. If you specify one of the following transaction channel types, the query returns results of the specified type. If no results are found, an empty result is returned. If you do not specify this parameter, all types are returned by default. Valid values:
|
AccountBalance |
| NextToken |
string |
No |
The paging token for the paged query. |
ABEDSDS124DASA |
| MaxResults |
integer |
No |
An invalid parameter. |
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API response. |
||
| Code |
string |
The response status code. |
200 |
| Data |
object |
The response data. |
|
| AccountName |
string |
The account name. |
yidi |
| AccountTransactionsList |
object |
||
| AccountTransactionsList |
array<object> |
The list of transaction details. |
|
|
object |
The transaction detail. |
||
| Amount |
string |
The amount. |
1.00 |
| Balance |
string |
The balance. |
0 |
| BillingCycle |
string |
The billing cycle. |
2022-10 |
| FundType |
string |
The fund type. Valid values:
|
Cash |
| RecordID |
string |
The order ID or bill ID. |
2022120336190912 |
| Remarks |
string |
The remarks. |
Test |
| TransactionAccount |
string |
The corresponding transaction account. |
fortune_test@xxx.com |
| TransactionChannel |
string |
The transaction channel. |
Alipay |
| TransactionChannelSN |
string |
The payment reference No. of the transaction channel. |
123232434343532 |
| TransactionFlow |
string |
The income and expenditure type. If you specify one of the following types, the query returns results of the specified type. If no results are found, an empty result is returned. If you do not specify this parameter, all types are returned by default. Valid values:
|
Income |
| TransactionNumber |
string |
The transaction number. |
43342334 |
| TransactionTime |
string |
The transaction time in the YYYY-MM-DD format. |
2022-10-01 |
| TransactionType |
string |
The transaction type. If you specify one of the following transaction types, the query returns results of the specified type. If no results are found, an empty result is returned. If you do not specify this parameter, all types are returned by default. Valid values:
|
Consumption |
| MaxResults |
integer |
An invalid parameter. |
0 |
| NextToken |
string |
The pagination token. |
ASHDADS |
| TotalCount |
integer |
The total number of query results. |
100 |
| Message |
string |
The result description. |
SUCCESS |
| RequestId |
string |
The request ID. |
asadadad-edafafafaasd |
| Success |
boolean |
Indicates whether the request is successful. |
true |
Examples
Success response
JSON format
{
"Code": "200",
"Data": {
"AccountName": "yidi",
"AccountTransactionsList": {
"AccountTransactionsList": [
{
"Amount": "1.00",
"Balance": "0",
"BillingCycle": "2022-10",
"FundType": "Cash",
"RecordID": "2022120336190912",
"Remarks": "Test",
"TransactionAccount": "fortune_test@xxx.com",
"TransactionChannel": "Alipay",
"TransactionChannelSN": "123232434343532",
"TransactionFlow": "Income",
"TransactionNumber": "43342334",
"TransactionTime": "2022-10-01",
"TransactionType": "Consumption"
}
]
},
"MaxResults": 0,
"NextToken": "ASHDADS",
"TotalCount": 100
},
"Message": "SUCCESS",
"RequestId": "asadadad-edafafafaasd",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.