Instant Reversal of Failed Transactions

So here’s the thing: I did a transaction at some Online retailer based in the US. The transaction was declined but the Money was deducted. When I told this to in-app support the person refunded that money manually for me. I know that it normally takes 1-2 days and usually happens because of Prepaid Card ( 3DSecure Checks etc).
So I was thinking it might be a handy feature to have an instant reporting of this type of incident automatically to the server so that server checks and refunds immediately after receiving the request instead of waiting whole 1-2 days or contacting in-app support for such matters. Because sometimes money may be required urgently.