GetResults

Description

The GetResults operation is used to poll for transaction results that are returned asynchronously. The GetResults response provides status on each of the transactions returned by Amazon FPS. See the Using the GetResults Operation topic for more information on how GetResults operation works.

You can view details of individual transactions using the GetTransaction operation. However, to find the status of the transactions, you should use the GetResults operation.

Request Parameters

ParameterDescriptionTypeConstraints

Operation

Used to filter results based on the operation type (e.g. Pay, Refund, Settle, SettleDebt, WriteOffDebt, FundPrepaid)

FPSOperationFilter

Optional

MaxResultsCount

Used to specify the maximum results that can be retrieved. The minimum value is 1 and the maximum value is 25. By default the maximum or the available results are returned.

Integer

Optional

Response Elements

ElementDescriptionTypeAvailability

TransactionResults

Specifies the list of transactions.

TransactionResult

Returned only if the status of GetResults API request is successful.

NumberPending

Specifies the total number of results to be discarded

Integer

Returned only if status=success

Status

Specifies the status of the GetResults API request. If the status of the API request is successful, then Amazon FPS will return a list of transactions.

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

Error Codes

Related Operations