Go into the merchant portal and locate the specific plan. Then proceed to cancel it. During this process you will receive the following options; refund the last installment or refund all installments that were captured within the last 120 days.
After choosing the correct refund option, the installment will be refunded and the remaining installments will be canceled.