Yes, your deposit will be refunded to the original payment method. However, it is not automatic—you need to log in to your WAHDAH account and click "Withdraw."
WAHDAH Website: Go to profile > click on WaCash/Deposit > click on Withdraw
WAHDAH App: Go to profile > click on WaCash > click on Withdraw