# API Documentation and Code

**Magensa** is MagTek's cloud-based payment protection gateway that secures sensitive data and processes transactions across in-person, online, and mobile channels using advanced tokenization, dynamic encryption, and authentication services. On this page, developers and integrators can explore detailed documentation and code examples for key Magensa offerings, including API documentation, code samples in multiple languages, developer guides covering EMV acceptance and Level 3 certification, and links to portals for merchants and resellers to manage accounts, view transactions, and generate reports.

### **API Documentation and Code Demos**

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><a href="https://developer.magtek.com/magensa-services/unigate/unigate-demos"><mark style="color:$tint;"><strong>Unigate Demos ></strong></mark></a></td><td><em>Web-based demonstrations using JavaScript for communicating with a variety of MagTek card reading devices and MPPG V5 or later via the Unigate API.</em></td></tr><tr><td><a href="https://unigate.developer.magtek.com/"><mark style="color:$tint;"><strong>Unigate API ></strong></mark></a></td><td><em>Unigate is Magensa's API for both card-present and card-not-present payments via MPPG V5 or later.</em></td></tr><tr><td><a href="https://daf.developer.magtek.com/"><mark style="color:$tint;"><strong>Decrypt and Forward ></strong></mark></a></td><td><em>Secure translation and wrapper service to deliver payloads of any format to any destination.</em></td></tr><tr><td><a href="https://token-exchange.developer.magtek.com/"><mark style="color:$tint;"><strong>TokenExchange V2 ></strong></mark></a></td><td><em>Tokens may be derived from the Tokenization service, or by consuming the response from another transaction.</em></td></tr><tr><td><a href="https://ecommerce.developer.magtek.com/"><mark style="color:$tint;"><strong>TokenExchange Connect ></strong></mark></a></td><td><em>Secure eCommerce and alternative payment transactions through Hosted Payment Pages and iFrames.</em></td></tr><tr><td><a href="https://payment-request.developer.magtek.com/"><mark style="color:$tint;"><strong>Payment Request ></strong></mark></a></td><td><em>High-performance transaction processing and routing.</em></td></tr><tr><td><a href="https://decrypt.developer.magtek.com/"><mark style="color:$tint;"><strong>Decrypt ></strong></mark></a></td><td><em>Secure decryption service.</em></td></tr><tr><td><a href="https://google-mobile.developer.magtek.com/"><mark style="color:$tint;"><strong>Google Pay ></strong></mark></a></td><td><em>Secure mobile wallet payments from Google Pay.</em></td></tr><tr><td><a href="https://documenter.getpostman.com/view/33729815/2sAXxWYTix#88d8b048-33b9-4eaa-9320-d3e82dc1ce3c"><mark style="color:$tint;"><strong>Slingshot ></strong></mark></a></td><td><em>High-performance data transfer service for Dishout and PAX users only.</em></td></tr><tr><td><a href="https://rmsv2.developer.magtek.com/"><mark style="color:$tint;"><strong>Reader Management System API ></strong></mark></a></td><td><em>Main RMS API page covering V5, DynaFlex, DynaPro Go, oDynamo, and iDynamo Gen III.</em></td></tr><tr><td><mark style="color:$tint;"><strong>Wedget ></strong></mark></td><td><em>API for the developer tool/extension to simplify card data acquisition for mobile browsers and native applications for MagneSafe secure card reader authenticators.</em></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/api-documentation-and-code.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.
