displaySwipeCard method prompts the user to swipe a magnetic card using the terminalโs MSR (Magnetic Stripe Reader). You can customize the messages shown on the display.
This method returns the Track 2 data of the card once it has been read.
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.
method field to displaySwipeCard, and include the service name and parameters as shown below.