'How to program an ACR122U NFC reader?

I am having an NFC ACR122U device which I want to program in a way that If I tap a tag/card/mobile phone on it, payment records in database should be updated by $5 on each tap. The problem is that this is my first time programming a hardware device and I am not sure which tool/technology I should use to achieve the desired functionality. Any guidance will be really appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source