See this..

https://www.quora.com/POS-machine-declined-my-debit-card-but-the-amount-has-been-deducted-How-will-I-get-my-money-back