O'Reilly logo

Programming Amazon Web Services by James Murty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

FPS: Flexible Payments Service

Here is the list of error responses that may be returned by the FPS Query API version 2007-01-08.

Error CodeDescriptionRecommended ActionReturned by
AccountLimitsExceededThe spending or receiving limit on the account is exceeded

You can display the following message to your customers:

You have exceeded your spending or receiving limits. Please visit http://payments.amazon.com to update your payment limits.

Pay, Reserve, FundPrepaid, SettleDebt
AmountOutOfRangeThe transaction amount is more than the allowed range.Ensure that you pass the amount within the allowed range. The transaction amount in a Pay operation using credit card or bank account is between $0.01 and $10,000.FundPrepaid, Pay, Refund, Reserve, SettleDebt, Settle, WriteOffDebt
BadRuleOne of the GK constructs is not well defined.Check the line number that resulted in this error. See the GateKeeper language reference for more information.InstallPaymentInstruction
CannotSpecifyUsageForSingleUseTokenToken usages cannot be specified for a single use token.A single use token does not support multiple usage of the token. You must use a multiuse token to specify usage limits. Use TokenType=MultiUse when you create the token. See the InstallPaymentInstruction operation topic for more information.InstallPaymentInstruction
ConcurrentModificationA retriable error can happen due to concurrent modification of data by two processes.The caller should retry the request if this error is encountered.Refund, RetryTransaction, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required