Why didn't I receive refund as my UPI Payment is failed?

Why didn't I receive refund as my UPI Payment is failed?

If your Payment is getting failed because of you transferring funds from a different bank account, then a refund will be instant.

But if Payment is failed due to your bank,then money will be refunded between 3-4 working days depending on your bank.