Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to Digg

Data Types

This section describes the data types common to the Amazon Simple Pay actions.

Topics

Amount Data Types

NameDescription

CurrencyCode

The currency code of the amount. Amazon FPS currently supports only USD.

Type: String

Valid Values: USD

Value

The transaction amount.

Type: String

MarketplaceRefundPolicy Data Types

NameDescription

MarketplaceTxnOnly

Caller refunds his fee to the recipient.

Type: String

MasterAndMarketplaceTxn

Caller and Amazon FPS refund their fees to the sender, and the recipient refunds his amount

Type: String

MasterTxnOnly

Caller does not refund his fee. Amazon FPS refunds its fee and the recipient refunds his amount plus the caller's fee to the sender.

Type: String

API TransactionStatus Data Types

NameDescriptionType

Cancelled

The transaction was canceled.

String

Failure

The transaction failed. The API operation failed and Amazon FPS did not receive or record a transaction. You can retry the transaction only if a retriable error was returned.

String

Pending

The transaction is pending.

String

Reserved

The reserve request on the transaction succeeded. Amazon FPS reserves the purchase price against the sender's payment instrument.

String

Success

The transaction succeeded. You can fulfill the order for the customer.

String