Request amount returned
The getOrderDetails API returns the request amount to be authorized on orders, including draft orders.
The request amount equals the following subtracted from the total of the order:
- MaxChargeLimits of active payment methods
- Charges made with currently suspended payment methods
- The sum of any credits not tied to payment methods
Payment methods marked UnlimitedCharges = Y are counted as having a limit of 0. If there are extra charges or authorizations on the order, the request amount may be negative. For example, if an order has a total of $100, and the following payments, the request amount is $60 ($100-0-$30-$10):
- Gift card with a maximum charge limit of $30
- Suspended credit card with a maximum charge limit of $20 ($10 charged)
- Credit card with unlimited charges