Page 1
SDK - MagneFlex Powder, MIddleware, PIN PEDs Programmer’s Manual (MagneFlex API) February 2021 Manual Part Number: D998200118-70 REGISTERED TO ISO 9001:2015 MagTek I 1710 Apollo Court I Seal Beach, CA 90740 I Phone: (562) 546-6400 I Technical Support: (888) 624-8350 www.magtek.com...
Page 2
No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of MagTek, Inc. MagTek® is a registered trademark of MagTek, Inc.
ATTENTION: CUSTOMER SUPPORT. TERMS, CONDITIONS, AND RESTRICTIONS MagTek, Incorporated (the "Licensor") owns and has the right to distribute the described software and documentation, collectively referred to as the "Software." LICENSE: Licensor grants you (the "Licensee") the right to use the Software in conjunction with MagTek products.
Page 4
Agreement and will not affect the enforceability of any of the remaining provisions. This Agreement shall be governed by the laws of the State of California and shall inure to the benefit of MagTek, Incorporated, its successors or assigns.
How to Set Up the MagneFlex Powder .................. 10 How to Connect MagneFlex Powder Service to a Host ..........10 How to Connect DynaPro Mini to a Windows Host via BLE ........10 MagneFlex Powder Resources ....................14 CheckHealth ........................14 RequestCardSwipe ......................
Page 6
0 - Table of Contents Appendix A TLV Data Format ....................37 ARQC Message Format ....................37 ARQC Response (from online processing) ..............37 Transaction Result Message – Batch Data Format ............. 38 SDK - MagneFlex Powder, MIddleware,| PIN PEDs | Programmer’s Manual (MagneFlex API) Page 6...
IPAD, DynaPro, and DynaPro Mini connected to a Windows-based host via USB, BLE, or by Ethernet. It is part of a larger library of documents designed to assist IPAD, DynaPro, and DynaPro Mini implementers, which includes the following documents available from MagTek: ...
DynaPro Windows 7, Windows 8, 8.1 & Windows 10 ETHERNET Windows 7, Windows 8, 8.1 & Windows 10 DynaPro Mini Windows 7, Windows 8, 8.1 & Windows 10 Windows 8, 8.1 & Windows 10 DynaPro Go Windows 7, Windows 8, 8.1 & Windows 10 Windows 8, 8.1 &...
How to Connect DynaPro Mini to a Windows Host via BLE To connect DynaPro Mini to a host with Windows 8.1 or higher and Bluetooth 4.0 hardware that supports BLE, follow these steps: 1) If you are using an external Bluetooth adapter, install any required drivers and connect it to the host.
Page 11
2 - How to Set Up the MagneFlex Powder b) Touch the Bluetooth icon in the system tray and select (see Figure Add a Bluetooth Device 2-1). Figure 2-1 - Launch Manage Bluetooth Devices App from Desktop Mode Figure 2-2 – Windows 8 Manage Bluetooth Devices App 9) Locate the serial number on the label on the bottom of the device.
Page 12
2 - How to Set Up the MagneFlex Powder (or the device’s actual password if it has been configured differently), 12) Enter default passcode 000000 then press the button. Windows will return you to the page. Next Manage Bluetooth devices After a short period of time, you will see the text below the device you are pairing with.
Page 13
2 - How to Set Up the MagneFlex Powder 15) Remember to change the default password. See the DynaPro Mini Programmer’s Reference documents for details. To unpair from the device: 1) Locate the device in the Manage Bluetooth devices window.
3 - MagneFlex Powder Resources MagneFlex Powder Resources MagneFlex Powder can be hosted as a Windows service (MagTek PPSCRA WEBAPI Host service or executable (MTPPSCRA.WEBAPI.Host.exe). CheckHealth Returns the operational status of the MagnFlex Powder. Using Method GET: api/mtppscrahost/CheckHealth Return Value: A string array containing API name and status.
3 - MagneFlex Powder Resources WaitTime Time in seconds the device will wait for the action to be completed. (1 - 255) DisplayMessage Message to prompt the user with: 0 = Swipe Card / Idle alternating 1 = Swipe Card 2 = Please Swipe Card 3 = Please Swipe Card Again 4 = Chip Error, Use Mag Stripe...
Page 16
3 - MagneFlex Powder Resources Parameter Description DeviceID URI of the device. For USB devices, Use an empty string to open the first device found. Otherwise use: USB://DEVICESERIALNUMBER Example, USB://99261829170E0810 For Ethernet devices, use the form: IP://IPAddress:PORT Example, IP://10.57.10.180:26 For 802.11 Wireless devices, use in the form: TLS12://TLSDEVICESERIALNUMBER TLS12TRUST://TLSDEVICESERIALNUMBER Example, TLS12://TLS99261829170E0810...
3 - MagneFlex Powder Resources Data TLV data block to send to the device. Data block must be formed as an F9 CBC-MAC container message. Reference the device manual for details. AAAA /* 2-byte MSB message length excluding padding and CBC-MAC */ F9<len>...
Page 18
3 - MagneFlex Powder Resources Parameter Description DeviceID URI of the device. For USB devices, Use an empty string to open the first device found. Otherwise use: USB://DEVICESERIALNUMBER Example, USB://99261829170E0810 For Ethernet devices, use the form: IP://IPAddress:PORT Example, IP://10.57.10.180:26 For 802.11 Wireless devices, use in the form: TLS12://TLSDEVICESERIALNUMBER TLS12TRUST://TLSDEVICESERIALNUMBER Example, TLS12://TLS99261829170E0810...
3 - MagneFlex Powder Resources Parameter Description CloseDevice Flag which determines whether the connection to the device will be closed after the request is processed. Default value is “false”. “false” = Do no close the device. “true” = Close device. EndSession Flag which determines whether an EndSession command is sent to the device after the request is processed.
Page 20
3 - MagneFlex Powder Resources Parameter Description DeviceID URI of the device. For USB devices, Use an empty string to open the first device found. Otherwise use: USB://DEVICESERIALNUMBER Example, USB://99261829170E0810 For Ethernet devices, use the form: IP://IPAddress:PORT Example, IP://10.57.10.180:26 For 802.11 Wireless devices, use in the form: TLS12://TLSDEVICESERIALNUMBER TLS12TRUST://TLSDEVICESERIALNUMBER Example, TLS12://TLS99261829170E0810...
3 - MagneFlex Powder Resources Parameter Description CloseDevice Flag which determines whether the connection to the device will be closed after the request is processed. Default value is “false”. “false” = Do no close the device. “true” = Close device. EndSession Flag which determines whether an EndSession command is sent to the device after the request is processed.
Page 22
3 - MagneFlex Powder Resources Parameter Description DeviceID URI of the device. For USB devices, Use an empty string to open the first device found. Otherwise use: USB://DEVICESERIALNUMBER Example, USB://99261829170E0810 For Ethernet devices, use the form: IP://IPAddress:PORT Example, IP://10.57.10.180:26 For 802.11 Wireless devices, use in the form: TLS12://TLSDEVICESERIALNUMBER TLS12TRUST://TLSDEVICESERIALNUMBER Example, TLS12://TLS99261829170E0810...
3 - MagneFlex Powder Resources “SignatureData”:} , “AdditionalOutputData”:{}} RequestSmartCard Begins an EMV transaction. Using Method POST: api/mtppscrahost/RequestSmartCard( string DeviceID, int CardType, int ConfirmationWaitTime, int PINEntryWaitTime, int Tones, int Options, int TransactionType, decimal Amount, decimal CashBack, int Reserved, array AdditionalRequestData, boolean CloseDevice, boolean EndSession);...
3 - MagneFlex Powder Resources Parameter Description EndSession Flag which determines whether an EndSession command is sent to the device after the request is processed. Default value is “false”. When set to false, this flag may facilitate the display of a custom message after a request is processed.
Page 26
3 - MagneFlex Powder Resources Parameter Description DeviceID URI of the device. For USB devices, Use an empty string to open the first device found. Otherwise use: USB://DEVICESERIALNUMBER Example, USB://99261829170E0810 For Ethernet devices, use the form: IP://IPAddress:PORT Example, IP://10.57.10.180:26 For 802.11 Wireless devices, use in the form: TLS12://TLSDEVICESERIALNUMBER TLS12TRUST://TLSDEVICESERIALNUMBER Example, TLS12://TLS99261829170E0810...
3 - MagneFlex Powder Resources CloseDevice Flag which determines whether the connection to the device will be closed after the request is processed. Default value is “false”. “false” = Do no close the device. “true” = Close device. EndSession Flag which determines whether an EndSession command is sent to the device after the request is processed.
Page 28
3 - MagneFlex Powder Resources Parameter Description DeviceID URI of the device. For USB devices, Use an empty string to open the first device found. Otherwise use: USB://DEVICESERIALNUMBER Example, USB://99261829170E0810 For Ethernet devices, use the form: IP://IPAddress:PORT Example, IP://10.57.10.180:26 For 802.11 Wireless devices, use in the form: TLS12://TLSDEVICESERIALNUMBER TLS12TRUST://TLSDEVICESERIALNUMBER Example, TLS12://TLS99261829170E0810...
3 - MagneFlex Powder Resources EndSession Flag which determines whether an EndSession command is sent to the device after the request is processed. Default value is “false”. When set to false, this flag may facilitate the display of a custom message after a request is processed.
MagneFlex Powder Response Output Structures The MagneFlex Powder returns the following outputs. CheckHealth Output Returned after CheckHealth. A string array containing API name and status. Example: "MagTek PPSCRA WEB API", "OK" CardSwipe Output Returned after a card swipe. Example : "CardSwipeOutput":...
4 - MagneFlex Powder Response Output Structures "AdditionalOutputData": null PIN Output Returned after a PIN request. The PINData key contains a comma delimited value: Field Value Name PIN KSN PIN Key serial number Encrypted PIN block opStatus Operation status Example: "PINOutput": {"PINData":"9A006300000001200065,59D0274E9F58DD5F,0"}, "AdditionalOutputData": null Signature Output...
Returned after sending a SendCommand. The Data output contains the respsonse report sent from the device. SET returns the ACK status. GET returns the report data in response to the requested command. Example of a SET to DynaPro: 01 – is an ACK response report.
Page 37
Appendix A – TLV Data Format Appendix A TLV Data Format ARQC Message Format This section gives the format of the ARQC Message delivered in the ARQC Message notification. It is a TLV object with the following contents: F9<len>/* container for MAC structure and generic data */ DFDF54(MAC KSN)<len><val>...
Page 38
Appendix A – TLV Data Format Transaction Result Message – Batch Data Format This section gives the format of the data the device uses to do completion processing FE<len> /* container for generic data */ DFDF25(IFD Serial Number)<len><val> FA<len>/* container for generic data */ F0<len>...
Need help?
Do you have a question about the DynaPro and is the answer not in the manual?
Questions and answers