You can use the GetAccountActivity operation to retrieve transactions from an account for a given time period. You can customize the results using the various request parameters listed in this topic.
| Parameter | Description | Type | Constraints |
|---|---|---|---|
|
|
Specifies that one of the operation type is used as the filter criteria. By default filter is not applied. |
Optional | |
|
|
Specifies that one of the payment methods is used as the filter. By default the filter is not applied. |
Optional | |
|
|
Specifies the maximum number of transactions to be returned. |
Integer |
Optional Max batch size = 200 Default batch size = 20 If specified, the value must be between 20 and 200. |
|
|
The transaction details beginning with this date are returned. |
dateTime |
Required |
|
|
This specifies the final date for the list of transactions. If the end date is not specified, then all transactions up to the current date are returned. |
dateTime |
Optional |
|
|
By default, the response group is |
Optional | |
|
|
Specifies that the transactions details are sorted by date. The date is when the request was received by Amazon FPS. By default, the transaction details are sorted in descending order of date. |
Optional | |
|
|
Specifies one of the role (sender, recipient, caller) type as filter criteria. By default, the filter is not applied. |
Optional | |
|
|
Specifies transaction status as filter criteria. |
Optional |
| Element | Description | Type | Availability | |||
|---|---|---|---|---|---|---|
|
| Specifies the total number of results returned | Integer | Always returned | |||
|
| Specifies the list of transactions | Transactions | Returned only if there are any transactions | |||
|
|
Provides the start time for the next transaction. Amazon FPS returns a maximum of 200 results for a request. You can use the new start time to iterate over the next set of transactions to view the results. For example, if you need the account activity for the period Jan-1-2007 to Dec-31-2007 and there are more than 200 transaction during that period, Amazon FPS will return the first 200 transactions and also send the date, Apr-20-2007, on which the 201st transaction is available. You can iterate by specifying Apr-20-2007 as the next start date keeping the end date the same (as in the original request). |
dateTime | Returned only if there are more than 200 transactions | |||
|
| Specifies the status of the request | Always returned | ||||
|
| Contains an error code that describes the reason for the failure of the request | ServiceErrors | Returned only if status=failure | |||
|
| Amazon FPS returns a request Id for every request. This value is important for debugging purposes. See the RequestId Response Parameter topic for more information about this parameter. | String Max size = 39 characters | Always returned | |||