We deduct the amount for which the developer has worked and we refund the completed remaining balance back to your account.
For example, if your monthly contract is for $2500 per month and the contract is terminated after 20 days of working then
2500/30 = $83.33 (daily cost). 83.33 *20 = 1666.66 (Cost for 20 days) 2500 - 1666.66 = $833.33 (refunded back to the client) And all further payments for the contract are nullified.