myPOS Smart SDK Integration Guide
The myPOS Smart SDK provides advanced capabilities for integrating with **myPOS Smart terminals—**Android-powered devices designed for modern point-of-sale applications. With this SDK, you can initiate payment requests, control secure hardware modules (SAM1/SAM2), and enhance receipts with custom images like QR codes.
Installation
To start using the myPOS Smart SDK, simply add it to your project’s Gradle configuration.
Step 1: Add the Maven repository
Add this to your root-level build.gradle file:
allprojects {
repositories {
mavenCentral()
}
}
Step 2: Add the SDK dependency to your module
In your app-level build.gradle file:
implementation 'com.mypos:mypossmartsdk:1.0.5'
Additional Features
The myPOS Smart SDK offers more than just payment functionality. If your myPOS Smart device is running myPOS OS version 0.0.7 or later, you also get access to:
Payment Requests Initiate and manage in-person payments via your integrated Smart terminal.
SAM Management Manage the first and second SAM (Secure Access Module) slots for secure card and cryptographic operations.
Print Custom Bitmap Images on Receipts Add graphics like QR codes, barcodes, or logos directly into your printed receipts.
To verify if your device is eligible for these additional features, check the installed myPOS OS version. Go to the myPOS Terminal App → Debug Mode → About submenu.