Swipe API: What's Included
In this article
Swipe with an ID Tech card reader
Supported in:
The API supports card reading with several IDTech card readers, including:
- Shuttle and UniMag II, which connect via the headphone jack
- iMag Pro II, which connects via the Lightning port
This API allows you to request a magnetic stripe card swipe, returning the data encoded on the card and/or results of the current swipe (success, fail, timeout, or cancel) to your JavaScript code. This API also supports checking the current connection state of the card reader.
ID Tech readers are available in encrypted and unencrypted versions. Unencrypted readers can return a plain text string of the data encoded on the card and are appropriate for low-security applications such as check-in or loyalty cards. Encrypted readers can return either a masked or encoded string, which can only be decrypted with the private key associated with that reader.
View Documentation & Sample Code
Swipe with a MagTek card reader
Supported in:
The API supports Magtekās most popular magnetic stripe card reader, the iDynamo, which connects through the Lightning port and provides a pass-through port for device charging.
This allows you to request swiping of the card and returns the card's data back to your HTML page. You can also get different connection states of the card reader, and get different callbacks about results of swiping (success, fail, timeout, or cancel).
MagTek readers are only available as encrypted devices. These encrypted readers can return either a masked or encoded string, which can only be decrypted with the private key associated with that reader.
View Documentation & Sample Code
Send card swipe to MercuryPay for encrypted payment processing
Supported in:
Kiosk Pro Enterprise provides the ability to communicate with MercuryPay servers to process secure, end-to-end encrypted credit card transactions using a ID Tech Shuttle or MagTek iDynamo card reader correctly keyed to MercuryPay's servers.