readCard method reads data from a card using either the magnetic swipe reader (MSR) or the contactless NFC reader. It supports Mifare cards only for NFC. This method is commonly used in loyalty or identification scenarios.
If the user cancels the operation or the request times out, it can be aborted using the abortReadCard method.
Request
JSON-RPC 2.0All methods in TweezerComm follow a JSON-RPC 2.0 structure. See Get Started for more details on how the requests are structured and sent.
readCard the parameters should define the reader configuration and user interface messages.
Request Parameters
See the table below for a description of the available request parameters for this method.
Mifare Object Parameters