Queries the details of account transactions (income and expenditure).
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 number or bill number. | 2022120336190912 |
TransactionChannelSN | string | No | The transaction serial number (SN) assigned by the payment channel. | 2022112122001470591458665933 |
CreateTimeStart | string | No | The start of the creation time range. | 2022-01-20 |
CreateTimeEnd | string | No | The end of the creation time range. | 2022-12-20 |
TransactionType | string | No | Valid values:
| CHARGE |
TransactionChannel | string | No | Valid values:
| ALIPAY |
NextToken | string | No | The token for a paged query. | ABEDSDS124DASA |
MaxResults | integer | No | This parameter is not in use. | 0 |
Response elements
Parameter | Type | Description | Example |
object | The returned result. | ||
Code | string | The status code of the response. | 200 |
Message | string | The description of the result. | SUCCESS |
RequestId | string | The ID of the request. | asadadad-edafafafaasd |
Success | boolean | Indicates whether the request was successful. | true |
| Data | object | The content of the result. | |
NextToken | string | The paging token. | ASHDADS |
TotalCount | integer | The total number of query results. | 100 |
MaxResults | integer | This parameter is not in use. | 0 |
AccountName | string | The account name. | yidi |
| AccountTransactionsList | object | ||
| AccountTransactionsList | array<object> | The list of details. | |
object | The result. | ||
BillingCycle | string | The billing cycle. | 2022-10 |
TransactionChannel | string | The transaction channel. | ALIPAY |
RecordID | string | The order number or bill number. | 2022120336190912 |
Remarks | string | The remarks. | Test |
Amount | string | The amount. | 1.00 |
TransactionAccount | string | The transaction account. | fortune_test@xxx.com |
TransactionTime | string | The transaction time. | 2022-10-01 |
TransactionType | string | Transfer Adjust | Consumption |
TransactionFlow | string | Income Expense | Income |
FundType | string | RegularBankCreditRefund: Credit control refund DirectPay: Direct pay | Cash |
TransactionChannelSN | string | The payment reference No. of the transaction channel. | 123232434343532 |
TransactionNumber | string | The transaction number. | 43342334 |
Balance | string | The balance. | 0 |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "SUCCESS",
"RequestId": "asadadad-edafafafaasd",
"Success": true,
"Data": {
"NextToken": "ASHDADS",
"TotalCount": 100,
"MaxResults": 0,
"AccountName": "yidi",
"AccountTransactionsList": {
"AccountTransactionsList": [
{
"BillingCycle": "2022-10",
"TransactionChannel": "ALIPAY",
"RecordID": "2022120336190912",
"Remarks": "Test\n",
"Amount": "1.00",
"TransactionAccount": "fortune_test@xxx.com",
"TransactionTime": "2022-10-01",
"TransactionType": "Consumption",
"TransactionFlow": "Income",
"FundType": "Cash",
"TransactionChannelSN": "123232434343532",
"TransactionNumber": "43342334",
"Balance": "0"
}
]
}
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.