"What happens if a sale is refunded?",

Related commissions are reversed. You’ll see adjustments labeled as Refund Reversal in your Earnings history.