Step 9: Mark the order reference as closed
Mark an Order Reference object that is in an Open or Suspended state as Closed to indicate that the order has been fulfilled, and you will not request any more authorizations against it. If you can only partially fulfill the order, you should still mark the Order Reference object as Closed after charging the appropriate amount.
Amazon uses a Closed Order Reference object to indicate to buyers that they have completed payment for their order. Otherwise, when buyers review their transactions on the Amazon Pay website, these order references are shown as Open for 180 days. After 180 days, Amazon changes the status of the Order Reference object to Closed with a reason code of Expired.
When the Order Reference object is marked as Closed:
- You can still capture funds against open authorizations on the order reference.
- You cannot create any new authorizations on the Order Reference object.
- You can still execute refunds against the Order Reference object.
Make a call to the CloseOrderReference API.
- "Canceling an order" section of Handling payment for post-purchase order modifications
- CloseOrderReference payment API in the Amazon Pay API reference guide