# TokenExchange Connect

**TokenExchange Connect** is a client‑side JavaScript library from MagTek that enables secure, browser‑based tokenization of sensitive payment data before it ever reaches your servers. Part of the Magensa TokenExchange ecosystem, TokenExchange Connect allows merchants, ISVs, and developers to capture cardholder data directly from a web browser and exchange it for a PCI‑compliant, vaultless token—without requiring the underlying PAN to pass through the merchant's infrastructure. The library works by establishing a direct, encrypted connection between the end‑user's browser and Magensa's PCI‑certified TokenExchange service, where the card data is tokenized in real time. The resulting token can then be safely stored or transmitted to your application for subsequent payment operations (e.g., Sale, Auth, Capture) via the TokenExchange REST API or Magensa Payment Protection Gateway (MPPG). TokenExchange Connect supports all major web browsers, integrates easily with existing checkout forms, and helps reduce PCI DSS scope by eliminating inbound cardholder data handling. The service is ideal for e‑commerce websites, recurring billing portals, and any web‑based application requiring secure card capture.

The official MagTek TokenExchange Connect support page is a central hub containing all the resources you'll need. There you can find product brochures (including the Magensa TokenExchange Connect overview), programmer's manuals and API references (covering the TokenExchange Connect JavaScript library and integration with TokenExchange v2.0), software downloads including the latest version of the TokenExchange Connect library and sample code, developer guides with step‑by‑step integration examples, a comprehensive FAQ section, and instructional videos.

### TokenExchange Connect Support

<table data-view="cards"><thead><tr><th></th></tr></thead><tbody><tr><td><a href="https://www.magtek.com/support/remote-services"><mark style="color:$tint;"><strong>Support Page ></strong></mark></a></td></tr></tbody></table>

{% hint style="info" %}
**Need Help?**

For additional support, please contact MagTek Support:

**Technical Support:**

* 📧 **Email:** [support@magtek.com](mailto:support@magtek.com?subject=Support%20Request)
* 📞 **Phone:** 1-562-546-6800 (US)
* 🕐 **Hours:** Monday-Friday, 5:30 AM - 5:00 PM PST

**Online Resources:**

* 🌐 **Support Portal:** developer.magtek.com

**Documentation Feedback:**

Help us improve this documentation! [feedback@magtek.com](mailto:feedback@magtek.com?subject=Feedback)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.magtek.com/magensa-services/tokenexchange-connect.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
