There are times when the sender decides to cancel a prepaid or postpaid payment token. Amazon FPS
does not refund payments made to fund the prepaid instrument using
You can, however, enable users to get refunds (credits) for items purchased with a prepaid or postpaid
token that they returned. Senders might seek a refund when, for example, a item goes out of stock and
therefore can't be delivered on time or when there is a problem with the product.
This section describes how to cancel prepaid or postpaid payment tokens and, optionally, give refunds.
The Amazon Payments web site, payments.amazon.com, enables senders to cancel prepaid or postpaid transactions from their user accounts. To provide transaction cancellation functionality on your web site, use the following procedure.
To cancel prepaid or postpaid payment tokens
On your web site, create a form that enables the sender to search for and find the prepaid or postpaid payment token to cancel.
Obtain from that transaction the
CancelToken request using those values.
For more information about this action, see CancelToken.
CancelToken request cancels a prepaid payment token specified
https://fps.amazonaws.com/? Action=CancelToken& AWSAccessKeyId=0656Example83G2& SignatureVersion=1& Timestamp=2007-08-06T13%3A00%3A01Z& TokenId=254656Example83987& Version=2008-09-17& Signature=<URL-encoded signature value>
Senders should only be able to use
CancelToken to cancel payment tokens
associated with their own accounts.
Refund action gives you the option of crediting a prepaid balance or
postpaid balance for items returned. You can only give a refund once the sender's payment
instrument has been charged.
You can use the optional parameter
RefundAmount, to refund part or all of
a transaction. For example, a sender purchases $100 worth of goods from a merchant with $3 in
credit card fees paid by the merchant. You can, for example, refund $50 if you like. In a partial
refund, the amount of the transaction fee returned is proportional to the amount refunded. In this
case, the amount refunded is $1.50.
To provide transaction refunding functionality on your web site, use the following procedure.
To refund a transaction
On your web site, create a form that enables the sender to search for and find the transaction to refund.
Obtain from that transaction the
TransactionId and/or the
Whenever you send a
Pay request, the response includes both the
TransactionId and the
both of which you should keep record of.
Refund request similar to the following.
https://fps.amazonaws.com/? Action=Refund& AWSAccessKeyId=0656Example83G2& SignatureVersion=1& Timestamp=2007-08-06T13%3A00%3A01Z& CallerReference=354897217& TransactionId=254656Example83987& Version=2008-09-17& Signature=[
URL-encoded signature value]
For more information about this action, see Refund.
The Amazon Payments web site, payments.amazon.com, enables senders to refund transactions from their user accounts.
In the e-commerce world, there are other types of transaction reversals, including chargebacks and claims. Amazon Payments does not provide actions to handle those activities. Those implementations are left to you to accomplish on your web site. For more information, see Business Considerations.