Best practices for handling IPNs

After you have received an Instant Payment Notification, check whether you need more details than what was provided by the IPN and perform the corresponding GET operation for the respective object if necessary: GetOrderReferenceDetails, GetAuthorizationDetails, GetCaptureDetails, or GetRefundDetails.

Calling the associated API gives you the full details about a payment object, including any reason codes or error handling.

For more information about reason codes, see the States and reason codes section of the Amazon Pay API reference guide.