I tried to void a payment transaction using the Javascript SDK and looks like it removes the payment from the order (created automatically by the JS SDK upon payment creation using Clover#sale()) and leaves the order open with no payment.
I was expecting a behaviour like the "refund" action I can take from the JS SDK. Using the "refund" the payment on the order gets the "refunded" status and the order goes to a complete state of "refunded".
Is this "void" behaviour the final version of it and is supposed to work this way or will/can it be changed to behave somewhat like the "refund"?