We currently have a Clover App that makes a request to our proprietary backend that then sends another request to POST /merchants/x/orders/y/payments to apply a payment to an open order by ID.
How would we go about this same process, but using the Clover SDK instead of the REST API? We'd like to complete the payment operations as close to the terminal as we can instead of adding this unnecessary overhead.