REST API

Enrolling a Previously Enrolled Device

You can enroll a previously enrolled device by using the
reEnrollDevice
activity. This activity enables you to use the SDK to perform the device re-enrollment by providing a serial number that you stored. Using this workflow eliminates the need for the merchant to choose or enter a serial number when re-enrolling a device.
val mposUi: MposUi = ... mposUi.tapToPhone.reEnrollDevice(activity, serialNumber, 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
.