All Products
Search
Document Center

QueryAccountTransactions

Last Updated: May 15, 2019

API Name

QueryAccountTransactions

Overview

You can call this operation to query account transaction flow information.

Request parameters

Name Type Required Description
TransactionNumber String No
RecordID String No Order/Bill number
TransactionChannelSN String No The serial number of the Transaction Channel
CreateTimeStart String No The start time of expiration. Format: yyyy-MM-dd’T’HH:mm:ss’Z’, Example: 2018-08-01T00:00:00Z
CreateTimeEnd String No The end time of expiration. The default query time is one month before. Format: yyyy-MM-dd’T’HH:mm:ss’Z’, Example: 2018-08-01T00:00:00Z.

Response parameters

Name Type Description
TransactionNumber String
TransactionTime String
TransactionFlow String Income,Expense
TransactionType String Payment,Withdraw,Refund,Comsumption,Transfer,Adjust
TransactionChannel String AccountBalance, BankTransfer,Alipay,AntCreditPay,OfflineRemittance,RegularBankCreditRefund,CreditCard,MyBankCredit,HuaxiaBankCInstallment
TransactionChannelSN String The serial number of the Trading Channel
FundType String Cash,Deposit,RegularBankCreditRefund
RecordID String Order/Bill number
Remarks String Remarks
BillingCycle String Account period,Format:YYYY-MM
Amount String Amount
Balance String Balance
AccountName String AccountName
TransactionAccount String Corresponding to the transaction account, such as Alipay recharge account or transfer peer account

Error codes

Error code Description HTTP status code Description
NotApplicable This API is not applicable for caller. 400 The error message returned when you are not authorized to use the API.
MissingParameter The specified parameter xx is mandatory for this request. 400 The error message returned when the xx parameter is not specified.
InvalidParameter The specified parameter xx is not valid. 400 The error message returned when the xx parameter is invalid.
InvalidModuleCode The specified moduleCode is not valid. 400 The error message returned when the specified moduleCode parameter is invalid.
InvalidConfigCode The specified configCode is not valid. 400 The error message returned when the specified configCode parameter is invalid.
InvalidOwner The specified owner doesn’t belong to caller. 400 The error message returned when the specified owner does not belong to the caller.
InvalidCaller The specified caller doesn’t exists. 400 The error message returned when the caller is invalid.
InternalError The request processing has failed due to some unknown error, exception or failure. 400 The error message returned when an unknown internal error occurs.
ProductNotFind Can not find inquired product, it may not exist. 400 The error message returned when the specified product is invalid.

Sample requests

  1. &Action=QueryAccountTransactions

Sample responses

  1. "Data": {
  2. "AccountTransactionsList": {
  3. "AccountTransactionsList": []
  4. },
  5. "AccountName": "wb-lcq502698"
  6. },
  7. "Message": "Successful!",
  8. "RequestId": "AA039597-F644-4B46-B369-E6B98AB97476",
  9. "Success": true,
  10. "Code": "Success"