Orders handle the purchases of end customers. When you create an Order, you are instructing Digital River, as the authorized reseller, to send an authorization request that starts the collection process.
The Order object also preserves information about each order successfully placed by your customers. The data in an Order persists, acting as a permanent record of the sale, which Digital River is required to maintain for auditing purposes.
An Order also creates an enduring record of when an order is placed, a charge is created, a charge is captured, a refund is processed, and other key events in the order lifecycle. More specifically, in addition to the data returned in the response to a Checkout request, an Order persists the following:
The total refunded, cancelled, and captured payment amounts
A Charge object containing a payment source, an amount charged to that source, and the state of the charge
The following diagram depicts the relationship between an Order and other resources in the Digital River API.