Why was the payment deducted from my bank account when the transaction failed?

Why was the payment deducted from my bank account when the transaction failed?

Details

While your transaction is declined, your bank might have already processed and approved it. You may see a pending charge on your account. Since the transaction is not successful, the charge will be canceled and the payment will be refunded to your bank account after a period of time (from hours to days depending on your bank).