Collect dataBeta
Use Terminal for data collection with the reader hardware interfaces.
Available in: 🌎 for BBPOS Chipper2X BT and Stripe M2 using Android SDK and iOS SDK 3.7.0 and up
Use the Terminal SDK to read non-PCI payment instruments, such as gift cards, using the reader’s hardware interfaces like the magnetic stripe reader. This feature isn’t available offline.
Beta
Request access to the Collect data beta by sending an email to [email protected].
After swiping the card, the Terminal SDK provides a tokenized data object. Securely retrieve the cleartext track data on your backend.
The Terminal reader only reads and stores cleartext magstripe data that follows these formats:
- The card data is available on track 2 only.
- The card data uses only the ISO/IEC-7813 track 2 start sentinel
;
and end sentinel?
, without the separator character. - The card data consists only of numeric digits.
Contact the Terminal team if your card numbers don’t match one of these approved formats.
Collect data![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Use Terminal.
to prompt for data collection from your point of sale application. Specify the type of collected data you want to receive, such as magstripe, in a configuration passed to the function.
Fetch collected data![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Fetch the cleartext data from your backend using the collected data token. The collected data is stored on Stripe’s servers for 24 hours.
Note
Stripe doesn’t perform and isn’t responsible for the authentication of collected data or the authorization of transactions using collected data. Stripe isn’t liable for any illegal conduct or fraud by any third party associated with the collected data.