To troubleshoot the Card related issues you can check the link: https://127.0.0.1:8440/api/v1/card/getmessage?nowait.
The response format is as follows:
{ result: [<status>], cardid: <card id>, readerid: <reader id> }
The following status is implemented:
NO_READER: Indicates that the card service did not detect a card reader connected.
READER_ON: Indicates that the card service detected a card reader connected.
NO_CARD: Indicates that there is no card on the reader.
CARD_ON: Indicates that a card is presented to the reader.
NOTE:Card ID can be used only with CARD_ON and NO_CARD status.