GetAccountActivity

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.

ParameterDescriptionTypeConstraints

Operation

Specifies that one of the operation type is used as the filter criteria. By default filter is not applied.

FPSOperationFilter

Optional

PaymentMethod

Specifies that one of the payment methods is used as the filter. By default the filter is not applied.

PaymentMethod

Optional

MaxBatchSize

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.

StartDate

The transaction details beginning with this date are returned. StartDate cannot be a date in the future.

dateTime

Required

EndDate

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

ResponseGroup

By default, the response group is Detail.

GetAccountActivityResponseGroup

Optional

SortOrderByDate

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.

SortOrder

Optional

Role

Specifies one of the role (sender, recipient, caller) type as filter criteria. By default, the filter is not applied.

TransactionalRoleFilter

Optional

Status

Specifies transaction status as filter criteria.

TransactionStatusFilter

Optional

ElementDescriptionTypeAvailability

ResponseBatchSize

Specifies the total number of results returned Integer Always returned

Transactions

Specifies the list of transactions Transactions Returned only if there are any transactions

StartTimeForNextTransaction

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

Status

Specifies the status of the request

ResponseStatus

Always returned

Errors

Contains an error code that describes the reason for the failure of the request ServiceErrors Returned only if status=failure

RequestId

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