Yes. You will see that your 2201 - IPATA “bank and cash accounts” will have 1 million Naira received and that the Loan in liabilities also shows 1 million Naira.
Just reverse the action. Through payment tab issue the payment, and the account reflecting the transaction will be Bank Loan as debit, so the payment amount will be deducted from the loan balance.
In chart of accounts create a Interest on Loans expense account.
The create a Payment from your chosen bank or cash account and add 2 line items, one where account is Bank loan and the other Interest payment on loans see screenshot
So this will reduce the amount under the Assets Bank/Cash and Liabilities Bank Loan to whatever amount you decided to repay and add in this case 50,000 to the Expense account Interest payment on loans.