If any Cash app transfer failed, then you will be notified of it. Along with it, you can check your transaction history. When you open the Activity tab and go for the payment section, there you can see the failed transaction if any. You will get options there to cancel it to get your refund as well.