REST API

Enrolling a Device

Before starting the device enrollment process, install the Tap to Pay Ready app on the Android device. Download the app using this Google Play Store link. To learn more about the Tap to Pay Ready App, see Complying with the PCI MPoC Standard.
If the Tap to Pay Ready app is not installed on your Android device before you start device enrollment, you will be prompted to install the app during the enrollment process.
You can enroll a device by using the
enrollDevice
activity. This activity shows options in a merchant-facing UI for enrolling a new device or a previously enrolled device by choosing or entering the serial number.
val mposUi: MposUi = ... mposUi.tapToPhone.enrollDevice(activity, requestCode) ... override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { if (EnrollResultIntent.isEnrollmentSuccessful(resultCode, data)) { onDeviceEnrolled() } super.onActivityResult(requestCode, resultCode, data) }
The
enroll
activity returns the result
Intent
.