Adds the Cancel Order endpoint.
Allows an API user to cancel a Bold Checkout Order. Bold Checkout voids all outstanding authorized payments on the order and attempts to cancel the order on the platform. This request takes an optional 'reason' value if you wish to provide a reason for the order cancellation.
This request will fail if the any of the payments on the order have already been captured or if any part of the order has already been fulfilled.