Orders remain in a pending state for 30 days from the transaction date, after which they become locked and can no longer be modified. If needed, you can manually cancel orders within the Order Log during the pending period.
While there are valid reasons to reverse a commission—such as code misuse or a return—cancellations should be used thoughtfully and not for routine adjustments.